Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Correctly mark method as deprecated
- Loading branch information
Showing
with
3 additions
and
3 deletions.
-
+2
−2
python/gui/qgsmapcanvas.sip
-
+1
−1
src/gui/qgsmapcanvas.h
|
@@ -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 ); |
|
|