summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qbindablemap.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-05-01 01:21:44 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-05-01 01:21:44 (GMT)
commit1206e9fb0c9a21e60b1e6841bb3071daa1f0da8a (patch)
tree019e5bf36d8f97c487edac68381b6dcaaf3d6129 /src/declarative/util/qbindablemap.cpp
parent09be36905f81923e665743520b93a24af0ec784d (diff)
downloadQt-1206e9fb0c9a21e60b1e6841bb3071daa1f0da8a.zip
Qt-1206e9fb0c9a21e60b1e6841bb3071daa1f0da8a.tar.gz
Qt-1206e9fb0c9a21e60b1e6841bb3071daa1f0da8a.tar.bz2
More format conversion.
Diffstat (limited to 'src/declarative/util/qbindablemap.cpp')
-rw-r--r--src/declarative/util/qbindablemap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/util/qbindablemap.cpp b/src/declarative/util/qbindablemap.cpp
index 341dd31..c8c8ced 100644
--- a/src/declarative/util/qbindablemap.cpp
+++ b/src/declarative/util/qbindablemap.cpp
@@ -87,8 +87,8 @@ private:
Then, in QML:
\code
- <Text text="{owner.name}"/>
- <Text text="{owner.phone}"/>
+ Text { text: owner.name }
+ Text { text: owner.phone }
\endcode
The binding is dynamic - whenever a key's value is updated, anything bound to that