Quantum GIS API Documentation  1.7.4
Public Member Functions | Protected Attributes
QgsPluginLayerType Class Reference

class for creating plugin specific layers More...

#include <qgspluginlayerregistry.h>

List of all members.

Public Member Functions

 QgsPluginLayerType (QString name)
virtual ~QgsPluginLayerType ()
QString name ()
virtual QgsPluginLayercreateLayer ()
 return new layer of this type.
virtual bool showLayerProperties (QgsPluginLayer *layer)
 show plugin layer properties dialog.

Protected Attributes

QString mName

Detailed Description

class for creating plugin specific layers

added in v1.5

Definition at line 33 of file qgspluginlayerregistry.h.

Constructor & Destructor Documentation

Definition at line 25 of file qgspluginlayerregistry.cpp.

Definition at line 30 of file qgspluginlayerregistry.cpp.

Member Function Documentation

return new layer of this type.

Return NULL on error

Definition at line 39 of file qgspluginlayerregistry.cpp.

Referenced by QgsPluginLayerRegistry::createLayer().

Definition at line 34 of file qgspluginlayerregistry.cpp.

References mName.

Referenced by QgsPluginLayerRegistry::addPluginLayerType().

show plugin layer properties dialog.

Return false if the dialog cannot be shown.

Definition at line 44 of file qgspluginlayerregistry.cpp.

Member Data Documentation

QString QgsPluginLayerType::mName [protected]

Definition at line 49 of file qgspluginlayerregistry.h.

Referenced by name().

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines