From 7c54910a660dfe8e8b9fa20a82a93fcda2eb198f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Arve=20S=C3=A6ther?= Date: Wed, 30 Aug 2017 15:18:04 +0200 Subject: Rename single and multi pointer handler classnames Renames: QQuickPointerSingleHandler -> QQuickSinglePointHandler QQuickMultiPointerHandler -> QQuickMultiPointHandler Change-Id: I10c54944f85ca7cac374ebc6241d61793e2d38bf Reviewed-by: Shawn Rutledge --- src/quick/handlers/qquicktaphandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/quick/handlers/qquicktaphandler.cpp') diff --git a/src/quick/handlers/qquicktaphandler.cpp b/src/quick/handlers/qquicktaphandler.cpp index 8b6519b4ba..b8d9754cde 100644 --- a/src/quick/handlers/qquicktaphandler.cpp +++ b/src/quick/handlers/qquicktaphandler.cpp @@ -78,7 +78,7 @@ int QQuickTapHandler::m_touchMultiTapDistanceSquared(-1); */ QQuickTapHandler::QQuickTapHandler(QObject *parent) - : QQuickPointerSingleHandler(parent) + : QQuickSinglePointHandler(parent) , m_pressed(false) , m_gesturePolicy(ReleaseWithinBounds) , m_tapCount(0) @@ -305,7 +305,7 @@ void QQuickTapHandler::setPressed(bool press, bool cancel, QQuickEventPoint *poi void QQuickTapHandler::onGrabChanged(QQuickPointerHandler *grabber, QQuickEventPoint::GrabState stateChange, QQuickEventPoint *point) { - QQuickPointerSingleHandler::onGrabChanged(grabber, stateChange, point); + QQuickSinglePointHandler::onGrabChanged(grabber, stateChange, point); bool isCanceled = stateChange == QQuickEventPoint::CancelGrabExclusive || stateChange == QQuickEventPoint::CancelGrabPassive; if (grabber == this && (isCanceled || point->state() == QQuickEventPoint::Released)) setPressed(false, isCanceled, point); -- cgit v1.2.3