QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
QgsPluginLayerType Class Reference

class for creating plugin specific layers More...

#include <qgspluginlayerregistry.h>

Public Member Functions

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

Protected Attributes

QString mName
 

Detailed Description

class for creating plugin specific layers

Constructor & Destructor Documentation

QgsPluginLayerType::QgsPluginLayerType ( QString  name)
QgsPluginLayerType::~QgsPluginLayerType ( )
virtual

Member Function Documentation

QgsPluginLayer * QgsPluginLayerType::createLayer ( )
virtual

return new layer of this type.

Return NULL on error

QString QgsPluginLayerType::name ( )
bool QgsPluginLayerType::showLayerProperties ( QgsPluginLayer layer)
virtual

show plugin layer properties dialog.

Return false if the dialog cannot be shown.

Member Data Documentation

QString QgsPluginLayerType::mName
protected

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