summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativepositioners.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-01-24 14:09:14 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-01-24 14:09:14 (GMT)
commit3d769613d5efc642ebfd8d5fe7c149834132fe65 (patch)
treebf7eef1cfc64a13162ea9994ccd1223d8ee0ebf8 /src/declarative/graphicsitems/qdeclarativepositioners.cpp
parentcdb2d3db1ece08af9ccf844cae6a5d3fa69a0d98 (diff)
downloadQt-3d769613d5efc642ebfd8d5fe7c149834132fe65.zip
Qt-3d769613d5efc642ebfd8d5fe7c149834132fe65.tar.gz
Qt-3d769613d5efc642ebfd8d5fe7c149834132fe65.tar.bz2
Doc: Fixed the syntax of QML code snippets.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepositioners.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativepositioners.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativepositioners.cpp b/src/declarative/graphicsitems/qdeclarativepositioners.cpp
index 4e049c7..e0bd2ff 100644
--- a/src/declarative/graphicsitems/qdeclarativepositioners.cpp
+++ b/src/declarative/graphicsitems/qdeclarativepositioners.cpp
@@ -364,9 +364,13 @@ void QDeclarativeBasePositioner::finishApplyTransitions()
\qml
Column {
spacing: 2
- add: ...
- move: ...
- ...
+ add: Transition {
+ // Define an animation for adding a new item...
+ }
+ move: Transition {
+ // Define an animation for moving items within the column...
+ }
+ // ...
}
\endqml