diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-10-15 04:32:01 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-10-15 04:32:01 (GMT) |
commit | c23962debbc856ce8b808c5f1c6e8a9cdd4f5dbe (patch) | |
tree | c39a23b699ca1869deffd3fbc7fee9a5b9b09db9 /tests/auto/declarative | |
parent | 88c9c3c1d8db356e69573c626618a979ac005b21 (diff) | |
download | Qt-c23962debbc856ce8b808c5f1c6e8a9cdd4f5dbe.zip Qt-c23962debbc856ce8b808c5f1c6e8a9cdd4f5dbe.tar.gz Qt-c23962debbc856ce8b808c5f1c6e8a9cdd4f5dbe.tar.bz2 |
Update some tests to modern syntax
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml | 2 | ||||
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml index edf0cb5..b772982 100644 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml @@ -5,7 +5,7 @@ Rectangle { height: 100 Text { - width: NumberAnimation { from: 500; to: 0; loops: Animation.Infinite; duration: 5000 } + NumberAnimation on width { from: 500; to: 0; loops: Animation.Infinite; duration: 5000 } elide: Text.ElideRight text: 'Here is some very long text that we should truncate when sizing window' } diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml index 6698421..3ef64ef 100644 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml @@ -11,7 +11,7 @@ Rectangle { anchors.centerIn: parent Text { id: myText - width: NumberAnimation { from: 500; to: 0; loops: Animation.Infinite; duration: 1000 } + NumberAnimation on width { from: 500; to: 0; loops: Animation.Infinite; duration: 5000 } elide: "ElideRight" text: "Brevity is the soul of wit, and tediousness the limbs and outward flourishes.\x9CBrevity is a great charm of eloquence.\x9CBe concise!\x9CSHHHHHHHHHHHHHHHHHHHHHHHHHHHH" } |