summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/hardwareintegration/qwaylandclientbufferintegrationplugin.cpp
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-01-29 14:35:44 +0200
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-01-29 12:53:04 +0000
commit0dc189a432779d5840a8e1847a24b898daf6f3c5 (patch)
tree370a5262a310737440bdd6e7cc01b6ea9c5f9891 /src/plugins/platforms/wayland/hardwareintegration/qwaylandclientbufferintegrationplugin.cpp
parent726e478bbeffb3c174d82bcd5621e917fc959fc8 (diff)
Namespace the platform plugins
There currently is a QWaylandInputDevice class both in the wayland QPA plugin and in the QtCompositor API. This causes the qwindow-compositor example to crash when running nested in a wayland session due to a mismatch between the two classes. By namespacing all the plugin code we make sure that name clashes will not happen anymore. Change-Id: I17497cff697599200bea68bf01dfde474526390f Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/wayland/hardwareintegration/qwaylandclientbufferintegrationplugin.cpp')
-rw-r--r--src/plugins/platforms/wayland/hardwareintegration/qwaylandclientbufferintegrationplugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/hardwareintegration/qwaylandclientbufferintegrationplugin.cpp b/src/plugins/platforms/wayland/hardwareintegration/qwaylandclientbufferintegrationplugin.cpp
index afc1051067d..1b362b29436 100644
--- a/src/plugins/platforms/wayland/hardwareintegration/qwaylandclientbufferintegrationplugin.cpp
+++ b/src/plugins/platforms/wayland/hardwareintegration/qwaylandclientbufferintegrationplugin.cpp
@@ -43,6 +43,8 @@
QT_BEGIN_NAMESPACE
+namespace QtWaylandClient {
+
QWaylandClientBufferIntegrationPlugin::QWaylandClientBufferIntegrationPlugin(QObject *parent) :
QObject(parent)
{
@@ -52,4 +54,6 @@ QWaylandClientBufferIntegrationPlugin::~QWaylandClientBufferIntegrationPlugin()
{
}
+}
+
QT_END_NAMESPACE