summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/coercion/example.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-06 08:32:25 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-06 08:32:25 (GMT)
commitd641b621077d5cc81ce7b3de92af9a0f6d47f4d6 (patch)
treea6d367c55d3d2ec41cf8bf92a439c8cc14c717d8 /examples/declarative/extending/coercion/example.qml
parent6c7b88af807cbd2b4d824b8fca0f199ae1413432 (diff)
downloadQt-d641b621077d5cc81ce7b3de92af9a0f6d47f4d6.zip
Qt-d641b621077d5cc81ce7b3de92af9a0f6d47f4d6.tar.gz
Qt-d641b621077d5cc81ce7b3de92af9a0f6d47f4d6.tar.bz2
Doc
Diffstat (limited to 'examples/declarative/extending/coercion/example.qml')
-rw-r--r--examples/declarative/extending/coercion/example.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/declarative/extending/coercion/example.qml b/examples/declarative/extending/coercion/example.qml
new file mode 100644
index 0000000..8bcb45a
--- /dev/null
+++ b/examples/declarative/extending/coercion/example.qml
@@ -0,0 +1,13 @@
+// ![0]
+BirthdayParty {
+ celebrant: Boy {
+ name: "Bob Jones"
+ shoeSize: 12
+ }
+ guests: [
+ Boy { name: "Joan Hodges" },
+ Boy { name: "Jack Smith" },
+ Girl { name: "Anne Brown" }
+ ]
+}
+// ![0]