Skip to content

Commit 7ca60b3

Browse files
committedJan 17, 2014
followup f33c490: add Q_DECL_DEPRECATED and sip annotation to hasCrsTransformEnabled signal
1 parent d8b55a2 commit 7ca60b3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎python/core/qgsmaprenderer.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class QgsMapRenderer : QObject
268268

269269
void drawingProgress( int current, int total );
270270

271-
void hasCrsTransformEnabled( bool flag );
271+
void hasCrsTransformEnabled( bool flag ) /Deprecated/;
272272
void hasCrsTransformEnabledChanged( bool flag );
273273

274274
void destinationSrsChanged();

‎src/core/qgsmaprenderer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ class CORE_EXPORT QgsMapRenderer : public QObject
308308
* @param flag true if transformation is enabled.
309309
* @deprecated Use hasCrsTransformEnabledChanged( bool flag )
310310
* to avoid conflict with method of the same name). */
311+
#ifndef Q_MOC_RUN
312+
Q_DECL_DEPRECATED
313+
#endif
311314
void hasCrsTransformEnabled( bool flag );
312315

313316
/** This signal is emitted when CRS transformation is enabled/disabled.

0 commit comments

Comments
 (0)
Please sign in to comment.