summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestelementattribute.h
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-03-24 07:04:23 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-03-24 07:12:03 (GMT)
commitf5caf1998dea7dbad25dc6aed5a00fc33e8a5818 (patch)
treec1ad751f7700343686ce1e7dd9c91e8f00f33397 /src/testlib/qtestelementattribute.h
parent738e8391bc6037f7949d59781a6b2c64f5ca6a8a (diff)
downloadQt-f5caf1998dea7dbad25dc6aed5a00fc33e8a5818.zip
Qt-f5caf1998dea7dbad25dc6aed5a00fc33e8a5818.tar.gz
Qt-f5caf1998dea7dbad25dc6aed5a00fc33e8a5818.tar.bz2
Fixes compile of testlib when Qt is configured with `-qtnamespace'.
Reviewed-by: Andy Shaw
Diffstat (limited to 'src/testlib/qtestelementattribute.h')
-rw-r--r--src/testlib/qtestelementattribute.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testlib/qtestelementattribute.h b/src/testlib/qtestelementattribute.h
index 8f9dc06..2e23cd9 100644
--- a/src/testlib/qtestelementattribute.h
+++ b/src/testlib/qtestelementattribute.h
@@ -3,6 +3,8 @@
#include "qtestcorelist.h"
+QT_BEGIN_NAMESPACE
+
namespace QTest {
enum AttributeIndex
@@ -56,4 +58,6 @@ class QTestElementAttribute: public QTestCoreList<QTestElementAttribute>
QTest::AttributeIndex attributeIndex;
};
+QT_END_NAMESPACE
+
#endif