19 #ifndef QGSMAPLAYERREGISTRY_H
20 #define QGSMAPLAYERREGISTRY_H
25 #include <QStringList>
78 bool addToLegend =
true,
79 bool takeOwnership =
true );
106 QgsMapLayer* addMapLayer(
QgsMapLayer * theMapLayer,
bool addToLegend =
true,
bool takeOwnership =
true );
136 void removeMapLayer(
const QString& theLayerId );
144 void removeAllMapLayers();
152 Q_DECL_DEPRECATED
void clearAllLayerCaches();
158 void reloadAllLayers();
166 void layersWillBeRemoved(
QStringList theLayerIds );
175 void layerWillBeRemoved(
QString theLayerId );
191 void layerRemoved(
QString theLayerId );
248 #endif //QgsMapLayerRegistry_H
Base class for all map layer types.
This class tracks map layers that are currently loaded and provides a means to fetch a pointer to a m...
virtual void connectNotify(const char *signal)