Quantum GIS API Documentation
1.7.4
|
Base class for plugin layers. More...
#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 |
Base class for plugin layers.
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 | ) |
Definition at line 13 of file qgspluginlayer.cpp.
References QgsMapLayer::extent(), and QgsMapLayer::mLayerExtent.
QString QgsPluginLayer::mPluginLayerType [protected] |
Definition at line 29 of file qgspluginlayer.h.
Referenced by pluginLayerType().