|
QGIS API Documentation
2.6.0-Brighton
|
a registry of plugin layers types More...
#include <qgspluginlayerregistry.h>
Public Member Functions | |
| ~QgsPluginLayerRegistry () | |
| QStringList | pluginLayerTypes () |
| list all known layer types | |
| bool | addPluginLayerType (QgsPluginLayerType *pluginLayerType) |
| add plugin layer type (take ownership) and return true on success | |
| bool | removePluginLayerType (QString typeName) |
| remove plugin layer type and return true on success | |
| QgsPluginLayerType * | pluginLayerType (QString typeName) |
| return plugin layer type metadata or NULL if doesn't exist | |
| QgsPluginLayer * | createLayer (QString typeName) |
| return new layer if corresponding plugin has been found, else return NULL | |
Static Public Member Functions | |
| static QgsPluginLayerRegistry * | instance () |
| means of accessing canonical single instance | |
a registry of plugin layers types
| QgsPluginLayerRegistry::~QgsPluginLayerRegistry | ( | ) |
| bool QgsPluginLayerRegistry::addPluginLayerType | ( | QgsPluginLayerType * | pluginLayerType | ) |
add plugin layer type (take ownership) and return true on success
| QgsPluginLayer * QgsPluginLayerRegistry::createLayer | ( | QString | typeName | ) |
return new layer if corresponding plugin has been found, else return NULL
|
static |
means of accessing canonical single instance
| QgsPluginLayerType * QgsPluginLayerRegistry::pluginLayerType | ( | QString | typeName | ) |
return plugin layer type metadata or NULL if doesn't exist
| QStringList QgsPluginLayerRegistry::pluginLayerTypes | ( | ) |
list all known layer types
| bool QgsPluginLayerRegistry::removePluginLayerType | ( | QString | typeName | ) |
remove plugin layer type and return true on success
1.8.1.2