QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
This singleton class keeps a list of data item providers that may add items to the browser tree. More...
#include <qgsdataitemproviderregistry.h>
Public Member Functions | |
~QgsDataItemProviderRegistry () | |
void | addProvider (QgsDataItemProvider *provider) |
Add a provider implementation. Takes ownership of the object. More... | |
QList< QgsDataItemProvider * > | providers () const |
Get list of available providers. More... | |
void | removeProvider (QgsDataItemProvider *provider) |
Remove provider implementation from the list (provider object is deleted) More... | |
Static Public Member Functions | |
static QgsDataItemProviderRegistry * | instance () |
This singleton class keeps a list of data item providers that may add items to the browser tree.
When created, it automatically adds providers from provider plugins (e.g. PostGIS, WMS, ...)
Definition at line 29 of file qgsdataitemproviderregistry.h.
QgsDataItemProviderRegistry::~QgsDataItemProviderRegistry | ( | ) |
Definition at line 104 of file qgsdataitemproviderregistry.cpp.
void QgsDataItemProviderRegistry::addProvider | ( | QgsDataItemProvider * | provider | ) |
Add a provider implementation. Takes ownership of the object.
Definition at line 109 of file qgsdataitemproviderregistry.cpp.
|
static |
Definition at line 98 of file qgsdataitemproviderregistry.cpp.
|
inline |
Get list of available providers.
Definition at line 37 of file qgsdataitemproviderregistry.h.
void QgsDataItemProviderRegistry::removeProvider | ( | QgsDataItemProvider * | provider | ) |
Remove provider implementation from the list (provider object is deleted)
Definition at line 114 of file qgsdataitemproviderregistry.cpp.