summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandshellsurface_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandshellsurface_p.h')
-rw-r--r--src/client/qwaylandshellsurface_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/qwaylandshellsurface_p.h b/src/client/qwaylandshellsurface_p.h
index 6f2336162..1f2346a9b 100644
--- a/src/client/qwaylandshellsurface_p.h
+++ b/src/client/qwaylandshellsurface_p.h
@@ -43,6 +43,7 @@
#define QWAYLANDSHELLSURFACE_H
#include <QtCore/QSize>
+#include <QObject>
#include <wayland-client.h>
@@ -56,8 +57,9 @@ class QWaylandWindow;
class QWaylandInputDevice;
class QWindow;
-class Q_WAYLAND_CLIENT_EXPORT QWaylandShellSurface
+class Q_WAYLAND_CLIENT_EXPORT QWaylandShellSurface : public QObject
{
+ Q_OBJECT
public:
explicit QWaylandShellSurface(QWaylandWindow *window);
virtual ~QWaylandShellSurface() {}