summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbbackingstore.h
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-11-18 11:49:45 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-18 03:18:48 +0100
commitfc3705cd04fcb3b2e876d606071423be948b98d1 (patch)
tree0a647e1e11b69c8af250f18be8a2802af03756ed /src/plugins/platforms/xcb/qxcbbackingstore.h
parent21942553294dcbc1afca6f575852c237c1da3ff0 (diff)
Fixed crashes from tests using xcb plugin with -qtnamespace.
Use QT_BEGIN_NAMESPACE/QT_END_NAMESPACE consistently in xcb plugin. Some, but not all, of the sources were already using QT_BEGIN_NAMESPACE. Change-Id: I23b83cc88870fd4039437b733084ab86dd807356 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbbackingstore.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbbackingstore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbbackingstore.h b/src/plugins/platforms/xcb/qxcbbackingstore.h
index db94d26b09..a389f97ac3 100644
--- a/src/plugins/platforms/xcb/qxcbbackingstore.h
+++ b/src/plugins/platforms/xcb/qxcbbackingstore.h
@@ -48,6 +48,8 @@
#include "qxcbobject.h"
+QT_BEGIN_NAMESPACE
+
class QXcbShmImage;
class QXcbBackingStore : public QXcbObject, public QPlatformBackingStore
@@ -69,4 +71,6 @@ private:
bool m_syncingResize;
};
+QT_END_NAMESPACE
+
#endif