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>.
|
#include <qwaylandkeyboard_p.h>
Static Public Member Functions | |
static QWaylandKeyboardPrivate * | get (QWaylandKeyboard *keyboard) |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (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) |
Protected Member Functions | |
void | keyboard_bind_resource (Resource *resource) override |
void | keyboard_destroy_resource (Resource *resource) override |
void | keyboard_release (Resource *resource) override |
Definition at line 38 of file qwaylandkeyboard_p.h.
QT_BEGIN_NAMESPACE QWaylandKeyboardPrivate::QWaylandKeyboardPrivate | ( | QWaylandSeat * | seat | ) |
Definition at line 27 of file qwaylandkeyboard.cpp.
|
override |
Definition at line 32 of file qwaylandkeyboard.cpp.
Definition at line 514 of file qwaylandkeyboard.cpp.
References Qt::AltModifier, compositor(), Qt::ControlModifier, Qt::hex(), Qt::Key_Alt, Qt::Key_Control, Qt::Key_Shift, Q_UNUSED, qCDebug, and Qt::ShiftModifier.
void QWaylandKeyboardPrivate::checkFocusResource | ( | Resource * | resource | ) |
Definition at line 49 of file qwaylandkeyboard.cpp.
References QWaylandSurface::resource(), and sendEnter().
Referenced by keyboard_bind_resource().
|
inline |
Definition at line 49 of file qwaylandkeyboard_p.h.
References QWaylandSeat::compositor().
Referenced by checkAndRepairModifierState(), focused(), maybeUpdateKeymap(), sendEnter(), sendKeyEvent(), and updateModifierState().
void QWaylandKeyboardPrivate::focused | ( | QWaylandSurface * | surface | ) |
Definition at line 72 of file qwaylandkeyboard.cpp.
References compositor(), QWaylandSurface::isCursorSurface(), QWaylandDestroyListener::listenForDestruction(), Q_EMIT, QWaylandDestroyListener::reset(), QWaylandSurface::resource(), sendEnter(), and QWaylandSurface::waylandClient().
|
static |
Definition at line 44 of file qwaylandkeyboard.cpp.
Referenced by QtWayland::WindowSystemEventHandler::handleKeyEvent(), and QWaylandSeat::sendFullKeyEvent().
|
overrideprotected |
Definition at line 97 of file qwaylandkeyboard.cpp.
References checkFocusResource(), and open().
|
overrideprotected |
Definition at line 118 of file qwaylandkeyboard.cpp.
|
overrideprotected |
Definition at line 124 of file qwaylandkeyboard.cpp.
Definition at line 129 of file qwaylandkeyboard.cpp.
References QList< T >::removeAll(), and state.
void QWaylandKeyboardPrivate::maybeUpdateKeymap | ( | ) |
Definition at line 237 of file qwaylandkeyboard.cpp.
References compositor(), and QList< T >::isEmpty().
void QWaylandKeyboardPrivate::sendEnter | ( | QWaylandSurface * | surface, |
Resource * | resource ) |
Definition at line 65 of file qwaylandkeyboard.cpp.
References compositor(), QList< T >::data(), QByteArray::fromRawData(), QWaylandSurface::resource(), and QList< T >::size().
Referenced by checkFocusResource(), and focused().
Definition at line 140 of file qwaylandkeyboard.cpp.
References compositor(), state, and time.
Definition at line 191 of file qwaylandkeyboard.cpp.
References Qt::AltModifier, compositor(), Qt::ControlModifier, Qt::NoModifier, Q_UNUSED, Qt::ShiftModifier, and state.