Correctly mark method as deprecated

This commit is contained in:
Nyall Dawson 2016-05-29 08:11:43 +10:00
parent e7d039240c
commit 78bcd4b10c
2 changed files with 3 additions and 3 deletions

View File

@ -279,8 +279,8 @@ class QgsMapCanvas : QGraphicsView
QgsMapLayer* currentLayer();
//! set wheel action and zoom factor (should be greater than 1)
//! @deprecated
void setWheelAction( WheelAction action, double factor = 2 );
//! @deprecated No more options for wheel action
void setWheelAction( WheelAction action, double factor = 2 ) /Deprecated/;
//! set the wheel zoom factor
void setWheelFactor( double factor );

View File

@ -344,7 +344,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
//! set wheel action and zoom factor (should be greater than 1)
//! @deprecated No more options for wheel action
void setWheelAction( WheelAction action, double factor = 2 );
Q_DECL_DEPRECATED void setWheelAction( WheelAction action, double factor = 2 );
//! set wheel zoom factor (should be greater than 1)
void setWheelFactor( double factor );