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
QWaylandTextInputPrivate Class Reference

#include <qwaylandtextinput_p.h>

Inheritance diagram for QWaylandTextInputPrivate:
Collaboration diagram for QWaylandTextInputPrivate:

Public Member Functions

 QWaylandTextInputPrivate (QWaylandCompositor *compositor)
void sendInputMethodEvent (QInputMethodEvent *event)
void sendKeyEvent (QKeyEvent *event)
void sendInputPanelState ()
void sendTextDirection ()
void sendLocale ()
void sendModifiersMap (const QByteArray &modifiersMap)
QVariant inputMethodQuery (Qt::InputMethodQuery property, QVariant argument) const
void setFocus (QWaylandSurface *surface)
Public Member Functions inherited from QWaylandCompositorExtensionPrivate
 QWaylandCompositorExtensionPrivate ()
Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
void setObjectNameWithoutBindings (const QString &name)
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QObjectPrivate ()
void deleteChildren ()
void clearBindingStorage ()
void setParent_helper (QObject *)
void moveToThread_helper ()
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
QObjectList receiverList (const char *signal) const
void ensureConnectionData ()
void addConnection (int signal, Connection *c)
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
bool maybeSignalConnected (uint signalIndex) const
bool isDeclarativeSignalConnected (uint signalIdx) const
void connectNotify (const QMetaMethod &signal)
void disconnectNotify (const QMetaMethod &signal)
void reinitBindingStorageAfterThreadMove ()
virtual std::string flagsForDumping () const
virtual void writeToDebugStream (QDebug &) const
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
Public Member Functions inherited from QObjectData
 QObjectData ()=default
virtual ~QObjectData ()=0
const QMetaObjectdynamicMetaObject () const

Public Attributes

QWaylandCompositorcompositor = nullptr
QWaylandSurfacefocus = nullptr
Resource * focusResource = nullptr
QWaylandDestroyListener focusDestroyListener
bool inputPanelVisible = false
std::unique_ptr< QWaylandTextInputClientStatecurrentState
std::unique_ptr< QWaylandTextInputClientStatependingState
uint32_t serial = 0
QHash< Resource *, QWaylandSurface * > enabledSurfaces
Public Attributes inherited from QWaylandCompositorExtensionPrivate
QWaylandObjectextension_container = nullptr
bool initialized = false
Public Attributes inherited from QObjectPrivate
ExtraDataextraData
QAtomicPointer< QThreadDatathreadData
QAtomicPointer< ConnectionDataconnections
union { 
   QObject *   currentChildBeingDeleted 
   QAbstractDeclarativeData *   declarativeData 
}; 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
Public Attributes inherited from QObjectData
QObjectq_ptr
QObjectparent
QObjectList children
uint isWidget: 1
uint blockSig: 1
uint wasDeleted: 1
uint isDeletingChildren: 1
uint sendChildEvents: 1
uint receiveChildEvents: 1
uint isWindow: 1
uint deleteLaterCalled: 1
uint isQuickItem: 1
uint willBeWidget: 1
uint wasWidget: 1
uint receiveParentEvents: 1
uint unused: 20
QAtomicInt postedEvents
QDynamicMetaObjectDatametaObject
QBindingStorage bindingStorage

Protected Member Functions

void zwp_text_input_v2_bind_resource (Resource *resource) override
void zwp_text_input_v2_destroy_resource (Resource *resource) override
void zwp_text_input_v2_destroy (Resource *resource) override
void zwp_text_input_v2_enable (Resource *resource, wl_resource *surface) override
void zwp_text_input_v2_disable (Resource *resource, wl_resource *surface) override
void zwp_text_input_v2_show_input_panel (Resource *resource) override
void zwp_text_input_v2_hide_input_panel (Resource *resource) override
void zwp_text_input_v2_set_surrounding_text (Resource *resource, const QString &text, int32_t cursor, int32_t anchor) override
void zwp_text_input_v2_set_content_type (Resource *resource, uint32_t hint, uint32_t purpose) override
void zwp_text_input_v2_set_cursor_rectangle (Resource *resource, int32_t x, int32_t y, int32_t width, int32_t height) override
void zwp_text_input_v2_set_preferred_language (Resource *resource, const QString &language) override
void zwp_text_input_v2_update_state (Resource *resource, uint32_t serial, uint32_t flags) override

Additional Inherited Members

Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
Static Public Member Functions inherited from QWaylandCompositorExtensionPrivate
static QWaylandCompositorExtensionPrivateget (QWaylandCompositorExtension *extension)
Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
static QObjectPrivateget (QObject *o)
static const QObjectPrivateget (const QObject *o)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static bool disconnect (const QObject *sender, int signal_index, void **slot)
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)

Detailed Description

Definition at line 53 of file qwaylandtextinput_p.h.

Constructor & Destructor Documentation

◆ QWaylandTextInputPrivate()

QWaylandTextInputPrivate::QWaylandTextInputPrivate ( QWaylandCompositor * compositor)
explicit

Definition at line 84 of file qwaylandtextinput.cpp.

Member Function Documentation

◆ inputMethodQuery()

QVariant QWaylandTextInputPrivate::inputMethodQuery ( Qt::InputMethodQuery property,
QVariant argument ) const

