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
qwaylandclientextension_p.h
Go to the documentation of this file.
1// Copyright (C) 2017 Erik Larsson.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QWAYLANDCLIENTEXTENSION_P_H
6#define QWAYLANDCLIENTEXTENSION_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/private/qobject_p.h>
20#include <QtWaylandClient/QWaylandClientExtension>
21#include <QtWaylandClient/private/qwaylanddisplay_p.h>
22#include <QtWaylandClient/private/qwaylandintegration_p.h>
23
25
26class Q_WAYLANDCLIENT_EXPORT QWaylandClientExtensionPrivate : public QObjectPrivate
27{
28public:
29 Q_DECLARE_PUBLIC(QWaylandClientExtension)
30 QWaylandClientExtensionPrivate();
31
32 void globalAdded(const QtWaylandClient::QWaylandDisplay::RegistryGlobal &global);
33 void globalRemoved(const QtWaylandClient::QWaylandDisplay::RegistryGlobal &global);
34
35 QtWaylandClient::QWaylandIntegration *waylandIntegration = nullptr;
36 int version = -1;
37 bool active = false;
38};
39
40class Q_WAYLANDCLIENT_EXPORT QWaylandClientExtensionTemplatePrivate : public QWaylandClientExtensionPrivate
41{
42public:
43 QWaylandClientExtensionTemplatePrivate()
44 { }
45};
46
47QT_END_NAMESPACE
48
49#endif /*QWAYLANDCLIENTEXTENSION_P_H*/
A class for implementing custom extensions on the Wayland protocol.
A class for implementing custom extensions on the Wayland protocol.
Combined button and popup list for selecting options.