diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-07-11 11:20:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-20 06:57:44 +0200 |
commit | 963e769c01237265a403e2d28c1b2691cb45bf99 (patch) | |
tree | 89e874d035fc37348552f6ed8fc05bede181d9c8 /src/declarative/particles/qsgfriction.cpp | |
parent | 12ebf79f3a92646ae7d5671d8ba4147055d203c2 (diff) |
Initial stab at docs for QtQuick.Particles 2.0
Change-Id: I3c53f7998dff95616a994edf19094fa4007d74ab
Reviewed-on: http://codereview.qt.nokia.com/1388
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/declarative/particles/qsgfriction.cpp')
-rw-r--r-- | src/declarative/particles/qsgfriction.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/declarative/particles/qsgfriction.cpp b/src/declarative/particles/qsgfriction.cpp index 2bd4391503..fcd43a57d9 100644 --- a/src/declarative/particles/qsgfriction.cpp +++ b/src/declarative/particles/qsgfriction.cpp @@ -41,6 +41,19 @@ #include "qsgfriction_p.h" QT_BEGIN_NAMESPACE +/*! + \qmlclass Friction QSGFrictionAffector + \inqmlmodule QtQuick.Particles 2 + \since QtQuick.Particles 2.0 + \inherits Affector + \brief The Friction affector slows down movement proportional to the particle's current speed. + +*/ + +/*! + \qmlproperty real QtQuick.Particles2::Friction::factor +*/ + QSGFrictionAffector::QSGFrictionAffector(QSGItem *parent) : QSGParticleAffector(parent), m_factor(0.0) { |