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// Qt-Security score:significant reason:default
5
6#ifndef QWAYLANDQTWINDOWMANAGER_H
7#define QWAYLANDQTWINDOWMANAGER_H
8
9#include <QtWaylandCompositor/QWaylandCompositorExtension>
10#include <QtWaylandCompositor/QWaylandClient>
11
12#include <QtCore/QUrl>
13
15
16class QWaylandQtWindowManagerPrivate;
17
18class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQtWindowManager : public QWaylandCompositorExtensionTemplate<QWaylandQtWindowManager>
19{
20 Q_OBJECT
21 Q_DECLARE_PRIVATE(QWaylandQtWindowManager)
22 Q_PROPERTY(bool showIsFullScreen READ showIsFullScreen WRITE setShowIsFullScreen NOTIFY showIsFullScreenChanged)
23public:
24 QWaylandQtWindowManager();
25 explicit QWaylandQtWindowManager(QWaylandCompositor *compositor);
26
27 bool showIsFullScreen() const;
28 void setShowIsFullScreen(bool value);
29
30 void sendQuitMessage(QWaylandClient *client);
31
32 void initialize() override;
33
34 static const struct wl_interface *interface();
35 static QByteArray interfaceName();
36
37Q_SIGNALS:
38 void showIsFullScreenChanged();
39 void openUrl(QWaylandClient *client, const QUrl &url);
40};
41
42QT_END_NAMESPACE
43
44#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
Combined button and popup list for selecting options.
#define Q_PUBLIC_LOGGING_CATEGORY(name,...)
const QLoggingCategory & qLcWaylandCompositorTextInput()
const QLoggingCategory & qLcWaylandCompositorInputMethods()