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
qwaylandtextinputv3.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QWAYLANDTEXTINPUTV3_H
6#define QWAYLANDTEXTINPUTV3_H
7
8#include <QtWaylandCompositor/QWaylandCompositorExtension>
9
10struct wl_client;
11
12QT_BEGIN_NAMESPACE
13
14class QWaylandTextInputV3Private;
15
16class QInputMethodEvent;
17class QKeyEvent;
18class QWaylandSurface;
19
21{
22 Q_OBJECT
23 Q_DECLARE_PRIVATE(QWaylandTextInputV3)
24public:
27
28 void sendInputMethodEvent(QInputMethodEvent *event);
29 void sendKeyEvent(QKeyEvent *event);
30
31 QVariant inputMethodQuery(Qt::InputMethodQuery property, QVariant argument) const;
32
33 QWaylandSurface *focus() const;
34 void setFocus(QWaylandSurface *surface);
35
36 bool isSurfaceEnabled(QWaylandSurface *surface) const;
37
38 void add(::wl_client *client, uint32_t id, int version);
39 static const struct wl_interface *interface();
41
44 void surfaceEnabled(QWaylandSurface *surface);
45 void surfaceDisabled(QWaylandSurface *surface);
46
47private:
48 void focusSurfaceDestroyed(void *);
49};
50
51QT_END_NAMESPACE
52
53#endif // QWAYLANDTEXTINPUTV3_H
Qt::InputMethodQueries mergeChanged(const QWaylandTextInputV3ClientState &other)
Qt::InputMethodQueries updatedQueries(const QWaylandTextInputV3ClientState &other) const
static const struct wl_interface * interface()
void surfaceEnabled(QWaylandSurface *surface)
QVariant inputMethodQuery(Qt::InputMethodQuery property, QVariant argument) const
void sendInputMethodEvent(QInputMethodEvent *event)
void surfaceDisabled(QWaylandSurface *surface)
static QByteArray interfaceName()
void setFocus(QWaylandSurface *surface)
void add(::wl_client *client, uint32_t id, int version)
QWaylandSurface * focus() const
void sendKeyEvent(QKeyEvent *event)
bool isSurfaceEnabled(QWaylandSurface *surface) const
Combined button and popup list for selecting options.