Definition at line 229 of file qwaylandtextinput.cpp.

◆ sendInputMethodEvent()

void QWaylandTextInputPrivate::sendInputMethodEvent ( QInputMethodEvent * event)

Definition at line 91 of file qwaylandtextinput.cpp.

◆ sendInputPanelState()

void QWaylandTextInputPrivate::sendInputPanelState ( )

Definition at line 194 of file qwaylandtextinput.cpp.

◆ sendKeyEvent()

void QWaylandTextInputPrivate::sendKeyEvent ( QKeyEvent * event)

Definition at line 167 of file qwaylandtextinput.cpp.

◆ sendLocale()

void QWaylandTextInputPrivate::sendLocale ( )

Definition at line 220 of file qwaylandtextinput.cpp.

◆ sendModifiersMap()

void QWaylandTextInputPrivate::sendModifiersMap ( const QByteArray & modifiersMap)

Definition at line 300 of file qwaylandtextinput.cpp.

◆ sendTextDirection()

void QWaylandTextInputPrivate::sendTextDirection ( )

Definition at line 209 of file qwaylandtextinput.cpp.

◆ setFocus()

void QWaylandTextInputPrivate::setFocus ( QWaylandSurface * surface)

Definition at line 270 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_bind_resource()

void QWaylandTextInputPrivate::zwp_text_input_v2_bind_resource ( Resource * resource)
overrideprotected

Definition at line 311 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_destroy()

void QWaylandTextInputPrivate::zwp_text_input_v2_destroy ( Resource * resource)
overrideprotected

Definition at line 326 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_destroy_resource()

void QWaylandTextInputPrivate::zwp_text_input_v2_destroy_resource ( Resource * resource)
overrideprotected

Definition at line 320 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_disable()

void QWaylandTextInputPrivate::zwp_text_input_v2_disable ( Resource * resource,
wl_resource * surface )
overrideprotected

Definition at line 345 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_enable()

void QWaylandTextInputPrivate::zwp_text_input_v2_enable ( Resource * resource,
wl_resource * surface )
overrideprotected

Definition at line 331 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_hide_input_panel()

void QWaylandTextInputPrivate::zwp_text_input_v2_hide_input_panel ( Resource * resource)
overrideprotected

Definition at line 360 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_set_content_type()

void QWaylandTextInputPrivate::zwp_text_input_v2_set_content_type ( Resource * resource,
uint32_t hint,
uint32_t purpose )
overrideprotected

Definition at line 410 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_set_cursor_rectangle()

void QWaylandTextInputPrivate::zwp_text_input_v2_set_cursor_rectangle ( Resource * resource,
int32_t x,
int32_t y,
int32_t width,
int32_t height )
overrideprotected

Definition at line 367 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_set_preferred_language()

void QWaylandTextInputPrivate::zwp_text_input_v2_set_preferred_language ( Resource * resource,
const QString & language )
overrideprotected

Definition at line 476 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_set_surrounding_text()

void QWaylandTextInputPrivate::zwp_text_input_v2_set_surrounding_text ( Resource * resource,
const QString & text,
int32_t cursor,
int32_t anchor )
overrideprotected

Definition at line 486 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_show_input_panel()

void QWaylandTextInputPrivate::zwp_text_input_v2_show_input_panel ( Resource * resource)
overrideprotected

Definition at line 353 of file qwaylandtextinput.cpp.

◆ zwp_text_input_v2_update_state()

void QWaylandTextInputPrivate::zwp_text_input_v2_update_state ( Resource * resource,
uint32_t serial,
uint32_t flags )
overrideprotected

Definition at line 377 of file qwaylandtextinput.cpp.

Member Data Documentation

◆ compositor

QWaylandCompositor* QWaylandTextInputPrivate::compositor = nullptr

Definition at line 70 of file qwaylandtextinput_p.h.

◆ currentState

std::unique_ptr<QWaylandTextInputClientState> QWaylandTextInputPrivate::currentState

Definition at line 78 of file qwaylandtextinput_p.h.

◆ enabledSurfaces

QHash<Resource *, QWaylandSurface*> QWaylandTextInputPrivate::enabledSurfaces

Definition at line 83 of file qwaylandtextinput_p.h.

◆ focus

QWaylandSurface* QWaylandTextInputPrivate::focus = nullptr

Definition at line 72 of file qwaylandtextinput_p.h.

◆ focusDestroyListener

QWaylandDestroyListener QWaylandTextInputPrivate::focusDestroyListener

Definition at line 74 of file qwaylandtextinput_p.h.

◆ focusResource

Resource* QWaylandTextInputPrivate::focusResource = nullptr

Definition at line 73 of file qwaylandtextinput_p.h.

◆ inputPanelVisible

bool QWaylandTextInputPrivate::inputPanelVisible = false

Definition at line 76 of file qwaylandtextinput_p.h.

◆ pendingState

std::unique_ptr<QWaylandTextInputClientState> QWaylandTextInputPrivate::pendingState

Definition at line 79 of file qwaylandtextinput_p.h.

◆ serial

uint32_t QWaylandTextInputPrivate::serial = 0

Definition at line 81 of file qwaylandtextinput_p.h.


The documentation for this class was generated from the following files: