aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickwheelhandler_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/handlers/qquickwheelhandler_p.h')
-rw-r--r--src/quick/handlers/qquickwheelhandler_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/handlers/qquickwheelhandler_p.h b/src/quick/handlers/qquickwheelhandler_p.h
index 021cd23679..b1688a3c2a 100644
--- a/src/quick/handlers/qquickwheelhandler_p.h
+++ b/src/quick/handlers/qquickwheelhandler_p.h
@@ -103,7 +103,7 @@ public:
void setTargetTransformAroundCursor(bool ttac);
Q_SIGNALS:
- void wheel(QQuickPointerScrollEvent *event);
+ void wheel(QWheelEvent event);
void orientationChanged();
void invertibleChanged();
@@ -115,8 +115,8 @@ Q_SIGNALS:
void targetTransformAroundCursorChanged();
protected:
- bool wantsPointerEvent(QQuickPointerEvent *event) override;
- void handleEventPoint(QQuickEventPoint *point) override;
+ bool wantsPointerEvent(QPointerEvent *event) override;
+ void handleEventPoint(QPointerEvent *event, QEventPoint &point) override;
void onTargetChanged(QQuickItem *oldTarget) override;
void onActiveChanged() override;
void timerEvent(QTimerEvent *event) override;