KGuiAddons
kmodifierkeyinfo.cpp
37 qCWarning(KGUIADDONS_LOG) << "No modifierkeyinfo backend for platform" << qGuiApp->platformName();
48 connect(p.data(), &KModifierKeyInfoProvider::buttonPressed, this, &KModifierKeyInfo::buttonPressed);
void keyPressed(Qt::Key key, bool pressed)
This signal is emitted whenever the pressed state of a key changes (key press or key release).
void keyAdded(Qt::Key key)
This signal is emitted whenever a new modifier is found due to the keyboard mapping changing.
void keyRemoved(Qt::Key key)
This signal is emitted whenever a previously known modifier no longer exists due to the keyboard mapp...
bool setKeyLocked(Qt::Key key, bool locked)
Set the locked state of a key.
Definition kmodifierkeyinfo.cpp:87
void keyLocked(Qt::Key key, bool locked)
This signal is emitted whenever the locked state of a key changes.
bool knowsKey(Qt::Key key) const
Check if a key is known by the underlying window system and can be queried.
Definition kmodifierkeyinfo.cpp:57
bool setKeyLatched(Qt::Key key, bool latched)
Set the latched state of a key.
Definition kmodifierkeyinfo.cpp:77
void keyLatched(Qt::Key key, bool latched)
This signal is emitted whenever the latched state of a key changes.
bool isButtonPressed(Qt::MouseButton button) const
Synchronously check if a mouse button is pressed.
Definition kmodifierkeyinfo.cpp:92
bool isKeyLatched(Qt::Key key) const
Synchronously check if a key is latched.
Definition kmodifierkeyinfo.cpp:72
bool isKeyPressed(Qt::Key key) const
Synchronously check if a key is pressed.
Definition kmodifierkeyinfo.cpp:67
bool isKeyLocked(Qt::Key key) const
Synchronously check if a key is locked.
Definition kmodifierkeyinfo.cpp:82
void buttonPressed(Qt::MouseButton button, bool pressed)
This signal is emitted whenever the pressed state of a mouse button changes (mouse button press or re...
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
Key
MouseButton
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.