16 #ifndef QGSLAYERTREEREGISTRYBRIDGE_H 17 #define QGSLAYERTREEREGISTRYBRIDGE_H 20 #include <QStringList> 22 #include "qgis_core.h" 69 void addedLayersToLayerTree(
const QList<QgsMapLayer *> &layers );
72 void layersAdded(
const QList<QgsMapLayer *> &layers );
73 void layersWillBeRemoved(
const QStringList &layerIds );
75 void groupWillRemoveChildren(
QgsLayerTreeNode *node,
int indexFrom,
int indexTo );
76 void groupRemovedChildren();
78 void removeLayersFromRegistry(
const QStringList &layerIds );
92 #endif // QGSLAYERTREEREGISTRYBRIDGE_H Layer tree group node serves as a container for layers and further groups.
Base class for all map layer types.
bool mRegistryRemovingLayers
QStringList mLayerIdsForRemoval
Listens to the updates in map layer registry and does changes in layer tree.
This class is a base class for nodes in a layer tree.
Reads and writes project states.
bool newLayersVisible() const
void setNewLayersVisible(bool enabled)
void setEnabled(bool enabled)