summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandwindowmanagerextension.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/extensions/qwaylandwindowmanagerextension.h')
-rw-r--r--src/compositor/extensions/qwaylandwindowmanagerextension.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/compositor/extensions/qwaylandwindowmanagerextension.h b/src/compositor/extensions/qwaylandwindowmanagerextension.h
index 8c222d4d8..b365ff20f 100644
--- a/src/compositor/extensions/qwaylandwindowmanagerextension.h
+++ b/src/compositor/extensions/qwaylandwindowmanagerextension.h
@@ -37,17 +37,13 @@
#ifndef WAYLANDWINDOWMANAGERINTEGRATION_H
#define WAYLANDWINDOWMANAGERINTEGRATION_H
-#include <QtWaylandCompositor/qwaylandextension.h>
+#include <QtWaylandCompositor/QWaylandExtension>
#include <QtWaylandCompositor/QWaylandClient>
#include <QtCore/QUrl>
QT_BEGIN_NAMESPACE
-namespace QtWayland {
- class Display;
-}
-
class QWaylandCompositor;
class QWaylandWindowManagerExtensionPrivate;
@@ -55,16 +51,24 @@ class QWaylandWindowManagerExtensionPrivate;
class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandWindowManagerExtension : public QWaylandExtensionTemplate<QWaylandWindowManagerExtension>
{
Q_OBJECT
+ Q_PROPERTY(bool showIsFullScreen READ showIsFullScreen WRITE setShowIsFullScreen NOTIFY showIsFullScreenChanged)
Q_DECLARE_PRIVATE(QWaylandWindowManagerExtension)
public:
+ QWaylandWindowManagerExtension();
explicit QWaylandWindowManagerExtension(QWaylandCompositor *compositor);
+ bool showIsFullScreen() const;
void setShowIsFullScreen(bool value);
+
void sendQuitMessage(wl_client *client);
+ void initialize() Q_DECL_OVERRIDE;
+
static const struct wl_interface *interface();
static QByteArray interfaceName();
+
Q_SIGNALS:
+ void showIsFullScreenChanged();
void openUrl(QWaylandClient *client, const QUrl &url);
};