16#include <qwayland-server-text-input-unstable-v3.h>
40 void sendPreEdit(
const QString &text,
const quint32 cursorBegin,
const quint32 cursorEnd);
52 return inputInterface->d.get();
Convenient Class which represents a wl_client.
Class holding the Wayland server display loop.
Represents a Seat on the Wayland Display.
Resource representing a wl_surface.
Represent the Global for the interface.
void zwp_text_input_manager_v3_get_text_input(Resource *resource, uint32_t id, wl_resource *seat) override
TextInputManagerV3Interface * q
TextInputManagerV3InterfacePrivate(TextInputManagerV3Interface *_q, Display *display)
void zwp_text_input_manager_v3_destroy(Resource *resource) override
Represents a generic Resource for a text input object.A TextInputV3Interface gets created by the Text...
QList< TextInputV3InterfacePrivate::Resource * > enabledTextInputsForClient(ClientConnection *client) const
QList< TextInputV3InterfacePrivate::Resource * > textInputsForClient(ClientConnection *client) const
void zwp_text_input_v3_set_surrounding_text(Resource *resource, const QString &text, int32_t cursor, int32_t anchor) override
void deleteSurroundingText(quint32 beforeLength, quint32 afterLength)
void zwp_text_input_v3_commit(Resource *resource) override
TextInputContentPurpose contentPurpose
QHash< Resource *, bool > enabledHash
void zwp_text_input_v3_disable(Resource *resource) override
void commitString(const QString &text)
void sendLeave(SurfaceInterface *surface)
quint32 preeditCursorBegin
TextInputV3InterfacePrivate(SeatInterface *seat, TextInputV3Interface *_q)
void zwp_text_input_v3_set_content_type(Resource *resource, uint32_t hint, uint32_t purpose) override
void zwp_text_input_v3_destroy_resource(Resource *resource) override
void sendPreEdit(const QString &text, const quint32 cursorBegin, const quint32 cursorEnd)
void sendEnter(SurfaceInterface *surface)
void defaultPendingPreedit()
void zwp_text_input_v3_enable(Resource *resource) override
static TextInputV3InterfacePrivate * get(TextInputV3Interface *inputInterface)
QHash< Resource *, quint32 > serialHash
struct KWin::TextInputV3InterfacePrivate::@31 pending
qint32 surroundingTextCursorPosition
void zwp_text_input_v3_destroy(Resource *resource) override
TextInputContentHints contentHints
void zwp_text_input_v3_set_text_change_cause(Resource *resource, uint32_t cause) override
QPointer< SurfaceInterface > surface
qint32 surroundingTextSelectionAnchor
void zwp_text_input_v3_bind_resource(Resource *resource) override
void zwp_text_input_v3_set_cursor_rectangle(Resource *resource, int32_t x, int32_t y, int32_t width, int32_t height) override
TextInputChangeCause surroundingTextChangeCause