Skip to content

Commit e8584b2

Browse files
author
wonder
committed
Update bindings with changes in r12405
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12407 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ae24f59 commit e8584b2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

python/core/qgsmaplayer.sip

+9-3
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,9 @@ public:
211211
*/
212212
const QgsCoordinateReferenceSystem& srs();
213213

214-
/** Sets layer's spatial reference system */
215-
void setCrs(const QgsCoordinateReferenceSystem& srs);
214+
/** Sets layer's spatial reference system
215+
@note emitSignal added in 1.4 */
216+
void setCrs( const QgsCoordinateReferenceSystem& srs, bool emitSignal = true );
216217

217218
/** A convenience function to capitalise the layer name */
218219
static QString capitaliseLayerName(const QString name);
@@ -304,9 +305,14 @@ signals:
304305
/** Emit a signal with status (e.g. to be caught by QgiAapp and display a msg on status bar) */
305306
void setStatus(QString theStatusQString);
306307

307-
/** Emit a signal that layer name has been changed */
308+
/** Emit a signal that the layer name has been changed */
308309
void layerNameChanged();
309310

311+
/** Emit a signal that layer's CRS has been reset
312+
added in 1.4
313+
*/
314+
void layerCrsChanged();
315+
310316
/** This signal should be connected with the slot QgsMapCanvas::refresh()
311317
* @TODO: to be removed - GUI dependency
312318
*/

0 commit comments

Comments
 (0)