Skip to content

Commit

Permalink
Move deprecated tag from addMapLayers to addMapLayer where it was ori…
Browse files Browse the repository at this point in the history
…ginally intended to go. Small updates to comments.
  • Loading branch information
timlinux committed Apr 19, 2012
1 parent f7c6b62 commit 669ffcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/core/qgsmaplayerregistry.sip
Expand Up @@ -40,7 +40,7 @@ public:
on a different canvas and don't want them added to the main canvas automatically.
*/
QList<QgsMapLayer *> addMapLayers( QList<QgsMapLayer *> theMapLayers,
bool theEmitSignal = true ) /Deprecated/;
bool theEmitSignal = true );


/** Add a layer to the map of loaded layers
Expand All @@ -53,7 +53,7 @@ public:
Not emitting signal is useful when you want to use registry also for layers
which won't be used in main map canvas but will be used in a special one
*/
QgsMapLayer * addMapLayer(QgsMapLayer * theMapLayer /Transfer/, bool theEmitSignal = TRUE);
QgsMapLayer * addMapLayer(QgsMapLayer * theMapLayer /Transfer/, bool theEmitSignal = TRUE) /Deprecated/;

/** Remove a set of layers from qgis
@note As a side-effect QgsProject is made dirty.
Expand Down Expand Up @@ -116,7 +116,7 @@ signals:

/** emitted when a layer is added to the registry
connected to main map canvas and overview map canvas addLayer()
@note rather use layersWereAdded
@note rather use layerAdded
*/
void layerWasAdded(QgsMapLayer * theMapLayer);

Expand Down

0 comments on commit 669ffcb

Please sign in to comment.