aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpointerhandler.cpp
diff options
context:
space:
mode:
authorSami Shalayel <sami.shalayel@qt.io>2022-10-12 15:53:52 +0200
committerSami Shalayel <sami.shalayel@qt.io>2022-11-11 12:07:42 +0100
commitb43a873264d012dc0a0e574ea53335a40af8aa38 (patch)
treeed5a9be6c2236d71001c79f7c0e1f56e065b2bd9 /src/quick/handlers/qquickpointerhandler.cpp
parent3cacdf288fa70e6f108b79a5752682329babf4c6 (diff)
Add FOREIGN declaration for QEventPoint
Add a foreign declaration to QEventPoint such that qml compilers can work correctly with it. Also fix the links to eventPointer in the documentation, and duplicate the list of properties of the C++ api. Fixes: QTBUG-107624 Change-Id: I11c4a4a416a40d40fc7ce45d7f894406035a6d87 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickpointerhandler.cpp')
-rw-r--r--src/quick/handlers/qquickpointerhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/handlers/qquickpointerhandler.cpp b/src/quick/handlers/qquickpointerhandler.cpp
index a851334b0e..80cf77c627 100644
--- a/src/quick/handlers/qquickpointerhandler.cpp
+++ b/src/quick/handlers/qquickpointerhandler.cpp
@@ -728,7 +728,7 @@ void QQuickPointerHandler::handlePointerEventImpl(QPointerEvent *)
*/
/*!
- \qmlsignal QtQuick::PointerHandler::grabChanged(GrabTransition transition, EventPoint point)
+ \qmlsignal QtQuick::PointerHandler::grabChanged(GrabTransition transition, eventPoint point)
This signal is emitted when the grab has changed in some way which is
relevant to this handler.
@@ -738,7 +738,7 @@ void QQuickPointerHandler::handlePointerEventImpl(QPointerEvent *)
*/
/*!
- \qmlsignal QtQuick::PointerHandler::canceled(EventPoint point)
+ \qmlsignal QtQuick::PointerHandler::canceled(eventPoint point)
If this handler has already grabbed the given \a point, this signal is
emitted when the grab is stolen by a different Pointer Handler or Item.