aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickdraghandler.cpp
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2017-08-30 15:18:04 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-09-03 16:31:54 +0000
commit7c54910a660dfe8e8b9fa20a82a93fcda2eb198f (patch)
treea66933debd48fea754f3e4820804b513721abda9 /src/quick/handlers/qquickdraghandler.cpp
parent72f320a266d7f6e8055fdb57d0996363fcbc027a (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/qquickdraghandler.cpp')
-rw-r--r--src/quick/handlers/qquickdraghandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/handlers/qquickdraghandler.cpp b/src/quick/handlers/qquickdraghandler.cpp
index b41e1f6c9d..49b391c7d5 100644
--- a/src/quick/handlers/qquickdraghandler.cpp
+++ b/src/quick/handlers/qquickdraghandler.cpp
@@ -58,7 +58,7 @@ QT_BEGIN_NAMESPACE
*/
QQuickDragHandler::QQuickDragHandler(QObject *parent)
- : QQuickPointerSingleHandler(parent)
+ : QQuickSinglePointHandler(parent)
{
}
@@ -70,7 +70,7 @@ bool QQuickDragHandler::wantsEventPoint(QQuickEventPoint *point)
{
// If we've already been interested in a point, stay interested, even if it has strayed outside bounds.
return ((point->state() != QQuickEventPoint::Pressed && this->point().id() == point->pointId())
- || QQuickPointerSingleHandler::wantsEventPoint(point));
+ || QQuickSinglePointHandler::wantsEventPoint(point));
}
void QQuickDragHandler::onGrabChanged(QQuickPointerHandler *grabber, QQuickEventPoint::GrabState stateChange, QQuickEventPoint *point)
@@ -79,7 +79,7 @@ void QQuickDragHandler::onGrabChanged(QQuickPointerHandler *grabber, QQuickEvent
// In case the grab got handled over from another grabber, we might not get the Press
initializeTargetStartPos(point);
enforceConstraints();
- QQuickPointerSingleHandler::onGrabChanged(grabber, stateChange, point);
+ QQuickSinglePointHandler::onGrabChanged(grabber, stateChange, point);
}
void QQuickDragHandler::onActiveChanged()