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
qwaylandnativeinterface_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QWAYLANDNATIVEINTERFACE_P_H
5#define QWAYLANDNATIVEINTERFACE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QVariantMap>
19#include <qpa/qplatformnativeinterface.h>
20
21#include <QtWaylandClient/qtwaylandclientglobal.h>
22#include <QtCore/private/qglobal_p.h>
23#include <QtCore/qhash.h>
24#include <QtGui/qguiapplication_platform.h>
25
27
28class QMargins;
29
30namespace QtWaylandClient {
31
32class QWaylandIntegration;
33class QWaylandScreen;
34
35class Q_WAYLANDCLIENT_EXPORT QWaylandNativeInterface : public QPlatformNativeInterface,
37{
38public:
45#if QT_CONFIG(opengl)
47#endif
53
55
56 // QWaylandApplication interface
59 wl_seat *seat() const override;
62 wl_touch *touch() const override;
65
66private:
67 static void setWindowMargins(QWindow *window, const QMargins &margins);
68
71};
72
73}
74
75QT_END_NAMESPACE
76
77#endif // QWAYLANDNATIVEINTERFACE_P_H
\inmodule QtCore
Definition qmargins.h:26
Combined button and popup list for selecting options.
#define __has_include(x)
#define WAYLAND_IM_KEY