summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlsetproperties.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-05-01 00:49:51 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-05-01 00:49:51 (GMT)
commit020f86805e2f3f9fa8e069c3a0ae04ef4a6d57cd (patch)
tree2015be2a09b23782b0de2202f95f18c0700a9cdd /src/declarative/util/qmlsetproperties.cpp
parentf57e5f12807e1860839a4b3c47af180230bdbfaa (diff)
downloadQt-020f86805e2f3f9fa8e069c3a0ae04ef4a6d57cd.zip
Qt-020f86805e2f3f9fa8e069c3a0ae04ef4a6d57cd.tar.gz
Qt-020f86805e2f3f9fa8e069c3a0ae04ef4a6d57cd.tar.bz2
Format conversion for animation, states and transitions, and transform
elements.
Diffstat (limited to 'src/declarative/util/qmlsetproperties.cpp')
-rw-r--r--src/declarative/util/qmlsetproperties.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/declarative/util/qmlsetproperties.cpp b/src/declarative/util/qmlsetproperties.cpp
index 108f2b2..9b5a58e 100644
--- a/src/declarative/util/qmlsetproperties.cpp
+++ b/src/declarative/util/qmlsetproperties.cpp
@@ -108,7 +108,12 @@ void QmlSetPropertiesMetaObject::propertyWrite(int id)
you normally would specify them for the actual item:
\code
- <SetProperties target="{myRect}" x="52" y="300" width="48"/>
+ SetProperties {
+ target: myRect
+ x: 52
+ y: 300
+ width: 48
+ }
\endcode
\c target is a property of \c SetProperties, so if the property you want to change
@@ -129,7 +134,12 @@ void QmlSetPropertiesMetaObject::propertyWrite(int id)
you normally would specify them for the actual item:
\code
- <SetProperties target="{myRect}" x="52" y="300" width="48"/>
+ SetProperties {
+ target: myRect
+ x: 52
+ y: 300
+ width: 48
+ }
\endcode
\c target is a property of \c SetProperties, so if the property you want to change