Skip to content

Commit

Permalink
followup f33c490: add Q_DECL_DEPRECATED and sip annotation to hasCrsT…
Browse files Browse the repository at this point in the history
…ransformEnabled signal
  • Loading branch information
jef-n committed Jan 17, 2014
1 parent d8b55a2 commit 7ca60b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/core/qgsmaprenderer.sip
Expand Up @@ -268,7 +268,7 @@ class QgsMapRenderer : QObject

void drawingProgress( int current, int total );

void hasCrsTransformEnabled( bool flag );
void hasCrsTransformEnabled( bool flag ) /Deprecated/;
void hasCrsTransformEnabledChanged( bool flag );

void destinationSrsChanged();
Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsmaprenderer.h
Expand Up @@ -308,6 +308,9 @@ class CORE_EXPORT QgsMapRenderer : public QObject
* @param flag true if transformation is enabled.
* @deprecated Use hasCrsTransformEnabledChanged( bool flag )
* to avoid conflict with method of the same name). */
#ifndef Q_MOC_RUN
Q_DECL_DEPRECATED
#endif
void hasCrsTransformEnabled( bool flag );

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

0 comments on commit 7ca60b3

Please sign in to comment.