summaryrefslogtreecommitdiffstats
path: root/examples/declarative/focus/focus.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-05-05 06:22:51 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-05-05 06:23:55 (GMT)
commitf5e3e21e95275a8cf31cddf2063dfa497e92872e (patch)
treea7a2c41b884f6faeef6678c410006623eb714e23 /examples/declarative/focus/focus.qml
parentd6597781a658ba9546bc56f4f3079234c0790e1d (diff)
downloadQt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.zip
Qt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.tar.gz
Qt-f5e3e21e95275a8cf31cddf2063dfa497e92872e.tar.bz2
Use enum rather than string for easing type.
Diffstat (limited to 'examples/declarative/focus/focus.qml')
-rw-r--r--examples/declarative/focus/focus.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/focus/focus.qml b/examples/declarative/focus/focus.qml
index 22b0e50..8c992ae 100644
--- a/examples/declarative/focus/focus.qml
+++ b/examples/declarative/focus/focus.qml
@@ -38,7 +38,7 @@ Rectangle {
}
transitions: Transition {
- NumberAnimation { properties: "y"; duration: 600; easing.type: "OutQuint" }
+ NumberAnimation { properties: "y"; duration: 600; easing.type: Easing.OutQuint }
}
}
@@ -64,6 +64,6 @@ Rectangle {
}
transitions: Transition {
- NumberAnimation { properties: "x,opacity"; duration: 600; easing.type: "OutQuint" }
+ NumberAnimation { properties: "x,opacity"; duration: 600; easing.type: Easing.OutQuint }
}
}