summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}
}