summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeanimation.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-01-21 15:10:54 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-01-21 15:10:54 (GMT)
commit84a1df764bf2e29e9e6e43f4f0e1a69201199fbc (patch)
tree73ece498671d7c7ed1df50c9a28b6be0fdfc892b /src/declarative/util/qdeclarativeanimation.cpp
parent2d5d354068e18de999c0316c2356726f9fe69fca (diff)
downloadQt-84a1df764bf2e29e9e6e43f4f0e1a69201199fbc.zip
Qt-84a1df764bf2e29e9e6e43f4f0e1a69201199fbc.tar.gz
Qt-84a1df764bf2e29e9e6e43f4f0e1a69201199fbc.tar.bz2
Doc: Fixed the syntax of QML code snippets.
Diffstat (limited to 'src/declarative/util/qdeclarativeanimation.cpp')
-rw-r--r--src/declarative/util/qdeclarativeanimation.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp
index dd7e5fd..f2c54ab 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -672,7 +672,9 @@ QDeclarativeColorAnimation::~QDeclarativeColorAnimation()
\qml
Item {
- states: [ ... ]
+ states: [
+ // States are defined here...
+ ]
transition: Transition {
NumberAnimation { from: "#c0c0c0"; duration: 2000 }