summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestxmlstreamer.cpp
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-03-24 17:04:23 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-03-24 17:12:03 +1000
commitf5caf1998dea7dbad25dc6aed5a00fc33e8a5818 (patch)
treec1ad751f7700343686ce1e7dd9c91e8f00f33397 /src/testlib/qtestxmlstreamer.cpp
parent738e8391bc6037f7949d59781a6b2c64f5ca6a8a (diff)
Fixes compile of testlib when Qt is configured with `-qtnamespace'.
Reviewed-by: Andy Shaw
Diffstat (limited to 'src/testlib/qtestxmlstreamer.cpp')
-rw-r--r--src/testlib/qtestxmlstreamer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testlib/qtestxmlstreamer.cpp b/src/testlib/qtestxmlstreamer.cpp
index 16e421a15f..cf99b96f8e 100644
--- a/src/testlib/qtestxmlstreamer.cpp
+++ b/src/testlib/qtestxmlstreamer.cpp
@@ -9,6 +9,8 @@
#include <string.h>
#include <stdio.h>
+QT_BEGIN_NAMESPACE
+
QTestXmlStreamer::QTestXmlStreamer()
:QTestBasicStreamer()
{
@@ -171,3 +173,6 @@ void QTestXmlStreamer::output(QTestElement *element) const
QTest::qt_snprintf(buf, sizeof(buf), "</TestCase>\n");
outputString(buf);
}
+
+QT_END_NAMESPACE
+