diff options
Diffstat (limited to 'examples/qml/cppextensions/referenceexamples/attached/example.qml')
-rw-r--r-- | examples/qml/cppextensions/referenceexamples/attached/example.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/qml/cppextensions/referenceexamples/attached/example.qml b/examples/qml/cppextensions/referenceexamples/attached/example.qml index 6a83af2804..aaf998d386 100644 --- a/examples/qml/cppextensions/referenceexamples/attached/example.qml +++ b/examples/qml/cppextensions/referenceexamples/attached/example.qml @@ -39,6 +39,7 @@ ****************************************************************************/ import People 1.0 +import QtQuick 2.0 // For QColor //! [begin] BirthdayParty { @@ -58,7 +59,7 @@ BirthdayParty { BirthdayParty.rsvp: "2009-07-06" } // ![1] - Boy { + host: Boy { name: "Jack Smith" shoe { size: 8; color: "blue"; brand: "Puma"; price: 19.95 } } |