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_p.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:critical reason:network-protocol
5
6#ifndef QWAYLANDQTWINDOWMANAGER_P_H
7#define QWAYLANDQTWINDOWMANAGER_P_H
8
9#include <QtCore/QHash>
10
11#include <QtWaylandCompositor/QWaylandQtWindowManager>
12#include <QtWaylandCompositor/private/qwaylandcompositorextension_p.h>
13#include <QtWaylandCompositor/private/qwayland-server-qt-windowmanager.h>
14
15//
16// W A R N I N G
17// -------------
18//
19// This file is not part of the Qt API. It exists purely as an
20// implementation detail. This header file may change from version to
21// version without notice, or even be removed.
22//
23// We mean it.
24//
25
27
28class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQtWindowManagerPrivate
29 : public QWaylandCompositorExtensionPrivate
30 , public QtWaylandServer::qt_windowmanager
31{
32 Q_DECLARE_PUBLIC(QWaylandQtWindowManager)
33public:
34 QWaylandQtWindowManagerPrivate();
35
36protected:
37 void windowmanager_bind_resource(Resource *resource) override;
38 void windowmanager_destroy_resource(Resource *resource) override;
39 void windowmanager_open_url(Resource *resource, uint32_t remaining, const QString &url) override;
40
41private:
42 bool showIsFullScreen = false;
43 QHash<Resource*, QString> urls;
44};
45
46QT_END_NAMESPACE
47
48#endif // QWAYLANDQTWINDOWMANAGER_P_H
Combined button and popup list for selecting options.