QGIS API Documentation
3.2.0-Bonn (bc43194)
|
This class keeps a list of data item providers that may add items to the browser tree. More...
#include <qgsdataitemproviderregistry.h>
Public Member Functions | |
QgsDataItemProviderRegistry () | |
QgsDataItemProviderRegistry (const QgsDataItemProviderRegistry &rh)=delete | |
QgsDataItemProviderRegistry cannot be copied. More... | |
~QgsDataItemProviderRegistry () | |
void | addProvider (QgsDataItemProvider *provider) |
Add a provider implementation. Takes ownership of the object. More... | |
QgsDataItemProviderRegistry & | operator= (const QgsDataItemProviderRegistry &rh)=delete |
QgsDataItemProviderRegistry cannot be copied. More... | |
QList< QgsDataItemProvider * > | providers () const |
Gets list of available providers. More... | |
void | removeProvider (QgsDataItemProvider *provider) |
Remove provider implementation from the list (provider object is deleted) More... | |
This 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, ...)
QgsDataItemProviderRegistry is not usually directly created, but rather accessed through QgsApplication::dataItemProviderRegistry().
Definition at line 36 of file qgsdataitemproviderregistry.h.
QgsDataItemProviderRegistry::QgsDataItemProviderRegistry | ( | ) |
Definition at line 77 of file qgsdataitemproviderregistry.cpp.
QgsDataItemProviderRegistry::~QgsDataItemProviderRegistry | ( | ) |
Definition at line 120 of file qgsdataitemproviderregistry.cpp.
|
delete |
QgsDataItemProviderRegistry cannot be copied.
void QgsDataItemProviderRegistry::addProvider | ( | QgsDataItemProvider * | provider | ) |
Add a provider implementation. Takes ownership of the object.
Definition at line 125 of file qgsdataitemproviderregistry.cpp.
|
delete |
QgsDataItemProviderRegistry cannot be copied.
|
inline |
Gets list of available providers.
Definition at line 50 of file qgsdataitemproviderregistry.h.
void QgsDataItemProviderRegistry::removeProvider | ( | QgsDataItemProvider * | provider | ) |
Remove provider implementation from the list (provider object is deleted)
Definition at line 130 of file qgsdataitemproviderregistry.cpp.