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 );
121 void removeMapLayers(
const QStringList& theLayerIds );
151 void removeMapLayer(
const QString& theLayerId );
174 void removeAllMapLayers();
182 Q_DECL_DEPRECATED
void clearAllLayerCaches() {}
188 void reloadAllLayers();
196 void layersWillBeRemoved(
const QStringList& theLayerIds );
212 void layerWillBeRemoved(
const QString& theLayerId );
228 void layersRemoved(
const QStringList& theLayerIds );
237 void layerRemoved(
const QString& theLayerId );
294 #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)