summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-09-23 15:01:04 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-28 12:18:37 +0200
commitdea76f3496ee077e271b334c7e8101fed5119481 (patch)
tree6a8833a12f851391f148ea1aae1fcfd5eaef88b9 /src/plugins/platforms/xcb/qxcbnativeinterface.cpp
parentcb57d36f4559faf63acdca2cfb7b35431b959164 (diff)
Make qtbase build with Qt-in-namespace again
Change-Id: I5faa8690a05d6ec352fc69c0b69848539f2ed216 Reviewed-on: http://codereview.qt-project.org/5460 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbnativeinterface.cpp')
-rw-r--r--src/plugins/platforms/xcb/qxcbnativeinterface.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.cpp b/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
index 3c9cdfd257..5e0af8d24d 100644
--- a/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
+++ b/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
@@ -57,6 +57,8 @@
#include "qdri2context.h"
#endif
+QT_BEGIN_NAMESPACE
+
class QXcbResourceMap : public QMap<QByteArray, QXcbNativeInterface::ResourceType>
{
public:
@@ -202,3 +204,5 @@ void * QXcbNativeInterface::eglContextForContext(QOpenGLContext *context)
return 0;
#endif
}
+
+QT_END_NAMESPACE