summaryrefslogtreecommitdiffstats
path: root/src/plugins/hardwareintegration/compositor/wayland-egl/main.cpp
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@digia.com>2013-11-13 10:35:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-27 15:32:36 +0100
commit434dcf63a5753c56bcc94185d1af381ae94efeb5 (patch)
tree2f5d27bada2026a7cb21dc153d4c8a4d511ffcac /src/plugins/hardwareintegration/compositor/wayland-egl/main.cpp
parenteb1c91b2185df1d57a87ed2b5335f3b0ba500c67 (diff)
Compositor: rename QWaylandGraphicsHardwareIntegration
to QWaylandClientBufferIntegration. I have checked this with xcomposite-egl and wayland-egl, abd have tried to do a simple search and replace for brcm-egl and xcomposite-glx, but there will likely be some small fixup needed Change-Id: I48d284b8a5172273e0a26443074a87a8171b9e88 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/plugins/hardwareintegration/compositor/wayland-egl/main.cpp')
-rw-r--r--src/plugins/hardwareintegration/compositor/wayland-egl/main.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/plugins/hardwareintegration/compositor/wayland-egl/main.cpp b/src/plugins/hardwareintegration/compositor/wayland-egl/main.cpp
index 75a9fba29..8c3f46ffc 100644
--- a/src/plugins/hardwareintegration/compositor/wayland-egl/main.cpp
+++ b/src/plugins/hardwareintegration/compositor/wayland-egl/main.cpp
@@ -39,18 +39,19 @@
**
****************************************************************************/
-#include <QtCompositor/qwaylandgraphicshardwareintegrationplugin.h>
-#include "waylandeglintegration.h"
+#include <QtCompositor/qwaylandclientbufferintegrationfactory.h>
+#include <QtCompositor/qwaylandclientbufferintegrationplugin.h>
+#include "waylandeglclientbufferintegration.h"
QT_BEGIN_NAMESPACE
-class QWaylandIntegrationPlugin : public QWaylandGraphicsHardwareIntegrationPlugin
+class QWaylandIntegrationPlugin : public QWaylandClientBufferIntegrationPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.Compositor.QWaylandGraphicsHardwareIntegrationFactoryInterface.5.1" FILE "wayland-egl.json")
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.Compositor.QWaylandClientBufferIntegrationFactoryInterface.5.1" FILE "wayland-egl.json")
public:
QStringList keys() const;
- QWaylandGraphicsHardwareIntegration *create(const QString&, const QStringList&);
+ QWaylandClientBufferIntegration *create(const QString&, const QStringList&);
};
QStringList QWaylandIntegrationPlugin::keys() const
@@ -60,11 +61,11 @@ QStringList QWaylandIntegrationPlugin::keys() const
return list;
}
-QWaylandGraphicsHardwareIntegration *QWaylandIntegrationPlugin::create(const QString& system, const QStringList& paramList)
+QWaylandClientBufferIntegration *QWaylandIntegrationPlugin::create(const QString& system, const QStringList& paramList)
{
Q_UNUSED(paramList);
if (system.toLower() == "wayland-egl")
- return new WaylandEglIntegration();
+ return new WaylandEglClientBufferIntegration();
return 0;
}