Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwaylandinputmethodcontrol.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_H
5#define QWAYLANDINPUTMETHODCONTROL_H
6
7#include <QtGui/qtguiglobal.h>
8#include <QtCore/QObject>
9
11
14class QWaylandSurface;
17
19{
21 Q_DECLARE_PRIVATE(QWaylandInputMethodControl)
22 Q_DISABLE_COPY(QWaylandInputMethodControl)
23
25public:
27
28 QVariant inputMethodQuery(Qt::InputMethodQuery query, QVariant argument) const;
29
31
32 bool enabled() const;
33 void setEnabled(bool enabled);
34
35 void setSurface(QWaylandSurface *surface);
36 void updateTextInput();
37
40 void updateInputMethod(Qt::InputMethodQueries queries);
41
43 void defaultSeatChanged();
44 void surfaceEnabled(QWaylandSurface *surface);
45 void surfaceDisabled(QWaylandSurface *surface);
46};
47
49
50#endif // QWAYLANDINPUTMETHODCONTROL_H
The QInputMethodEvent class provides parameters for input method events.
Definition qevent.h:625
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore
Definition qvariant.h:65
\qmltype WaylandCompositor \instantiates QWaylandCompositor \inqmlmodule QtWayland....
void enabledChanged(bool enabled)
QVariant inputMethodQuery(Qt::InputMethodQuery query, QVariant argument) const
void inputMethodEvent(QInputMethodEvent *event)
void updateInputMethod(Qt::InputMethodQueries queries)
void setSurface(QWaylandSurface *surface)
\qmltype WaylandSurface \instantiates QWaylandSurface \inqmlmodule QtWayland.Compositor
Combined button and popup list for selecting options.
Definition qcompare.h:63
GLenum GLenum GLsizei const GLuint GLboolean enabled
struct _cl_event * event
GLenum query
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SIGNALS
#define explicit
QDBusArgument argument