diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-03-03 07:54:43 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-03-03 07:54:43 (GMT) |
commit | 07bd4f61caaa61866fcfa7847eeeb905d4fa2b38 (patch) | |
tree | e55835d515209ee355cb5c8b61832d4347b2223c /src/declarative/util/qdeclarativespringfollow.cpp | |
parent | aebadf248a93458615a53b3480987f829aba0ee6 (diff) | |
download | Qt-07bd4f61caaa61866fcfa7847eeeb905d4fa2b38.zip Qt-07bd4f61caaa61866fcfa7847eeeb905d4fa2b38.tar.gz Qt-07bd4f61caaa61866fcfa7847eeeb905d4fa2b38.tar.bz2 |
'on' syntax fixes
Diffstat (limited to 'src/declarative/util/qdeclarativespringfollow.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativespringfollow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qdeclarativespringfollow.cpp b/src/declarative/util/qdeclarativespringfollow.cpp index 6205ab9..1d69dd3 100644 --- a/src/declarative/util/qdeclarativespringfollow.cpp +++ b/src/declarative/util/qdeclarativespringfollow.cpp @@ -222,8 +222,8 @@ void QDeclarativeSpringFollowPrivate::stop() id: rect1 width: 20; height: 20 color: "#00ff00" - y: 200 //initial value - y: SequentialAnimation { + y: 200 // initial value + SequentialAnimation on y { running: true repeat: true NumberAnimation { @@ -239,7 +239,7 @@ void QDeclarativeSpringFollowPrivate::stop() x: rect1.width width: 20; height: 20 color: "#ff0000" - y: SpringFollow { source: rect1.y; velocity: 200 } + SpringFollow on y { source: rect1.y; velocity: 200 } } \endcode |