From 93355e50de151cc6153d4ec4152e3a81e14cdc77 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 17 Dec 2013 22:53:42 +0100 Subject: Fix & cleanup whitespace in qquickdrag.cpp docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I85b986c8b3dca6ccc872807a1d2e8b7b71688c0e Reviewed-by: Topi Reiniƶ --- src/quick/items/qquickdrag.cpp | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'src/quick') diff --git a/src/quick/items/qquickdrag.cpp b/src/quick/items/qquickdrag.cpp index ea130968ca..e36bac4f3f 100644 --- a/src/quick/items/qquickdrag.cpp +++ b/src/quick/items/qquickdrag.cpp @@ -507,24 +507,23 @@ void QQuickDragAttached::setProposedAction(Qt::DropAction action) } /*! - \qmlattachedproperty enumeration QtQuick::Drag::dragType - \since 5.2 - - This property indicates whether to automatically start drags, do nothing, or - to use backwards compatible internal drags. The default is to use backwards - compatible internal drags. + \qmlattachedproperty enumeration QtQuick::Drag::dragType + \since 5.2 - A drag can also be started manually using \l startDrag. + This property indicates whether to automatically start drags, do nothing, or + to use backwards compatible internal drags. The default is to use backwards + compatible internal drags. - \list - \li Drag.None - do not start drags automatically - \li Drag.Automatic - start drags automatically - \li Drag.Internal (default) - start backwards compatible drags automatically - \endlist + A drag can also be started manually using \l startDrag. - When using \l Drag.Automatic you should also define \l mimeData and bind the - \active property to the active property of \l MouseArea.drag. + \list + \li Drag.None - do not start drags automatically + \li Drag.Automatic - start drags automatically + \li Drag.Internal (default) - start backwards compatible drags automatically + \endlist + When using \l Drag.Automatic you should also define \l mimeData and bind the + \active property to the active property of \l MouseArea.drag. */ QQuickDrag::DragType QQuickDragAttached::dragType() const @@ -622,7 +621,6 @@ void QQuickDragAttached::start(QQmlV4Function *args) \li Qt.LinkAction Create a link from the source to the target. \li Qt.IgnoreAction Ignore the action (do nothing with the data). \endlist - */ int QQuickDragAttached::drop() @@ -696,17 +694,17 @@ void QQuickDragAttached::cancel() } /*! - \qmlsignal QtQuick::DropArea::onDragStarted() + \qmlsignal QtQuick::DropArea::onDragStarted() - This handler is called when a drag is started with the \l startDrag method - or when it is started automatically using the \l dragType property. + This handler is called when a drag is started with the \l startDrag method + or when it is started automatically using the \l dragType property. */ /*! - \qmlsignal QtQuick::DropArea::onDragFinished(DropAction action) + \qmlsignal QtQuick::DropArea::onDragFinished(DropAction action) - 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. + 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. */ Qt::DropAction QQuickDragAttachedPrivate::startDrag(Qt::DropActions supportedActions) -- cgit v1.2.3