summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-01-29 01:13:39 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-01-29 01:13:39 (GMT)
commitfe129a59ab54e6c0194c546a02bc64e886c252d5 (patch)
treebd59e0a2824f932dd338cbad555dc2c6d48f6ca4 /src/declarative
parentafccc772b72f35929a2eafdec9e4318e22854b6a (diff)
downloadQt-fe129a59ab54e6c0194c546a02bc64e886c252d5.zip
Qt-fe129a59ab54e6c0194c546a02bc64e886c252d5.tar.gz
Qt-fe129a59ab54e6c0194c546a02bc64e886c252d5.tar.bz2
Doc.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/util/qmlanimation.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp
index f5333a6..efb4159 100644
--- a/src/declarative/util/qmlanimation.cpp
+++ b/src/declarative/util/qmlanimation.cpp
@@ -1660,10 +1660,12 @@ void QmlPropertyAnimationPrivate::convertVariant(QVariant &variant, int type)
\inherits Animation
\brief The PropertyAnimation element allows you to animate property changes.
- Animate a size property over 200ms, from its current size to 20-by-20:
+ Animate theObject's size property over 200ms, from its current size to 20-by-20:
\code
- PropertyAnimation { property: "size"; to: "20x20"; duration: 200 }
+ PropertyAnimation { target: theObject; property: "size"; to: "20x20"; duration: 200 }
\endcode
+
+ For an introduction to animation in QML, see \l{QML Animation}.
*/
QmlPropertyAnimation::QmlPropertyAnimation(QObject *parent)