|
QGIS API Documentation
2.8.2-Wien
|
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 | |
| QgsPluginLayer * | createLayer (QString typeName) |
| return new layer if corresponding plugin has been found, else return NULL | |
| QgsPluginLayerType * | pluginLayerType (QString typeName) |
| return plugin layer type metadata or NULL if doesn't exist | |
| QStringList | pluginLayerTypes () |
| list all known layer types | |
| bool | removePluginLayerType (QString typeName) |
| remove plugin layer type and return true on success | |
Static Public Member Functions | |
| static QgsPluginLayerRegistry * | instance () |
| means of accessing canonical single instance | |
a registry of plugin layers types
Definition at line 54 of file qgspluginlayerregistry.h.
| QgsPluginLayerRegistry::~QgsPluginLayerRegistry | ( | ) |
Definition at line 67 of file qgspluginlayerregistry.cpp.
| bool QgsPluginLayerRegistry::addPluginLayerType | ( | QgsPluginLayerType * | pluginLayerType | ) |
add plugin layer type (take ownership) and return true on success
Definition at line 82 of file qgspluginlayerregistry.cpp.
| QgsPluginLayer * QgsPluginLayerRegistry::createLayer | ( | QString | typeName | ) |
return new layer if corresponding plugin has been found, else return NULL
Definition at line 124 of file qgspluginlayerregistry.cpp.
|
static |
means of accessing canonical single instance
Definition at line 53 of file qgspluginlayerregistry.cpp.
| QgsPluginLayerType * QgsPluginLayerRegistry::pluginLayerType | ( | QString | typeName | ) |
return plugin layer type metadata or NULL if doesn't exist
Definition at line 118 of file qgspluginlayerregistry.cpp.
| QStringList QgsPluginLayerRegistry::pluginLayerTypes | ( | ) |
list all known layer types
Definition at line 77 of file qgspluginlayerregistry.cpp.
| bool QgsPluginLayerRegistry::removePluginLayerType | ( | QString | typeName | ) |
remove plugin layer type and return true on success
Definition at line 94 of file qgspluginlayerregistry.cpp.
1.8.1.2