Skip to content

Commit

Permalink
Update bindings with changes in r12405
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12407 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 11, 2009
1 parent ae24f59 commit e8584b2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions python/core/qgsmaplayer.sip
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -211,8 +211,9 @@ public:
*/ */
const QgsCoordinateReferenceSystem& srs(); const QgsCoordinateReferenceSystem& srs();


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


/** A convenience function to capitalise the layer name */ /** A convenience function to capitalise the layer name */
static QString capitaliseLayerName(const QString name); static QString capitaliseLayerName(const QString name);
Expand Down Expand Up @@ -304,9 +305,14 @@ signals:
/** Emit a signal with status (e.g. to be caught by QgiAapp and display a msg on status bar) */ /** Emit a signal with status (e.g. to be caught by QgiAapp and display a msg on status bar) */
void setStatus(QString theStatusQString); 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(); 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() /** This signal should be connected with the slot QgsMapCanvas::refresh()
* @TODO: to be removed - GUI dependency * @TODO: to be removed - GUI dependency
*/ */
Expand Down

0 comments on commit e8584b2

Please sign in to comment.