summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/listview
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-05 00:35:54 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-05 00:35:54 (GMT)
commit8708350f4b00507348fa59f313bcfa554a3d6f79 (patch)
tree6c66a58fdf461bd2e24b3ec4035dd6b740a08398 /doc/src/snippets/declarative/listview
parent38ff49e632da2bd61ac5fb59f57f62208c2687fd (diff)
downloadQt-8708350f4b00507348fa59f313bcfa554a3d6f79.zip
Qt-8708350f4b00507348fa59f313bcfa554a3d6f79.tar.gz
Qt-8708350f4b00507348fa59f313bcfa554a3d6f79.tar.bz2
Update QML documentation snippets to latest syntax.
Diffstat (limited to 'doc/src/snippets/declarative/listview')
-rw-r--r--doc/src/snippets/declarative/listview/highlight.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/declarative/listview/highlight.qml b/doc/src/snippets/declarative/listview/highlight.qml
index b016f9a..6a9d215 100644
--- a/doc/src/snippets/declarative/listview/highlight.qml
+++ b/doc/src/snippets/declarative/listview/highlight.qml
@@ -30,7 +30,7 @@ Rectangle {
}
]
transitions: [
- Transition { NumberAnimation { matchProperties: "x"; duration: 200 } }
+ Transition { NumberAnimation { properties: "x"; duration: 200 } }
]
}
}
@@ -44,7 +44,7 @@ Rectangle {
Rectangle {
width: 180; height: 40
color: "lightsteelblue"; radius: 5
- y: SpringFollow {
+ SpringFollow on y {
source: list.currentItem.y
spring: 3
damping: 0.2