From 45cfde8dd00808a06ff9890481a51d0e5886dc71 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Wed, 23 Sep 2009 15:10:42 +1000 Subject: Use new property name --- demos/declarative/contacts/contacts.qml | 4 ++-- examples/declarative/listview/highlight.qml | 4 ++-- 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 } } -- cgit v0.12