QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Simple data item provider implementation that handles the support for provider plugins (which may contain dataCapabilities() and dataItem() functions). More...
Public Member Functions | |
QgsDataItemProviderFromPlugin (const QString &name, dataCapabilities_t *capabilitiesFunc, dataItem_t *dataItemFunc) | |
virtual int | capabilities () override |
Return combination of flags from QgsDataProvider::DataCapabilities. More... | |
virtual QgsDataItem * | createDataItem (const QString &path, QgsDataItem *parentItem) override |
Create a new instance of QgsDataItem (or null) for given path and parent item. More... | |
virtual QString | name () override |
Human-readable name of the provider name. More... | |
Public Member Functions inherited from QgsDataItemProvider | |
virtual | ~QgsDataItemProvider () |
Protected Attributes | |
dataCapabilities_t * | mCapabilitiesFunc |
dataItem_t * | mDataItemFunc |
QString | mName |
Simple data item provider implementation that handles the support for provider plugins (which may contain dataCapabilities() and dataItem() functions).
Ideally the provider plugins should directly provide implementation of QgsDataItemProvider, for the time being this is a wrapper for the legacy interface.
Definition at line 36 of file qgsdataitemproviderregistry.cpp.
|
inline |
Definition at line 39 of file qgsdataitemproviderregistry.cpp.
|
inlineoverridevirtual |
Return combination of flags from QgsDataProvider::DataCapabilities.
Implements QgsDataItemProvider.
Definition at line 48 of file qgsdataitemproviderregistry.cpp.
|
inlineoverridevirtual |
Create a new instance of QgsDataItem (or null) for given path and parent item.
Caller takes responsibility of deleting created items.
Implements QgsDataItemProvider.
Definition at line 50 of file qgsdataitemproviderregistry.cpp.
|
inlineoverridevirtual |
Human-readable name of the provider name.
Implements QgsDataItemProvider.
Definition at line 46 of file qgsdataitemproviderregistry.cpp.
|
protected |
Definition at line 54 of file qgsdataitemproviderregistry.cpp.
|
protected |
Definition at line 55 of file qgsdataitemproviderregistry.cpp.
|
protected |
Definition at line 53 of file qgsdataitemproviderregistry.cpp.