summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/webchannel/tst_webchannel.cpp2
-rw-r--r--tests/auto/webchannel/tst_webchannel.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/webchannel/tst_webchannel.cpp b/tests/auto/webchannel/tst_webchannel.cpp
index 2de34c9..db30627 100644
--- a/tests/auto/webchannel/tst_webchannel.cpp
+++ b/tests/auto/webchannel/tst_webchannel.cpp
@@ -47,6 +47,8 @@
#include <QtTest>
+QT_USE_NAMESPACE
+
TestWebChannel::TestWebChannel(QObject *parent)
: QObject(parent)
, m_dummyTransport(new DummyTransport(this))
diff --git a/tests/auto/webchannel/tst_webchannel.h b/tests/auto/webchannel/tst_webchannel.h
index 57e6b5d..d479f92 100644
--- a/tests/auto/webchannel/tst_webchannel.h
+++ b/tests/auto/webchannel/tst_webchannel.h
@@ -47,6 +47,8 @@
#include <QtWebChannel/QWebChannelAbstractTransport>
+QT_BEGIN_NAMESPACE
+
class DummyTransport : public QWebChannelAbstractTransport
{
Q_OBJECT
@@ -237,4 +239,6 @@ private:
QVariant m_lastVariant;
};
+QT_END_NAMESPACE
+
#endif // TST_WEBCHANNEL_H