mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Correctly mark method as deprecated
This commit is contained in:
parent
e7d039240c
commit
78bcd4b10c
@ -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 );
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user