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
qwaylandinputmethodcontrol_p.h
Go to the documentation of this file.
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
24
25class QWaylandCompositor;
26class QWaylandSeat;
27class QWaylandSurface;
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
QVariant inputMethodQuery(Qt::InputMethodQuery query, QVariant argument) const
void inputMethodEvent(QInputMethodEvent *event)
void updateInputMethod(Qt::InputMethodQueries queries)
void setSurface(QWaylandSurface *surface)
void surfaceEnabled(QWaylandSurface *surface)
void sendInputMethodEvent(QInputMethodEvent *event)
void surfaceDisabled(QWaylandSurface *surface)
void surfaceEnabled(QWaylandSurface *surface)
void sendInputMethodEvent(QInputMethodEvent *event)
void surfaceDisabled(QWaylandSurface *surface)
void sendInputMethodEvent(QInputMethodEvent *event)
void surfaceDisabled(QWaylandSurface *surface)
void surfaceEnabled(QWaylandSurface *surface)
Combined button and popup list for selecting options.