summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/default/person.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/extending/default/person.h')
-rw-r--r--examples/declarative/extending/default/person.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/declarative/extending/default/person.h b/examples/declarative/extending/default/person.h
index b3eceaa..832bf11 100644
--- a/examples/declarative/extending/default/person.h
+++ b/examples/declarative/extending/default/person.h
@@ -60,20 +60,17 @@ private:
QString m_name;
int m_shoeSize;
};
-QML_DECLARE_TYPE(Person);
class Boy : public Person {
Q_OBJECT
public:
Boy(QObject * parent = 0);
};
-QML_DECLARE_TYPE(Boy);
class Girl : public Person {
Q_OBJECT
public:
Girl(QObject * parent = 0);
};
-QML_DECLARE_TYPE(Girl);
#endif // PERSON_H