#include <qgspluginlayer.h>
Public Member Functions | |
QgsPluginLayer (QString layerType, QString layerName=QString()) | |
QString | pluginLayerType () |
return plugin layer type (the same as used in QgsPluginLayerRegistry) | |
void | setExtent (const QgsRectangle &extent) |
Protected Attributes | |
QString | mPluginLayerType |
These can be implemented by plugins and registered in QgsPluginLayerRegistry.
In order to be readable from project files, they should set these attributes in layer DOM node: "type" = "plugin" "name" = "your_layer_type"
Definition at line 16 of file qgspluginlayer.h.
QgsPluginLayer::QgsPluginLayer | ( | QString | layerType, | |
QString | layerName = QString() | |||
) |
Definition at line 3 of file qgspluginlayer.cpp.
QString QgsPluginLayer::pluginLayerType | ( | ) |
return plugin layer type (the same as used in QgsPluginLayerRegistry)
Definition at line 8 of file qgspluginlayer.cpp.
References mPluginLayerType.
Referenced by QgsPluginLayerRegistry::removePluginLayerType().
void QgsPluginLayer::setExtent | ( | const QgsRectangle & | extent | ) |
QString QgsPluginLayer::mPluginLayerType [protected] |