16 #ifndef QGSLAYERTREELAYER_H 17 #define QGSLAYERTREELAYER_H 79 void setName(
const QString& n )
override;
90 void setLayerName(
const QString& n );
92 Qt::CheckState
isVisible()
const {
return mVisible; }
93 void setVisible( Qt::CheckState visible );
102 virtual void writeXML(
QDomElement& parentElement )
override;
104 virtual QString dump()
const override;
110 void registryLayersWillBeRemoved(
const QStringList& layerIds );
113 void layerNameChanged();
120 void layerWillBeUnloaded();
123 void attachToLayer();
142 #endif // QGSLAYERTREELAYER_H Base class for all map layer types.
LayerMatchParams mLooseMatchParams
Only used when loosely matching to layers - eg when creating a composer legend from template If set t...
Qt::CheckState isVisible() const
This class is a base class for nodes in a layer tree.
QgsMapLayer * layer() const
QString source
Layer public source.
Parameters for loose layer matching.
QString providerKey
Provider.
Layer tree node points to a map layer.