From b2120f68683b7948891d72fe077f44ab7e6baf18 Mon Sep 17 00:00:00 2001 From: Bea Lam Date: Mon, 6 Aug 2012 14:25:24 +1000 Subject: Fix uses of various qml doc commands Signals documented with \qmlsignal should indicate handler name, i.e. 'onSignal' rather than 'signal'. Methods documented with \qmlmethod do not need to document 'void' return values. Also the name of any documented attribute should be qualified with 'QtQuick2::'. Change-Id: I206dd9e8f39c3b84e029ae9d4101b05d0bfb3478 Reviewed-by: Andrew den Exter --- src/particles/qquickitemparticle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/particles/qquickitemparticle.cpp') diff --git a/src/particles/qquickitemparticle.cpp b/src/particles/qquickitemparticle.cpp index bd4168eac3..d7dbbefc42 100644 --- a/src/particles/qquickitemparticle.cpp +++ b/src/particles/qquickitemparticle.cpp @@ -60,19 +60,19 @@ QT_BEGIN_NAMESPACE /*! - \qmlmethod void QtQuick.Particles2::ItemParticle::freeze(Item item) + \qmlmethod QtQuick.Particles2::ItemParticle::freeze(Item item) Suspends the flow of time for the logical particle which item represents, allowing you to control its movement. */ /*! - \qmlmethod void QtQuick.Particles2::ItemParticle::unfreeze(Item item) + \qmlmethod QtQuick.Particles2::ItemParticle::unfreeze(Item item) Restarts the flow of time for the logical particle which item represents, allowing it to be moved by the particle system again. */ /*! - \qmlmethod void QtQuick.Particles2::ItemParticle::take(Item item, bool prioritize) + \qmlmethod QtQuick.Particles2::ItemParticle::take(Item item, bool prioritize) Asks the ItemParticle to take over control of item. It will be emitted when there is a logical particle available. @@ -80,7 +80,7 @@ QT_BEGIN_NAMESPACE head of the queue. */ /*! - \qmlmethod void QtQuick.Particles2::ItemParticle::give(Item item) + \qmlmethod QtQuick.Particles2::ItemParticle::give(Item item) Orders the ItemParticle to give you control of the item. It will cease controlling it and the item will lose its association to the logical particle. */ -- cgit v1.2.3