Fix uses of various qml doc commands
[profile/ivi/qtdeclarative.git] / src / particles / qquickwander.cpp
index 8d2556d..e8e810d 100644 (file)
 #include "qquickparticlesystem_p.h"//for ParticlesVertices
 QT_BEGIN_NAMESPACE
 /*!
-    \qmlclass Wander QQuickWanderAffector
+    \qmltype Wander
+    \instantiates QQuickWanderAffector
     \inqmlmodule QtQuick.Particles 2
+    \ingroup qtquick-particles
     \inherits Affector
     \brief For applying random particle trajectory
 
@@ -119,7 +121,7 @@ WanderData* QQuickWanderAffector::getData(int idx)
 
 bool QQuickWanderAffector::affectParticle(QQuickParticleData* data, qreal dt)
 {
-    /*TODO: Add a mode which does basically this - picking a direction, going in it (random speed) and then going back
+    /*TODO: Add a mode which does basically this - picking a direction, going in it (random velocity) and then going back
     WanderData* d = getData(data->systemIndex);
     if (m_xVariance != 0.) {
         if ((d->x_vel > d->x_peak && d->x_var > 0.0) || (d->x_vel < -d->x_peak && d->x_var < 0.0)) {