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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Mar 27 13:45:43 EDT 2011


Author: wonder
Date: 2011-03-27 10:45:43 -0700 (Sun, 27 Mar 2011)
New Revision: 15619

Modified:
   trunk/qgis/python/core/qgsmaprenderer.sip
Log:
PyQGIS: added new destination CRS methods, deprecated old ones.


Modified: trunk/qgis/python/core/qgsmaprenderer.sip
===================================================================
--- trunk/qgis/python/core/qgsmaprenderer.sip	2011-03-27 16:02:14 UTC (rev 15618)
+++ trunk/qgis/python/core/qgsmaprenderer.sip	2011-03-27 17:45:43 UTC (rev 15619)
@@ -139,12 +139,24 @@
     //! returns true if projections are enabled for this layer set
     bool hasCrsTransformEnabled();
     
-    //! sets destination spatial reference system
-    void setDestinationSrs(const QgsCoordinateReferenceSystem& srs);
-    
-    //! returns CRS ID of destination spatial reference system
-    const QgsCoordinateReferenceSystem& destinationSrs();
+    /** sets destination coordinate reference system
+     * @note deprecated by qgis 1.7
+     * @see setDestinationCrs
+     */
+    void setDestinationSrs( const QgsCoordinateReferenceSystem& srs ) /Deprecated/;
 
+    /** returns CRS of destination coordinate reference system
+     * @note deprecated by qgis 1.7
+     * @see destinationCrs
+     */
+    const QgsCoordinateReferenceSystem& destinationSrs() /Deprecated/;
+
+    //! sets destination coordinate reference system
+    void setDestinationCrs( const QgsCoordinateReferenceSystem& crs );
+
+    //! returns CRS of destination coordinate reference system
+    const QgsCoordinateReferenceSystem& destinationCrs();
+
     void setOutputUnits( OutputUnits u );
 
     OutputUnits outputUnits() const;



More information about the QGIS-commit mailing list