aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpointerhandler_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/handlers/qquickpointerhandler_p_p.h')
-rw-r--r--src/quick/handlers/qquickpointerhandler_p_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/handlers/qquickpointerhandler_p_p.h b/src/quick/handlers/qquickpointerhandler_p_p.h
index 03b36c6dae..99120523d8 100644
--- a/src/quick/handlers/qquickpointerhandler_p_p.h
+++ b/src/quick/handlers/qquickpointerhandler_p_p.h
@@ -69,14 +69,14 @@ public:
QQuickPointerHandlerPrivate();
template<typename TEventPoint>
- bool dragOverThreshold(qreal d, Qt::Axis axis, const TEventPoint *p) const;
+ bool dragOverThreshold(qreal d, Qt::Axis axis, const TEventPoint &p) const;
bool dragOverThreshold(QVector2D delta) const;
- bool dragOverThreshold(const QQuickEventPoint *point) const;
+ bool dragOverThreshold(const QEventPoint &point) const;
static QVector<QObject *> &deviceDeliveryTargets(const QInputDevice *device);
- QQuickPointerEvent *currentEvent = nullptr;
+ QPointerEvent *currentEvent = nullptr;
QQuickItem *target = nullptr;
qreal m_margin = 0;
qint16 dragThreshold = -1; // -1 means use the platform default