summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-23 05:10:42 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-09-23 05:13:21 (GMT)
commit45cfde8dd00808a06ff9890481a51d0e5886dc71 (patch)
tree36088b4a0aa53da9a70eb90a74edb07c9cd2b504
parent718c4ff7e9a9cbf0150c937c1036a03935dda3e1 (diff)
downloadQt-45cfde8dd00808a06ff9890481a51d0e5886dc71.zip
Qt-45cfde8dd00808a06ff9890481a51d0e5886dc71.tar.gz
Qt-45cfde8dd00808a06ff9890481a51d0e5886dc71.tar.bz2
Use new property name
-rw-r--r--demos/declarative/contacts/contacts.qml4
-rw-r--r--examples/declarative/listview/highlight.qml4
2 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/contacts/contacts.qml b/demos/declarative/contacts/contacts.qml
index 278eeb3..2b0d983 100644
--- a/demos/declarative/contacts/contacts.qml
+++ b/demos/declarative/contacts/contacts.qml
@@ -224,7 +224,7 @@ Rectangle {
}
}
]
- autoHighlight: true
+ highlightFollowsCurrentItem: true
focus: false
}
FocusScope {
@@ -291,7 +291,7 @@ Rectangle {
]
}
focus: contacts.mode != 'new'
- forwardTo: { contacts.mode == "list" ? [searchBarWrapper, contactListView] : [contactListView]}
+ Keys.forwardTo: { contacts.mode == "list" ? [searchBarWrapper, contactListView] : [contactListView]}
states: [
State {
name: "editNewState"
diff --git a/examples/declarative/listview/highlight.qml b/examples/declarative/listview/highlight.qml
index cb92ad9..b6db453 100644
--- a/examples/declarative/listview/highlight.qml
+++ b/examples/declarative/listview/highlight.qml
@@ -37,7 +37,7 @@ Rectangle {
]
}
}
- // Specify a highlight with custom movement. Note that autoHighlight
+ // Specify a highlight with custom movement. Note that highlightFollowsCurrentItem
// is set to false in the ListView so that we can control how the
// highlight moves to the current item.
Component {
@@ -51,7 +51,7 @@ Rectangle {
id: List1
width: 200; height: parent.height
model: MyPetsModel; delegate: PetDelegate
- highlight: PetHighlight; autoHighlight: false
+ highlight: PetHighlight; highlightFollowsCurrentItem: false
focus: true
}
}