aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickdroparea.cpp
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2014-03-14 23:41:01 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-18 13:17:42 +0100
commit303db2e8a19ea1f2c1b8d5dc59e2754b0d03bd61 (patch)
tree9fed3403c91ab9b43aa30e660cbd1530439e6083 /src/quick/items/qquickdroparea.cpp
parentd7ea461fde7a5d227313eda83b5af84ec9b0477b (diff)
Doc: Document signals (not handlers) under \qmlsignal
Append the handler names to the end of the corresponding signal doc. Task-number: QTBUG-35846 Change-Id: I3d627ba7ed5be94e5c402ab092b4d582536499e8 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/quick/items/qquickdroparea.cpp')
-rw-r--r--src/quick/items/qquickdroparea.cpp24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/quick/items/qquickdroparea.cpp b/src/quick/items/qquickdroparea.cpp
index 57e500a150..23ee016941 100644
--- a/src/quick/items/qquickdroparea.cpp
+++ b/src/quick/items/qquickdroparea.cpp
@@ -208,9 +208,11 @@ qreal QQuickDropAreaDrag::y() const
}
/*!
- \qmlsignal QtQuick::DropArea::onPositionChanged(DragEvent drag)
+ \qmlsignal QtQuick::DropArea::positionChanged(DragEvent drag)
- This handler is called when the position of a drag has changed.
+ This signal is emitted when the position of a drag has changed.
+
+ The corresponding handler is \c onPositionChanged.
*/
void QQuickDropArea::dragMoveEvent(QDragMoveEvent *event)
@@ -249,9 +251,11 @@ QStringList QQuickDropAreaPrivate::getKeys(const QMimeData *mimeData) const
}
/*!
- \qmlsignal QtQuick::DropArea::onEntered(DragEvent drag)
+ \qmlsignal QtQuick::DropArea::entered(DragEvent drag)
+
+ This signal is emitted when a \a drag enters the bounds of a DropArea.
- This handler is called when a \a drag enters the bounds of a DropArea.
+ The corresponding handler is \c onEntered.
*/
void QQuickDropArea::dragEnterEvent(QDragEnterEvent *event)
@@ -282,9 +286,11 @@ void QQuickDropArea::dragEnterEvent(QDragEnterEvent *event)
}
/*!
- \qmlsignal QtQuick::DropArea::onExited()
+ \qmlsignal QtQuick::DropArea::exited()
- This handler is called when a drag exits the bounds of a DropArea.
+ This signal is emitted when a drag exits the bounds of a DropArea.
+
+ The corresponding handler is \c onExited.
*/
void QQuickDropArea::dragLeaveEvent(QDragLeaveEvent *)
@@ -303,10 +309,12 @@ void QQuickDropArea::dragLeaveEvent(QDragLeaveEvent *)
}
/*!
- \qmlsignal QtQuick::DropArea::onDropped(DragEvent drop)
+ \qmlsignal QtQuick::DropArea::dropped(DragEvent drop)
- This handler is called when a drop event occurs within the bounds of
+ This signal is emitted when a drop event occurs within the bounds of
a DropArea.
+
+ The corresponding handler is \c onDropped.
*/
void QQuickDropArea::dropEvent(QDropEvent *event)