16 #ifndef QGSLAYERTREELAYER_H
17 #define QGSLAYERTREELAYER_H
50 QString
layerId()
const {
return mLayerId; }
54 QString layerName()
const;
55 void setLayerName(
const QString& n );
57 Qt::CheckState
isVisible()
const {
return mVisible; }
58 void setVisible( Qt::CheckState visible );
61 virtual void writeXML( QDomElement& parentElement );
63 virtual QString
dump()
const;
68 void registryLayersAdded( QList<QgsMapLayer*> layers );
69 void registryLayersWillBeRemoved(
const QStringList& layerIds );
76 void layerWillBeUnloaded();
89 #endif // QGSLAYERTREELAYER_H