aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickdrag.cpp
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2014-03-20 21:57:03 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-28 02:42:57 +0100
commit2341b58b76aea5c627cc656a2406256bac710227 (patch)
tree7a997207fd36eaecaf8953a50ce557cea12cc778 /src/quick/items/qquickdrag.cpp
parent37fbfa4dc0de361eb05bc34077bdb8eab1113aad (diff)
Doc: Document signals (not handlers) under \qmlattachedsignal
- They're not "attached properties" either. - Append the handler names to the end of the corresponding signal doc. - Update descriptions and links Task-number: QTBUG-35846 Change-Id: I54e93187b3209546ec344a20e0482c98d7f14109 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/quick/items/qquickdrag.cpp')
-rw-r--r--src/quick/items/qquickdrag.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/quick/items/qquickdrag.cpp b/src/quick/items/qquickdrag.cpp
index 605c485f6b..48c794a1be 100644
--- a/src/quick/items/qquickdrag.cpp
+++ b/src/quick/items/qquickdrag.cpp
@@ -694,17 +694,21 @@ void QQuickDragAttached::cancel()
}
/*!
- \qmlattachedsignal QtQuick::Drag::onDragStarted()
+ \qmlattachedsignal QtQuick::Drag::dragStarted()
- This handler is called when a drag is started with the \l startDrag method
+ This signal is emitted when a drag is started with the \l startDrag() method
or when it is started automatically using the \l dragType property.
+
+ The corresponding handler is \c onDragStarted.
*/
/*!
- \qmlattachedsignal QtQuick::Drag::onDragFinished(DropAction action)
+ \qmlattachedsignal QtQuick::Drag::dragFinished(DropAction action)
+
+ This signal is emitted when a drag finishes and the drag was started with the
+ \l startDrag() method or started automatically using the \l dragType property.
- This handler is called when a drag finishes and the drag was started with the
- \l startDrag method or started automatically using the \l dragType property.
+ The corresponding handler is \c onDragFinished.
*/
Qt::DropAction QQuickDragAttachedPrivate::startDrag(Qt::DropActions supportedActions)