summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/attached/example.qml
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-04-27 19:32:08 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-27 19:32:08 (GMT)
commite0a2a4d343902e96e51df1fabeaaf543f4cd2a47 (patch)
tree4cb1ab83e9881a403e2857882fb0d6383118a393 /examples/declarative/extending/attached/example.qml
parentf6f9777408691a945c49ef8ec5037d8401c747eb (diff)
parenta17339e943f21bb6c6e16884f716dd9ab8f94938 (diff)
downloadQt-e0a2a4d343902e96e51df1fabeaaf543f4cd2a47.zip
Qt-e0a2a4d343902e96e51df1fabeaaf543f4cd2a47.tar.gz
Qt-e0a2a4d343902e96e51df1fabeaaf543f4cd2a47.tar.bz2
Merge remote branch 'origin/4.7' into qt-master-from-4.7
Conflicts: tools/qdoc3/test/assistant.qdocconf tools/qdoc3/test/designer.qdocconf tools/qdoc3/test/linguist.qdocconf tools/qdoc3/test/qmake.qdocconf tools/qdoc3/test/qt-html-templates.qdocconf tools/qdoc3/test/qt.qdocconf
Diffstat (limited to 'examples/declarative/extending/attached/example.qml')
-rw-r--r--examples/declarative/extending/attached/example.qml10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/declarative/extending/attached/example.qml b/examples/declarative/extending/attached/example.qml
index 952eb93..50f0a32 100644
--- a/examples/declarative/extending/attached/example.qml
+++ b/examples/declarative/extending/attached/example.qml
@@ -1,16 +1,17 @@
import People 1.0
BirthdayParty {
- celebrant: Boy {
+ host: Boy {
name: "Bob Jones"
shoe { size: 12; color: "white"; brand: "Nike"; price: 90.0 }
}
// ![1]
Boy {
- name: "Joan Hodges"
- BirthdayParty.rsvp: "2009-07-06"
+ name: "Leo Hodges"
shoe { size: 10; color: "black"; brand: "Reebok"; price: 59.95 }
+
+ BirthdayParty.rsvp: "2009-07-06"
}
// ![1]
Boy {
@@ -19,11 +20,12 @@ BirthdayParty {
}
Girl {
name: "Anne Brown"
- BirthdayParty.rsvp: "2009-07-01"
shoe.size: 7
shoe.color: "red"
shoe.brand: "Marc Jacobs"
shoe.price: 699.99
+
+ BirthdayParty.rsvp: "2009-07-01"
}
}