diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-03-03 05:22:25 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-03-03 05:22:25 (GMT) |
commit | 55cec1c8e73f90f968ce181c3310e5e16f2d5bd8 (patch) | |
tree | 195cf0ca57fa8cda739bcf7133d26b4ec7878e5f /tests/auto/declarative | |
parent | 61e29b6b4b1f96fecad1ad105cd190beed6621e6 (diff) | |
download | Qt-55cec1c8e73f90f968ce181c3310e5e16f2d5bd8.zip Qt-55cec1c8e73f90f968ce181c3310e5e16f2d5bd8.tar.gz Qt-55cec1c8e73f90f968ce181c3310e5e16f2d5bd8.tar.bz2 |
Fixed compile of some tests with `-qtnamespace'
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/testtypes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/testtypes.h b/tests/auto/declarative/qdeclarativelanguage/testtypes.h index 8ac7aa6..09cddcb 100644 --- a/tests/auto/declarative/qdeclarativelanguage/testtypes.h +++ b/tests/auto/declarative/qdeclarativelanguage/testtypes.h @@ -62,7 +62,10 @@ public: MyInterface() : id(913) {} int id; }; + +QT_BEGIN_NAMESPACE Q_DECLARE_INTERFACE(MyInterface, "com.trolltech.Qt.Test.MyInterface"); +QT_END_NAMESPACE QML_DECLARE_INTERFACE(MyInterface); struct MyCustomVariantType |