#include <qgspluginlayerregistry.h>
Public Member Functions | |
QgsPluginLayerType (QString name) | |
virtual | ~QgsPluginLayerType () |
QString | name () |
virtual QgsPluginLayer * | createLayer () |
return new layer of this type. | |
virtual bool | showLayerProperties (QgsPluginLayer *layer) |
show plugin layer properties dialog. | |
Protected Attributes | |
QString | mName |
Definition at line 33 of file qgspluginlayerregistry.h.
QgsPluginLayerType::QgsPluginLayerType | ( | QString | name | ) |
Definition at line 25 of file qgspluginlayerregistry.cpp.
QgsPluginLayerType::~QgsPluginLayerType | ( | ) | [virtual] |
Definition at line 30 of file qgspluginlayerregistry.cpp.
QString QgsPluginLayerType::name | ( | ) |
Definition at line 34 of file qgspluginlayerregistry.cpp.
References mName.
Referenced by QgsPluginLayerRegistry::addPluginLayerType().
QgsPluginLayer * QgsPluginLayerType::createLayer | ( | ) | [virtual] |
return new layer of this type.
Return NULL on error
Definition at line 39 of file qgspluginlayerregistry.cpp.
Referenced by QgsPluginLayerRegistry::createLayer().
bool QgsPluginLayerType::showLayerProperties | ( | QgsPluginLayer * | layer | ) | [virtual] |
show plugin layer properties dialog.
Return false if the dialog cannot be shown.
Definition at line 44 of file qgspluginlayerregistry.cpp.
QString QgsPluginLayerType::mName [protected] |