summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-06-24 16:02:30 +0200
committerKai Köhne <kai.koehne@qt.io>2022-06-28 19:52:43 +0200
commitc2505751de802ae3e14df57c98ba9c3e9049dd50 (patch)
tree74d96c2109b14788ce837852dfd914816db46e50
parentqtestlib: exit with error if a test is invoked with unknown data tag (diff)
downloadqtbase-c2505751de802ae3e14df57c98ba9c3e9049dd50.tar.xz
qtbase-c2505751de802ae3e14df57c98ba9c3e9049dd50.zip
Doc: Document missing methods in QDropEvent
Fixes: QTBUG-104484 Pick-to: 6.2 6.3 6.4 Change-Id: I20068bb9e641545edad67910b4586aa38aec093b Reviewed-by: Kevin Keating Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/gui/kernel/qevent.cpp23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index de55202d38..59702ae4b0 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -3071,10 +3071,24 @@ void QDropEvent::setDropAction(Qt::DropAction action)
*/
/*!
+ \fn QPointF QDropEvent::position() const
+ \since 6.0
+
+ Returns the position where the drop was made.
+*/
+
+/*!
\fn Qt::MouseButtons QDropEvent::mouseButtons() const
\deprecated [6.0] Use buttons() instead.
- Returns the mouse buttons that are pressed..
+ Returns the mouse buttons that are pressed.
+*/
+
+/*!
+ \fn Qt::MouseButtons QDropEvent::buttons() const
+ \since 6.0
+
+ Returns the mouse buttons that are pressed.
*/
/*!
@@ -3085,6 +3099,13 @@ void QDropEvent::setDropAction(Qt::DropAction action)
*/
/*!
+ \fn Qt::KeyboardModifiers QDropEvent::modifiers() const
+ \since 6.0
+
+ Returns the modifier keys that are pressed.
+*/
+
+/*!
\fn void QDropEvent::setDropAction(Qt::DropAction action)
Sets the \a action to be performed on the data by the target.