diff options
Diffstat (limited to 'examples/declarative/extending/valuesource/person.cpp')
-rw-r--r-- | examples/declarative/extending/valuesource/person.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/extending/valuesource/person.cpp b/examples/declarative/extending/valuesource/person.cpp index 48a94e8..eeedd1d 100644 --- a/examples/declarative/extending/valuesource/person.cpp +++ b/examples/declarative/extending/valuesource/person.cpp @@ -73,11 +73,11 @@ Boy::Boy(QObject * parent) { } -QML_DEFINE_TYPE(Boy, Boy); +QML_DEFINE_TYPE(People, 1, 0, 0, Boy, Boy); Girl::Girl(QObject * parent) : Person(parent) { } -QML_DEFINE_TYPE(Girl, Girl); +QML_DEFINE_TYPE(People, 1, 0, 0, Girl, Girl); |