summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/signal/example.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-04-21 00:58:02 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-04-21 00:59:45 (GMT)
commit61f3cb6e79fea0aed80df091013c2228f64955ec (patch)
tree916d4879a326739673f918fc340bc5a4c356bcb9 /examples/declarative/extending/signal/example.qml
parente11a5c4d1a1bb80ac03655227c833b560c7cad3c (diff)
downloadQt-61f3cb6e79fea0aed80df091013c2228f64955ec.zip
Qt-61f3cb6e79fea0aed80df091013c2228f64955ec.tar.gz
Qt-61f3cb6e79fea0aed80df091013c2228f64955ec.tar.bz2
Improve docs and examples for Extending QML in C++
Diffstat (limited to 'examples/declarative/extending/signal/example.qml')
-rw-r--r--examples/declarative/extending/signal/example.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/extending/signal/example.qml b/examples/declarative/extending/signal/example.qml
index c7d4792..83d6a23 100644
--- a/examples/declarative/extending/signal/example.qml
+++ b/examples/declarative/extending/signal/example.qml
@@ -5,13 +5,13 @@ BirthdayParty {
onPartyStarted: console.log("This party started rockin' at " + time);
// ![0]
- celebrant: Boy {
+ host: Boy {
name: "Bob Jones"
shoe { size: 12; color: "white"; brand: "Nike"; price: 90.0 }
}
Boy {
- name: "Joan Hodges"
+ name: "Leo Hodges"
BirthdayParty.rsvp: "2009-07-06"
shoe { size: 10; color: "black"; brand: "Reebok"; price: 59.95 }
}