summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qevent.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index d94257f7c0..4c019938b8 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -158,10 +158,8 @@ public:
inline QPoint pixelDelta() const { return pixelD; }
inline QPoint angleDelta() const { return angleD; }
-#if QT_DEPRECATED_SINCE(5, 0)
- inline QT_DEPRECATED int delta() const { return qt4D; }
- inline QT_DEPRECATED Qt::Orientation orientation() const { return qt4O; }
-#endif
+ inline int delta() const { return qt4D; }
+ inline Qt::Orientation orientation() const { return qt4O; }
#ifndef QT_NO_INTEGER_EVENT_COORDINATES
inline QPoint pos() const { return p.toPoint(); }