diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 2ec90433d6..ec52791010 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -758,7 +758,7 @@ QHoverEvent::~QHoverEvent() */ #if QT_CONFIG(wheelevent) -#if QT_DEPRECATED_SINCE(5, 14) +#if QT_DEPRECATED_SINCE(5, 15) /*! \obsolete This constructor has been deprecated. @@ -839,7 +839,7 @@ QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF& globalPos, angleD(angleDelta), qt4D(qt4Delta), qt4O(qt4Orientation), mouseState(buttons), src(source), invertedScrolling(inverted), ph(phase) {} -#endif // QT_DEPRECATED_SINCE(5, 14) +#endif // QT_DEPRECATED_SINCE(5, 15) /*! Constructs a wheel event object. diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index d110529927..7653cc97e2 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -175,7 +175,7 @@ class Q_GUI_EXPORT QWheelEvent : public QInputEvent public: enum { DefaultDeltasPerStep = 120 }; -#if QT_DEPRECATED_SINCE(5, 14) +#if QT_DEPRECATED_SINCE(5, 15) // Actually deprecated since 5.0, in docs QT_DEPRECATED_X("Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted") QWheelEvent(const QPointF &pos, int delta, @@ -213,7 +213,7 @@ public: inline QPoint pixelDelta() const { return pixelD; } inline QPoint angleDelta() const { return angleD; } -#if QT_DEPRECATED_SINCE(5, 14) +#if QT_DEPRECATED_SINCE(5, 15) // Actually deprecated since 5.0, in docs QT_DEPRECATED_X("Use angleDelta()") inline int delta() const { return qt4D; } @@ -238,7 +238,7 @@ public: inline const QPointF &posF() const { return p; } QT_DEPRECATED_X("Use globalPosition()") inline const QPointF &globalPosF() const { return g; } -#endif // QT_DEPRECATED_SINCE(5, 14) +#endif // QT_DEPRECATED_SINCE(5, 15) inline QPointF position() const { return p; } inline QPointF globalPosition() const { return g; }