diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2017-08-30 15:18:04 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-09-03 16:31:54 +0000 |
commit | 7c54910a660dfe8e8b9fa20a82a93fcda2eb198f (patch) | |
tree | a66933debd48fea754f3e4820804b513721abda9 /src/quick/handlers/qquicktaphandler.cpp | |
parent | 72f320a266d7f6e8055fdb57d0996363fcbc027a (diff) |
Rename single and multi pointer handler classnames
Renames:
QQuickPointerSingleHandler -> QQuickSinglePointHandler
QQuickMultiPointerHandler -> QQuickMultiPointHandler
Change-Id: I10c54944f85ca7cac374ebc6241d61793e2d38bf
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/handlers/qquicktaphandler.cpp')
-rw-r--r-- | src/quick/handlers/qquicktaphandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |