summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwlqtkey_p.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-11 16:07:23 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-08-28 13:10:33 +0200
commite01b81339a37830c48f2cec0583e5d0aba592601 (patch)
treebd3085460c0139a10c5fd5d322b9059e6c97b5ee /src/compositor/extensions/qwlqtkey_p.h
parentbc331abe8e8ffaa3db12be7ae69e7b658dd700ac (diff)
Remove QtWayland::Surface
Its enough to have QWaylandSurface and QWaylandSurfacePrivate. Also don't pass QWaylandSurfacePrivate around, but pass QWaylandSurface and then use the QWaylandSurfacePrivate::get function. Change-Id: I915cc9d7b4497ad1c6f1f2dee61d9d0db069ba6b
Diffstat (limited to 'src/compositor/extensions/qwlqtkey_p.h')
-rw-r--r--src/compositor/extensions/qwlqtkey_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/extensions/qwlqtkey_p.h b/src/compositor/extensions/qwlqtkey_p.h
index fa78037d3..67474ffc6 100644
--- a/src/compositor/extensions/qwlqtkey_p.h
+++ b/src/compositor/extensions/qwlqtkey_p.h
@@ -45,8 +45,8 @@
QT_BEGIN_NAMESPACE
+class QWaylandSurface;
class Compositor;
-class Surface;
class QKeyEvent;
namespace QtWayland {
@@ -57,7 +57,7 @@ class QtKeyExtensionGlobal : public QWaylandExtensionTemplate<QtKeyExtensionGlob
public:
QtKeyExtensionGlobal(Compositor *compositor);
- bool postQtKeyEvent(QKeyEvent *event, Surface *surface);
+ bool postQtKeyEvent(QKeyEvent *event, QWaylandSurface *surface);
private:
Compositor *m_compositor;