1// Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDINPUTMETHODCONTROL_P_H
5#define QWAYLANDINPUTMETHODCONTROL_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 <QtWaylandCompositor/qtwaylandcompositorglobal.h>
19#include <QtWaylandCompositor/qwaylandinputmethodcontrol.h>
20
21#include <QtCore/private/qobject_p.h>
22
23QT_BEGIN_NAMESPACE
24
25class QWaylandCompositor;
26class QWaylandSeat;
27class QWaylandSurface;
28class QWaylandTextInput;
29class QWaylandTextInputV3;
30class QWaylandQtTextInputMethod;
31
32class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandInputMethodControlPrivate : public QObjectPrivate
33{
34 Q_DECLARE_PUBLIC(QWaylandInputMethodControl)
35
36public:
37 explicit QWaylandInputMethodControlPrivate(QWaylandSurface *surface);
38
39 QWaylandTextInput *textInput() const;
40 QWaylandTextInputV3 *textInputV3() const;
41 QWaylandQtTextInputMethod *textInputMethod() const;
42
43 QWaylandCompositor *compositor = nullptr;
44 QWaylandSeat *seat = nullptr;
45 QWaylandSurface *surface = nullptr;
46 bool enabled = false;
47};
48
49QT_END_NAMESPACE
50
51#endif // QWAYLANDINPUTMETHODCONTROL_P_H
52

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtwayland/src/compositor/compositor_api/qwaylandinputmethodcontrol_p.h