summaryrefslogtreecommitdiffstats
path: root/examples/declarative/border-image/content/MyBorderImage.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-25 02:09:59 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-25 02:12:54 (GMT)
commita20828a110ad35a7a98a6234ca0013203d9f8b61 (patch)
tree9bb92d7cca2339465b79a6070584d2dca6e81c15 /examples/declarative/border-image/content/MyBorderImage.qml
parent4d078ed668541a4051f91b5c120b8cb0534129bd (diff)
downloadQt-a20828a110ad35a7a98a6234ca0013203d9f8b61.zip
Qt-a20828a110ad35a7a98a6234ca0013203d9f8b61.tar.gz
Qt-a20828a110ad35a7a98a6234ca0013203d9f8b61.tar.bz2
Qt.Infinite -> Animation.Infinite
Too misleading to have on the Qt object, as it only means infinite for animation loops.
Diffstat (limited to 'examples/declarative/border-image/content/MyBorderImage.qml')
-rw-r--r--examples/declarative/border-image/content/MyBorderImage.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/border-image/content/MyBorderImage.qml b/examples/declarative/border-image/content/MyBorderImage.qml
index bd0f5fb..f0c3cfc 100644
--- a/examples/declarative/border-image/content/MyBorderImage.qml
+++ b/examples/declarative/border-image/content/MyBorderImage.qml
@@ -18,13 +18,13 @@ Item {
id: image; x: container.width / 2 - width / 2; y: container.height / 2 - height / 2
SequentialAnimation on width {
- loops: Qt.Infinite
+ loops: Animation.Infinite
NumberAnimation { from: container.minWidth; to: container.maxWidth; duration: 2000; easing.type: "InOutQuad"}
NumberAnimation { from: container.maxWidth; to: container.minWidth; duration: 2000; easing.type: "InOutQuad" }
}
SequentialAnimation on height {
- loops: Qt.Infinite
+ loops: Animation.Infinite
NumberAnimation { from: container.minHeight; to: container.maxHeight; duration: 2000; easing.type: "InOutQuad"}
NumberAnimation { from: container.maxHeight; to: container.minHeight; duration: 2000; easing.type: "InOutQuad" }
}