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 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | class QWaylandCompositor; |
26 | class QWaylandSeat; |
27 | class QWaylandSurface; |
28 | class QWaylandTextInput; |
29 | class QWaylandTextInputV3; |
30 | class QWaylandQtTextInputMethod; |
31 | |
32 | class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandInputMethodControlPrivate : public QObjectPrivate |
33 | { |
34 | Q_DECLARE_PUBLIC(QWaylandInputMethodControl) |
35 | |
36 | public: |
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 | |
49 | QT_END_NAMESPACE |
50 | |
51 | #endif // QWAYLANDINPUTMETHODCONTROL_P_H |
52 |