From c2505751de802ae3e14df57c98ba9c3e9049dd50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Fri, 24 Jun 2022 16:02:30 +0200 Subject: [PATCH] Doc: Document missing methods in QDropEvent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: QTBUG-104484 Pick-to: 6.2 6.3 6.4 Change-Id: I20068bb9e641545edad67910b4586aa38aec093b Reviewed-by: Kevin Keating Reviewed-by: Topi Reiniƶ Reviewed-by: Shawn Rutledge --- src/gui/kernel/qevent.cpp | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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 @@ -3070,11 +3070,25 @@ void QDropEvent::setDropAction(Qt::DropAction action) Returns the position where the drop was made. */ +/*! + \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. */ /*! @@ -3084,6 +3098,13 @@ void QDropEvent::setDropAction(Qt::DropAction action) Returns the modifier keys that are pressed. */ +/*! + \fn Qt::KeyboardModifiers QDropEvent::modifiers() const + \since 6.0 + + Returns the modifier keys that are pressed. +*/ + /*! \fn void QDropEvent::setDropAction(Qt::DropAction action)