Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwaylandqtwindowmanager.h
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
4
5#ifndef QWAYLANDQTWINDOWMANAGER_H
6#define QWAYLANDQTWINDOWMANAGER_H
7
8#include <QtWaylandCompositor/QWaylandCompositorExtension>
9#include <QtWaylandCompositor/QWaylandClient>
10
11#include <QtCore/QUrl>
12
14
15class QWaylandQtWindowManagerPrivate;
16
17class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQtWindowManager : public QWaylandCompositorExtensionTemplate<QWaylandQtWindowManager>
18{
19 Q_OBJECT
20 Q_DECLARE_PRIVATE(QWaylandQtWindowManager)
21 Q_PROPERTY(bool showIsFullScreen READ showIsFullScreen WRITE setShowIsFullScreen NOTIFY showIsFullScreenChanged)
22public:
23 QWaylandQtWindowManager();
24 explicit QWaylandQtWindowManager(QWaylandCompositor *compositor);
25
26 bool showIsFullScreen() const;
27 void setShowIsFullScreen(bool value);
28
29 void sendQuitMessage(QWaylandClient *client);
30
31 void initialize() override;
32
33 static const struct wl_interface *interface();
34 static QByteArray interfaceName();
35
36Q_SIGNALS:
37 void showIsFullScreenChanged();
38 void openUrl(QWaylandClient *client, const QUrl &url);
39};
40
41QT_END_NAMESPACE
42
43#endif // QWAYLANDQTWINDOWMANAGER_H
\inmodule QtSql
void handleKeyEvent(QWindowSystemInterfacePrivate::KeyEvent *ke)
bool sendEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *e) override
WindowSystemEventHandler(QWaylandCompositor *c)
QtWayland::ClientBuffer * createBufferFor(wl_resource *buffer) override
void initializeHardware(wl_display *display) override
#define Q_PUBLIC_LOGGING_CATEGORY(name,...)
const QLoggingCategory & qLcWaylandCompositorTextInput()
const QLoggingCategory & qLcWaylandCompositorInputMethods()