summaryrefslogtreecommitdiffstats
path: root/examples/declarative/listview
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-21 03:27:52 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-21 03:27:52 (GMT)
commit08a4fffc4c93c324f95f5759c620287330c68d9d (patch)
tree4bced6b7c308f405ef021c1e006de65cfaaeaa1e /examples/declarative/listview
parent1d9ae86dda99d8f0eb4949d3779777e795eb52be (diff)
downloadQt-08a4fffc4c93c324f95f5759c620287330c68d9d.zip
Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.gz
Qt-08a4fffc4c93c324f95f5759c620287330c68d9d.tar.bz2
Rename State change elements.
SetProperties -> PropertyChanges RunScript -> StateChangeScript SetAnchors -> AnchorChanges
Diffstat (limited to 'examples/declarative/listview')
-rw-r--r--examples/declarative/listview/content/MediaButton.qml2
-rw-r--r--examples/declarative/listview/highlight.qml2
-rw-r--r--examples/declarative/listview/recipes.qml14
3 files changed, 9 insertions, 9 deletions
diff --git a/examples/declarative/listview/content/MediaButton.qml b/examples/declarative/listview/content/MediaButton.qml
index 8fff22b..599452d 100644
--- a/examples/declarative/listview/content/MediaButton.qml
+++ b/examples/declarative/listview/content/MediaButton.qml
@@ -30,7 +30,7 @@ Item {
State {
name: "Pressed"
when: MouseRegion.pressed == true
- SetProperties {
+ PropertyChanges {
target: Pressed
opacity: 1
}
diff --git a/examples/declarative/listview/highlight.qml b/examples/declarative/listview/highlight.qml
index b1cd6be..3506ad7 100644
--- a/examples/declarative/listview/highlight.qml
+++ b/examples/declarative/listview/highlight.qml
@@ -25,7 +25,7 @@ Rectangle {
State {
name: "Current"
when: Wrapper.ListView.isCurrentItem
- SetProperties { target: Wrapper; x: 10 }
+ PropertyChanges { target: Wrapper; x: 10 }
}
]
transitions: [
diff --git a/examples/declarative/listview/recipes.qml b/examples/declarative/listview/recipes.qml
index 34cdee5..b4ad4d5 100644
--- a/examples/declarative/listview/recipes.qml
+++ b/examples/declarative/listview/recipes.qml
@@ -16,7 +16,7 @@ Rectangle {
width: List.width
// Create a property to contain the visibility of the details.
// We can bind multiple element's opacity to this one property,
- // rather than having a "SetProperties" line for each element we
+ // rather than having a "PropertyChanges" line for each element we
// want to fade.
property real detailsOpacity : 0
@@ -96,17 +96,17 @@ Rectangle {
states: [
State {
name: "Details"
- SetProperties { target: background; color: "white" }
+ PropertyChanges { target: background; color: "white" }
// Make the picture bigger
- SetProperties { target: recipePic; width: 128; height: 128 }
+ PropertyChanges { target: recipePic; width: 128; height: 128 }
// Make details visible
- SetProperties { target: wrapper; detailsOpacity: 1; x: 0 }
+ PropertyChanges { target: wrapper; detailsOpacity: 1; x: 0 }
// Make the detailed view fill the entire list area
- SetProperties { target: wrapper; height: List.height }
+ PropertyChanges { target: wrapper; height: List.height }
// Move the list so that this item is at the top.
- SetProperties { target: wrapper.ListView.view; explicit: true; yPosition: wrapper.y }
+ PropertyChanges { target: wrapper.ListView.view; explicit: true; yPosition: wrapper.y }
// Disallow flicking while we're in detailed view
- SetProperties { target: wrapper.ListView.view; locked: 1 }
+ PropertyChanges { target: wrapper.ListView.view; locked: 1 }
}
]
transitions: [