diff options
Diffstat (limited to 'examples/declarative/extending/coercion/person.cpp')
-rw-r--r-- | examples/declarative/extending/coercion/person.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/extending/coercion/person.cpp b/examples/declarative/extending/coercion/person.cpp index 4605db9..d075851 100644 --- a/examples/declarative/extending/coercion/person.cpp +++ b/examples/declarative/extending/coercion/person.cpp @@ -35,12 +35,12 @@ 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); // ![1] |