KDEUI
kmodifierkeyinfo.cpp
Go to the documentation of this file.
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
void keyLocked(Qt::Key key, bool locked)
This signal is emitted whenever the locked state of a key changes.
void keyRemoved(Qt::Key key)
This signal is emitted whenever a previously known modifier no longer exists due to the keyboard mapp...
bool isKeyLatched(Qt::Key key) const
Synchronously check if a key is latched.
Definition: kmodifierkeyinfo.cpp:56
const QList< Qt::Key > knownKeys() const
Get a list of known keys.
Definition: kmodifierkeyinfo.cpp:46
bool setKeyLocked(Qt::Key key, bool locked)
Set the locked state of a key.
Definition: kmodifierkeyinfo.cpp:71
bool setKeyLatched(Qt::Key key, bool latched)
Set the latched state of a key.
Definition: kmodifierkeyinfo.cpp:61
bool isKeyPressed(Qt::Key key) const
Synchronously check if a key is pressed.
Definition: kmodifierkeyinfo.cpp:51
void keyLatched(Qt::Key key, bool latched)
This signal is emitted whenever the latched state of a key changes.
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...
void keyPressed(Qt::Key key, bool pressed)
This signal is emitted whenever the pressed state of a key changes (key press or key release)...
bool isButtonPressed(Qt::MouseButton button) const
Synchronously check if a mouse button is pressed.
Definition: kmodifierkeyinfo.cpp:76
void keyAdded(Qt::Key key)
This signal is emitted whenever a new modifier is found due to the keyboard mapping changing...
bool isKeyLocked(Qt::Key key) const
Synchronously check if a key is locked.
Definition: kmodifierkeyinfo.cpp:66
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.