From 98e11700864e5a5b1566fd1736aae85551f2f00f Mon Sep 17 00:00:00 2001 From: aavit Date: Tue, 11 Sep 2012 11:37:06 +0200 Subject: Doc: Fix misc. doc errors and document undocumented functions Change-Id: I0c1e0a36ee37d5a8f3741f0405f63f9b26967f32 Reviewed-by: Qt Doc Bot Reviewed-by: Kim M. Kalland --- src/gui/kernel/qdrag.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/gui/kernel/qdrag.cpp') 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); -- cgit v1.2.3