[Qgis-developer] Suppress emitting of signal: Bad practice?

Matthias Kuhn matthias.kuhn at gmx.ch
Sat Apr 20 04:53:09 PDT 2013


Just committed these changes.

If somebody uses the Georeferencer plugin, I'd be glad if he could 
check if this still works.
API changes listed below (commit message).

Matthias

$ git show
commit 193b6154d213254672061267bac8e6e8ad5ea1f3
Author: Matthias Kuhn <matthias.kuhn at gmx.ch>
Date:   Sat Apr 20 10:21:14 2013 +0200

    QgsMapLayerRegistry add/remove signals reworked
    * "theEmitSignal" parameter renamed to addToLegend
    * layer(s)WillBeRemoved has no more "theEmitSingal" parameter
    * layer(s)WillBeRemoved and layer(s)(Was)Added emitted in every case
    * legendLayersAdded( QList<QgsMapLayer*> theMapLayers ) signal added
    * removedAll renamed to removeAll (is emitted BEFORE layers are 
removed)



More information about the Qgis-developer mailing list