summaryrefslogtreecommitdiffstats
path: root/examples/declarative/xmldata
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-06-26 04:52:07 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-06-26 04:52:07 (GMT)
commit3c45c081ce33f05ae200d252ebb5e9e1484bcc6d (patch)
tree5f8a6752e610ed8ca8bbf0ebd58cf16faad9b5e5 /examples/declarative/xmldata
parent0362832c16f95c2909e2a68351e15242b7d1b795 (diff)
downloadQt-3c45c081ce33f05ae200d252ebb5e9e1484bcc6d.zip
Qt-3c45c081ce33f05ae200d252ebb5e9e1484bcc6d.tar.gz
Qt-3c45c081ce33f05ae200d252ebb5e9e1484bcc6d.tar.bz2
Update SetProperties to handle changing bindings
Also removed all uses of SetProperty
Diffstat (limited to 'examples/declarative/xmldata')
-rw-r--r--examples/declarative/xmldata/yahoonews.qml12
1 files changed, 2 insertions, 10 deletions
diff --git a/examples/declarative/xmldata/yahoonews.qml b/examples/declarative/xmldata/yahoonews.qml
index b465ef1..a5bb2f1 100644
--- a/examples/declarative/xmldata/yahoonews.qml
+++ b/examples/declarative/xmldata/yahoonews.qml
@@ -64,16 +64,8 @@ Rect {
states: [
State {
name: "Details"
- SetProperty {
- target: Wrapper
- property: "height"
- binding: "contents.height + 10"
- }
- SetProperty {
- target: Description
- property: "opacity"
- value: 1
- }
+ SetProperties { target: Wrapper; height: contents.height + 10 }
+ SetProperties { target: Description; opacity: 1 }
}
]
transitions: [