QgsPluginLayer Class Reference
[QGIS core library]

Base class for plugin layers. More...

#include <qgspluginlayer.h>

Inheritance diagram for QgsPluginLayer:

Inheritance graph
Collaboration diagram for QgsPluginLayer:

Collaboration graph

List of all members.

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

Detailed Description

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"

added in v1.5

Definition at line 16 of file qgspluginlayer.h.

Constructor & Destructor Documentation

QgsPluginLayer::QgsPluginLayer ( QString  layerType,
QString  layerName = QString() 

Definition at line 3 of file qgspluginlayer.cpp.

Member Function Documentation

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::mLayerExtent.

Member Data Documentation

QString QgsPluginLayer::mPluginLayerType [protected]

Definition at line 29 of file qgspluginlayer.h.

Referenced by pluginLayerType().

The documentation for this class was generated from the following files:

Generated on Sat Feb 4 19:17:43 2012 for Quantum GIS API Documentation by  doxygen 1.5.6