KDEUI
kmodifierkeyinfo.cpp
Go to the documentation of this file.
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:71
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:41
bool setKeyLatched(Qt::Key key, bool latched)
Set the latched state of a key.
Definition kmodifierkeyinfo.cpp:61
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:76
bool isKeyLatched(Qt::Key key) const
Synchronously check if a key is latched.
Definition kmodifierkeyinfo.cpp:56
bool isKeyPressed(Qt::Key key) const
Synchronously check if a key is pressed.
Definition kmodifierkeyinfo.cpp:51
bool isKeyLocked(Qt::Key key) const
Synchronously check if a key is locked.
Definition kmodifierkeyinfo.cpp:66
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...
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.