diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-05-25 15:35:01 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-05-25 15:42:18 +0000 |
commit | 51dcf7c46170b272ed7a63f9dfe1169e90041be8 (patch) | |
tree | 8f8d55fb7f14c2b8216a218dd466c5f29c0dfc32 /src/compositor/extensions | |
parent | 2c1606d13eb04ab9058cfaed2296628fe1ce4ebd (diff) |
Compile with a namespaced build
Change-Id: I839b3bc2f4fbf67bd381bd82fdaf19f7eb096454
Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/compositor/extensions')
3 files changed, 10 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h b/src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h index 34771037c..b2d4780ab 100644 --- a/src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h +++ b/src/compositor/extensions/qwaylandquickshellsurfaceitem_p.h @@ -78,4 +78,6 @@ public: virtual bool mouseReleaseEvent(QMouseEvent *) { return false; } }; +QT_END_NAMESPACE + #endif // QWAYLANDQUICKSHELLSURFACEITEM_P_H diff --git a/src/compositor/extensions/qwaylandwlshellintegration.cpp b/src/compositor/extensions/qwaylandwlshellintegration.cpp index 8eb0ba3be..ef4e1efc6 100644 --- a/src/compositor/extensions/qwaylandwlshellintegration.cpp +++ b/src/compositor/extensions/qwaylandwlshellintegration.cpp @@ -42,6 +42,8 @@ #include <QtWaylandCompositor/QWaylandInputDevice> #include <QGuiApplication> +QT_BEGIN_NAMESPACE + namespace QtWayland { WlShellIntegration::WlShellIntegration(QWaylandQuickShellSurfaceItem *item) @@ -247,3 +249,5 @@ void WlShellIntegration::setFilterEnabled(bool enabled) } } + +QT_END_NAMESPACE diff --git a/src/compositor/extensions/qwaylandxdgshellintegration.cpp b/src/compositor/extensions/qwaylandxdgshellintegration.cpp index 3a22cce08..f77f69273 100644 --- a/src/compositor/extensions/qwaylandxdgshellintegration.cpp +++ b/src/compositor/extensions/qwaylandxdgshellintegration.cpp @@ -41,6 +41,8 @@ #include <QtWaylandCompositor/QWaylandInputDevice> #include <QMouseEvent> +QT_BEGIN_NAMESPACE + namespace QtWayland { XdgShellIntegration::XdgShellIntegration(QWaylandQuickShellSurfaceItem *item) @@ -167,3 +169,5 @@ void XdgShellIntegration::handleSurfaceSizeChanged() } } + +QT_END_NAMESPACE |