summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qdrag.cpp
diff options
context:
space:
mode:
authoraavit <qt_aavit@ovi.com>2012-09-11 11:37:06 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-12 10:14:10 +0200
commit98e11700864e5a5b1566fd1736aae85551f2f00f (patch)
treebe1225d475c0852ec3cf7877fdcc25c7b47fb629 /src/gui/kernel/qdrag.cpp
parent5704cbc462ad0b316a6b55a0f1dadc3c50762ef7 (diff)
Doc: Fix misc. doc errors and document undocumented functions
Change-Id: I0c1e0a36ee37d5a8f3741f0405f63f9b26967f32 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Diffstat (limited to 'src/gui/kernel/qdrag.cpp')
-rw-r--r--src/gui/kernel/qdrag.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gui/kernel/qdrag.cpp b/src/gui/kernel/qdrag.cpp
index fc534747f5..27609a230a 100644
--- a/src/gui/kernel/qdrag.cpp
+++ b/src/gui/kernel/qdrag.cpp
@@ -229,7 +229,7 @@ QObject *QDrag::target() const
can take some time, but this function does not block the event
loop. Other events are still delivered to the application while
the operation is performed. On Windows, the Qt event loop is
- blocked while during the operation.
+ blocked during the operation.
*/
Qt::DropAction QDrag::exec(Qt::DropActions supportedActions)
@@ -362,12 +362,23 @@ QPixmap QDrag::dragCursor(Qt::DropAction action) const
return QGuiApplicationPrivate::instance()->getPixmapCursor(shape);
}
+/*!
+ Returns the set of possible drop actions for this drag operation.
+
+ \sa exec(), defaultAction()
+*/
Qt::DropActions QDrag::supportedActions() const
{
Q_D(const QDrag);
return d->supported_actions;
}
+
+/*!
+ Returns the default proposed drop action for this drag operation.
+
+ \sa exec(), supportedActions()
+*/
Qt::DropAction QDrag::defaultAction() const
{
Q_D(const QDrag);