#include <xkb.h>
Definition at line 38 of file xkb.h.
◆ Xkb()
KWin::Xkb::Xkb |
( |
bool | followLocale1 = false | ) |
|
◆ ~Xkb()
◆ currentKeysym()
Definition at line 50 of file xkb.h.
◆ currentLayout()
quint32 KWin::Xkb::currentLayout |
( |
| ) |
const |
|
inline |
Definition at line 85 of file xkb.h.
◆ forwardModifiers()
void KWin::Xkb::forwardModifiers |
( |
| ) |
|
Forwards the current modifier state to the Wayland seat
Definition at line 472 of file xkb.cpp.
◆ keycodeFromKeysym()
std::optional< int > KWin::Xkb::keycodeFromKeysym |
( |
xkb_keysym_t | keysym | ) |
|
◆ keymap()
xkb_keymap * KWin::Xkb::keymap |
( |
| ) |
const |
|
inline |
Definition at line 75 of file xkb.h.
◆ keymapContents()
QByteArray KWin::Xkb::keymapContents |
( |
| ) |
const |
◆ layoutName() [1/2]
QString KWin::Xkb::layoutName |
( |
| ) |
const |
◆ layoutName() [2/2]
◆ layoutShortName()
QString KWin::Xkb::layoutShortName |
( |
int | index | ) |
const |
◆ leds()
LEDs KWin::Xkb::leds |
( |
| ) |
const |
|
inline |
Definition at line 70 of file xkb.h.
◆ ledsChanged
void KWin::Xkb::ledsChanged |
( |
const LEDs & | leds | ) |
|
|
signal |
◆ modifiers()
Qt::KeyboardModifiers KWin::Xkb::modifiers |
( |
| ) |
const |
|
inline |
◆ modifiersRelevantForGlobalShortcuts()
Qt::KeyboardModifiers KWin::Xkb::modifiersRelevantForGlobalShortcuts |
( |
uint32_t | scanCode = 0 | ) |
const |
◆ modifierState()
const auto & KWin::Xkb::modifierState |
( |
| ) |
const |
|
inline |
Definition at line 90 of file xkb.h.
◆ modifierStateChanged
void KWin::Xkb::modifierStateChanged |
( |
| ) |
|
|
signal |
◆ numberOfLayouts()
quint32 KWin::Xkb::numberOfLayouts |
( |
| ) |
const |
◆ reconfigure
void KWin::Xkb::reconfigure |
( |
| ) |
|
|
slot |
◆ setConfig()
void KWin::Xkb::setConfig |
( |
const KSharedConfigPtr & | config | ) |
|
◆ setFollowLocale1()
void KWin::Xkb::setFollowLocale1 |
( |
bool | follow | ) |
|
◆ setModifierLatched()
void KWin::Xkb::setModifierLatched |
( |
Qt::KeyboardModifier | mod, |
|
|
bool | latched ) |
◆ setModifierLocked()
void KWin::Xkb::setModifierLocked |
( |
Qt::KeyboardModifier | mod, |
|
|
bool | locked ) |
◆ setNumLockConfig()
void KWin::Xkb::setNumLockConfig |
( |
const KSharedConfigPtr & | config | ) |
|
◆ setSeat()
◆ shouldKeyRepeat()
bool KWin::Xkb::shouldKeyRepeat |
( |
quint32 | key | ) |
const |
◆ state()
xkb_state * KWin::Xkb::state |
( |
| ) |
const |
|
inline |
Definition at line 80 of file xkb.h.
◆ switchToLayout()
◆ switchToNextLayout()
void KWin::Xkb::switchToNextLayout |
( |
| ) |
|
◆ switchToPreviousLayout()
void KWin::Xkb::switchToPreviousLayout |
( |
| ) |
|
◆ toKeysym()
◆ toQtKey()
Qt::Key KWin::Xkb::toQtKey |
( |
xkb_keysym_t | keysym, |
|
|
uint32_t | scanCode = 0, |
|
|
Qt::KeyboardModifiers | modifiers = Qt::KeyboardModifiers(), |
|
|
bool | superAsMeta = false ) const |
◆ toString()
◆ updateKey()
◆ updateModifiers()
void KWin::Xkb::updateModifiers |
( |
uint32_t | modsDepressed, |
|
|
uint32_t | modsLatched, |
|
|
uint32_t | modsLocked, |
|
|
uint32_t | group ) |
◆ depressed
◆ latched
◆ locked
◆ state
xkb_compose_state* KWin::Xkb::state = nullptr |
◆ table
xkb_compose_table* KWin::Xkb::table = nullptr |
The documentation for this class was generated from the following files: