QGIS API Documentation
2.10.1-Pisa
|
a registry of plugin layers types More...
#include <qgspluginlayerregistry.h>
Public Member Functions | |
~QgsPluginLayerRegistry () | |
bool | addPluginLayerType (QgsPluginLayerType *pluginLayerType) |
add plugin layer type (take ownership) and return true on success More... | |
QgsPluginLayer * | createLayer (QString typeName, const QString &uri=QString()) |
return new layer if corresponding plugin has been found, else return NULL. More... | |
QgsPluginLayerType * | pluginLayerType (QString typeName) |
return plugin layer type metadata or NULL if doesn't exist More... | |
QStringList | pluginLayerTypes () |
list all known layer types More... | |
bool | removePluginLayerType (QString typeName) |
remove plugin layer type and return true on success More... | |
Static Public Member Functions | |
static QgsPluginLayerRegistry * | instance () |
means of accessing canonical single instance More... | |
a registry of plugin layers types
Definition at line 59 of file qgspluginlayerregistry.h.
QgsPluginLayerRegistry::~QgsPluginLayerRegistry | ( | ) |
Definition at line 73 of file qgspluginlayerregistry.cpp.
bool QgsPluginLayerRegistry::addPluginLayerType | ( | QgsPluginLayerType * | pluginLayerType | ) |
add plugin layer type (take ownership) and return true on success
Definition at line 88 of file qgspluginlayerregistry.cpp.
QgsPluginLayer * QgsPluginLayerRegistry::createLayer | ( | QString | typeName, |
const QString & | uri = QString() |
||
) |
return new layer if corresponding plugin has been found, else return NULL.
Definition at line 130 of file qgspluginlayerregistry.cpp.
|
static |
means of accessing canonical single instance
Definition at line 59 of file qgspluginlayerregistry.cpp.
QgsPluginLayerType * QgsPluginLayerRegistry::pluginLayerType | ( | QString | typeName | ) |
return plugin layer type metadata or NULL if doesn't exist
Definition at line 124 of file qgspluginlayerregistry.cpp.
QStringList QgsPluginLayerRegistry::pluginLayerTypes | ( | ) |
list all known layer types
Definition at line 83 of file qgspluginlayerregistry.cpp.
bool QgsPluginLayerRegistry::removePluginLayerType | ( | QString | typeName | ) |
remove plugin layer type and return true on success
Definition at line 100 of file qgspluginlayerregistry.cpp.