summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-29 08:35:16 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-29 08:35:16 (GMT)
commitc31d661d0f1269a9e06a595346b8be193974a68d (patch)
tree9d8e04fc985ce4eff9352aaa4103974cb626efbc
parent0ccd69cd51c7e067fbb26f6c47270c03f5c0568c (diff)
downloadQt-c31d661d0f1269a9e06a595346b8be193974a68d.zip
Qt-c31d661d0f1269a9e06a595346b8be193974a68d.tar.gz
Qt-c31d661d0f1269a9e06a595346b8be193974a68d.tar.bz2
Add attached properties typeinfo
-rw-r--r--tests/auto/declarative/qmlecmascript/testtypes.h1
-rw-r--r--tests/auto/declarative/qmllanguage/testtypes.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlecmascript/testtypes.h b/tests/auto/declarative/qmlecmascript/testtypes.h
index ae3a954..8b5b10c 100644
--- a/tests/auto/declarative/qmlecmascript/testtypes.h
+++ b/tests/auto/declarative/qmlecmascript/testtypes.h
@@ -95,6 +95,7 @@ private:
QList<QObject *> m_objectQList;
};
+QML_DECLARE_TYPEINFO(MyQmlObject, QML_HAS_ATTACHED_PROPERTIES)
QML_DECLARE_TYPE(MyQmlObject);
class MyQmlContainer : public QObject
diff --git a/tests/auto/declarative/qmllanguage/testtypes.h b/tests/auto/declarative/qmllanguage/testtypes.h
index 355ff8b..c16d2f5 100644
--- a/tests/auto/declarative/qmllanguage/testtypes.h
+++ b/tests/auto/declarative/qmllanguage/testtypes.h
@@ -111,6 +111,7 @@ private:
MyQmlObject *m_qmlobject;
MyCustomVariantType m_custom;
};
+QML_DECLARE_TYPEINFO(MyQmlObject, QML_HAS_ATTACHED_PROPERTIES)
QML_DECLARE_TYPE(MyQmlObject);
class MyGroupedObject : public QObject