Warning: That file was not part of the compilation database. It may have many parsing errors.

1/****************************************************************************
2**
3** Copyright (C) 2017 The Qt Company Ltd.
4** Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
5** Contact: https://www.qt.io/licensing/
6**
7** This file is part of the QtWaylandCompositor module of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:GPL$
10** Commercial License Usage
11** Licensees holding valid commercial Qt licenses may use this file in
12** accordance with the commercial license agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and The Qt Company. For licensing terms
15** and conditions see https://www.qt.io/terms-conditions. For further
16** information use the contact form at https://www.qt.io/contact-us.
17**
18** GNU General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU
20** General Public License version 3 or (at your option) any later version
21** approved by the KDE Free Qt Foundation. The licenses are as published by
22** the Free Software Foundation and appearing in the file LICENSE.GPL3
23** included in the packaging of this file. Please review the following
24** information to ensure the GNU General Public License requirements will
25** be met: https://www.gnu.org/licenses/gpl-3.0.html.
26**
27** $QT_END_LICENSE$
28**
29****************************************************************************/
30
31#ifndef QWAYLANDQTWINDOWMANAGER_H
32#define QWAYLANDQTWINDOWMANAGER_H
33
34#include <QtWaylandCompositor/QWaylandCompositorExtension>
35#include <QtWaylandCompositor/QWaylandClient>
36
37#include <QtCore/QUrl>
38
39QT_BEGIN_NAMESPACE
40
41class QWaylandQtWindowManagerPrivate;
42
43class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandQtWindowManager : public QWaylandCompositorExtensionTemplate<QWaylandQtWindowManager>
44{
45 Q_OBJECT
46 Q_DECLARE_PRIVATE(QWaylandQtWindowManager)
47 Q_PROPERTY(bool showIsFullScreen READ showIsFullScreen WRITE setShowIsFullScreen NOTIFY showIsFullScreenChanged)
48public:
49 QWaylandQtWindowManager();
50 explicit QWaylandQtWindowManager(QWaylandCompositor *compositor);
51
52 bool showIsFullScreen() const;
53 void setShowIsFullScreen(bool value);
54
55 void sendQuitMessage(QWaylandClient *client);
56
57 void initialize() override;
58
59 static const struct wl_interface *interface();
60 static QByteArray interfaceName();
61
62Q_SIGNALS:
63 void showIsFullScreenChanged();
64 void openUrl(QWaylandClient *client, const QUrl &url);
65};
66
67QT_END_NAMESPACE
68
69#endif // QWAYLANDQTWINDOWMANAGER_H
70

Warning: That file was not part of the compilation database. It may have many parsing errors.

source code of qtwayland/src/compositor/extensions/qwaylandqtwindowmanager.h