File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -211,8 +211,9 @@ public:
211
211
*/
212
212
const QgsCoordinateReferenceSystem& srs();
213
213
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 );
216
217
217
218
/** A convenience function to capitalise the layer name */
218
219
static QString capitaliseLayerName(const QString name);
@@ -304,9 +305,14 @@ signals:
304
305
/** Emit a signal with status (e.g. to be caught by QgiAapp and display a msg on status bar) */
305
306
void setStatus(QString theStatusQString);
306
307
307
- /** Emit a signal that layer name has been changed */
308
+ /** Emit a signal that the layer name has been changed */
308
309
void layerNameChanged();
309
310
311
+ /** Emit a signal that layer's CRS has been reset
312
+ added in 1.4
313
+ */
314
+ void layerCrsChanged();
315
+
310
316
/** This signal should be connected with the slot QgsMapCanvas::refresh()
311
317
* @TODO: to be removed - GUI dependency
312
318
*/
You can’t perform that action at this time.
0 commit comments