[QGIS Commit] r12407 - trunk/qgis/python/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Dec 11 10:44:49 EST 2009


Author: wonder
Date: 2009-12-11 10:44:48 -0500 (Fri, 11 Dec 2009)
New Revision: 12407

Modified:
   trunk/qgis/python/core/qgsmaplayer.sip
Log:
Update bindings with changes in r12405


Modified: trunk/qgis/python/core/qgsmaplayer.sip
===================================================================
--- trunk/qgis/python/core/qgsmaplayer.sip	2009-12-11 15:04:35 UTC (rev 12406)
+++ trunk/qgis/python/core/qgsmaplayer.sip	2009-12-11 15:44:48 UTC (rev 12407)
@@ -211,8 +211,9 @@
     */
     const QgsCoordinateReferenceSystem& srs();
     
-    /** Sets layer's spatial reference system */
-    void setCrs(const QgsCoordinateReferenceSystem& srs);
+    /** Sets layer's spatial reference system
+    @note emitSignal added in 1.4 */
+    void setCrs( const QgsCoordinateReferenceSystem& srs, bool emitSignal = true );
 
     /** A convenience function to capitalise the layer name */
     static QString capitaliseLayerName(const QString name);
@@ -304,9 +305,14 @@
     /** Emit a signal with status (e.g. to be caught by QgiAapp and display a msg on status bar) */
     void setStatus(QString theStatusQString);
 
-    /** Emit a signal that layer name has been changed */
+    /** Emit a signal that the layer name has been changed */
     void layerNameChanged();
 
+    /** Emit a signal that layer's CRS has been reset
+     added in 1.4
+     */
+    void layerCrsChanged();
+
     /** This signal should be connected with the slot QgsMapCanvas::refresh()
      * @TODO: to be removed - GUI dependency
      */



More information about the QGIS-commit mailing list