diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-06-19 18:05:14 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-07-12 20:24:38 +0000 |
commit | 8092c5617092195d7df02775f423f5e420eb764f (patch) | |
tree | c9c5c09b4327a395da2169497139e81197b4afea /src/quick/handlers/qquickmultipointhandler.cpp | |
parent | fa3c840ef1ff2100ccca6866528ac1f008c8e3a7 (diff) |
Rename Pointer Handlers to Input Handlers (as a concept)
This is a documentation change to alleviate some confusion that we've
seen during the Tech Preview period.
It doesn't make sense to actually rename the base class though, because
it is intended to handle QQuickPointerEvents, not QEvents. The reason
for that is that refactoring the QEvent hierarchy has to wait until
Qt 6. So maybe in Qt 6 we can remove QQuickPointerEvent and have
a QQuickInputHandler base class which handles QInputEvents; but for
now, this conceptual renaming seems about as far as we can go.
Task-number: QTBUG-66651
Change-Id: I84a41dc282c480d08f4d4a0d9a857e37e074aa7a
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickmultipointhandler.cpp')
-rw-r--r-- | src/quick/handlers/qquickmultipointhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/handlers/qquickmultipointhandler.cpp b/src/quick/handlers/qquickmultipointhandler.cpp index 2236a7d18e..9a3732ff84 100644 --- a/src/quick/handlers/qquickmultipointhandler.cpp +++ b/src/quick/handlers/qquickmultipointhandler.cpp @@ -133,7 +133,7 @@ QVector<QQuickEventPoint *> QQuickMultiPointHandler::eligiblePoints(QQuickPointe If a smaller number of touchpoints are in contact with the \l {PointerHandler::parent}{parent}, they will be ignored. - Any ignored points are eligible to activate other Pointer Handlers that + Any ignored points are eligible to activate other Input Handlers that have different constraints, on the same Item or on other Items. The default value is 2. @@ -159,7 +159,7 @@ void QQuickMultiPointHandler::setMinimumPointCount(int c) chosen in the order that they are pressed, and the remaining points will be ignored. - Any ignored points are eligible to activate other Pointer Handlers that + Any ignored points are eligible to activate other Input Handlers that have different constraints, on the same Item or on other Items. The default value is the same as \l minimumPointCount. |