summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/coercion/person.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-02-25 14:53:09 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-02-25 14:53:09 (GMT)
commit8d720825279c8bf06d28b1f756031402f117002b (patch)
tree5ea180f93387223c532d76f53d74054ea7a6f2b4 /examples/declarative/extending/coercion/person.cpp
parent8928e37c8b1b375e74c5981915c034123de11b3d (diff)
parentd6197028818e51e78249b029a823fde1b0ffde03 (diff)
downloadQt-8d720825279c8bf06d28b1f756031402f117002b.zip
Qt-8d720825279c8bf06d28b1f756031402f117002b.tar.gz
Qt-8d720825279c8bf06d28b1f756031402f117002b.tar.bz2
Merge branch 'master' of git:qt/qt-qml
Conflicts: src/declarative/graphicsitems/qdeclarativeparticles.cpp
Diffstat (limited to 'examples/declarative/extending/coercion/person.cpp')
-rw-r--r--examples/declarative/extending/coercion/person.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/declarative/extending/coercion/person.cpp b/examples/declarative/extending/coercion/person.cpp
index 9eef8f7..5b5203a 100644
--- a/examples/declarative/extending/coercion/person.cpp
+++ b/examples/declarative/extending/coercion/person.cpp
@@ -65,22 +65,16 @@ void Person::setShoeSize(int s)
m_shoeSize = s;
}
-// ![0]
-QML_DEFINE_NOCREATE_TYPE(Person);
-// ![0]
-
// ![1]
Boy::Boy(QObject * parent)
: Person(parent)
{
}
-QML_DEFINE_TYPE(People, 1,0, Boy, Boy);
Girl::Girl(QObject * parent)
: Person(parent)
{
}
-QML_DEFINE_TYPE(People, 1,0, Girl, Girl);
// ![1]