diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-02-21 09:53:27 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-21 15:34:38 +0100 |
commit | 650a8ccc21f8e65730afb195b05790e3b3f9985f (patch) | |
tree | 6d2ba7166b86d2a87a2a934733becaaeb6cd7d26 /tests/auto/declarative/qdeclarativelanguage/testtypes.h | |
parent | 4f3300b7ce5c3138421a21ec83615a536c9fd316 (diff) |
Use new plugin system in QtQuick1.
- Use prefix "org.qt-project" for interfaces.
- Use new macros, add json files.
Change-Id: I157206ad883be16fb85b9b6bffca7200532561e4
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/testtypes.h')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/testtypes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/testtypes.h b/tests/auto/declarative/qdeclarativelanguage/testtypes.h index e652382e..a6b11fa1 100644 --- a/tests/auto/declarative/qdeclarativelanguage/testtypes.h +++ b/tests/auto/declarative/qdeclarativelanguage/testtypes.h @@ -66,7 +66,11 @@ public: }; QT_BEGIN_NAMESPACE -Q_DECLARE_INTERFACE(MyInterface, "com.trolltech.Qt.Test.MyInterface"); + +#define MyInterface_iid "org.qt-project.Qt.Test.MyInterface" + +Q_DECLARE_INTERFACE(MyInterface, MyInterface_iid); + QT_END_NAMESPACE QML_DECLARE_INTERFACE(MyInterface); |