diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-04-20 03:23:34 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-04-21 00:59:44 (GMT) |
commit | e11a5c4d1a1bb80ac03655227c833b560c7cad3c (patch) | |
tree | 6d377860ee054e95d7e3a285c8b0f9e7d9cc891a /examples | |
parent | b65cfb07a5bdf9e4ea1ea6e652688824f7b5da15 (diff) | |
download | Qt-e11a5c4d1a1bb80ac03655227c833b560c7cad3c.zip Qt-e11a5c4d1a1bb80ac03655227c833b560c7cad3c.tar.gz Qt-e11a5c4d1a1bb80ac03655227c833b560c7cad3c.tar.bz2 |
Make property value source examples work
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/extending/binding/example.qml | 2 | ||||
-rw-r--r-- | examples/declarative/extending/valuesource/example.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/extending/binding/example.qml b/examples/declarative/extending/binding/example.qml index b66bc86..b67049b 100644 --- a/examples/declarative/extending/binding/example.qml +++ b/examples/declarative/extending/binding/example.qml @@ -4,7 +4,7 @@ import People 1.0 BirthdayParty { id: theParty - speaker: HappyBirthday { name: theParty.celebrant.name } + HappyBirthday on speaker { name: theParty.celebrant.name } celebrant: Boy { name: "Bob Jones" diff --git a/examples/declarative/extending/valuesource/example.qml b/examples/declarative/extending/valuesource/example.qml index 7cdf8c0..ed4d788 100644 --- a/examples/declarative/extending/valuesource/example.qml +++ b/examples/declarative/extending/valuesource/example.qml @@ -2,7 +2,7 @@ import People 1.0 // ![0] BirthdayParty { - speaker: HappyBirthday { name: "Bob Jones" } + HappyBirthday on speaker { name: "Bob Jones" } // ![0] onPartyStarted: console.log("This party started rockin' at " + time); |