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/qquickpointhandler.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/qquickpointhandler.cpp')
-rw-r--r-- | src/quick/handlers/qquickpointhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquickpointhandler.cpp b/src/quick/handlers/qquickpointhandler.cpp index 7e2d40452c..7cf37969cc 100644 --- a/src/quick/handlers/qquickpointhandler.cpp +++ b/src/quick/handlers/qquickpointhandler.cpp @@ -97,7 +97,7 @@ QT_BEGIN_NAMESPACE \snippet pointerHandlers/pointHandler.qml 0 - Like all pointer handlers, a PointHandler has a \l target property, which + Like all input handlers, a PointHandler has a \l target property, which may be used as a convenient place to put a point-tracking Item; but PointHandler will not automatically manipulate the \c target item in any way. You need to use bindings to make it react to the \l point. |