#include </home/clem/local/src/opie/noncore/applets/keyhelper/keyhelperapplet/misc/KeyModifiers.h>
Collaboration diagram for KeyModifiers:

Public Types | |
| typedef QValueList< ModifierInfo * > | ModifierList |
Public Slots | |
| void | resetToggles () |
Public Member Functions | |
| KeyModifiers () | |
| virtual | ~KeyModifiers () |
| void | addType (const QString &type) |
| ModifierInfo * | assign (const QString &type, int keycode, int keymask=0, bool toggle=false) |
| void | assignRelease (int keycode) |
| void | assignRelease (ModifierInfo *info, int keycode) |
| void | setToggle () |
| void | setToggle (ModifierInfo *info) |
| bool | isToggled () |
| void | resetStates () |
| void | keepToggles () |
| bool | pressKey (int keycode, int modifiers) |
| void | releaseKey (int keycode) |
| int | getState () |
| int | getState (int modifiers, bool reset=false) |
| int | getMask (const QString &type) |
| int | getModifiers (int modifiers) |
| bool | isModifier (int keycode) |
| void | statistics () |
| void | reset () |
Private Member Functions | |
| void | clear () |
| void | init () |
Private Attributes | |
| QMap< QString, int > | m_types |
| int | m_bitmask |
| ModifierList | m_modifiers |
| QMap< int, ModifierList * > | m_releasekeys |
| ModifierList | m_togglekeys |
| ModifierInfo * | m_info |
| QTimer * | m_pTimer |
| int | m_timeout |
|
|
Definition at line 34 of file KeyModifiers.h. |
|
|
Definition at line 3 of file KeyModifiers.cpp. References init(), m_pTimer, qDebug(), and resetToggles(). |
|
|
Definition at line 12 of file KeyModifiers.cpp. |
|
|
Definition at line 19 of file KeyModifiers.cpp. References QMap< Key, T >::contains(), QMap< Key, T >::insert(), QString::latin1(), m_bitmask, m_types, and qDebug(). |
|
||||||||||||||||||||
|
Definition at line 28 of file KeyModifiers.cpp. References addType(), QValueList< T >::append(), assignRelease(), m_info, m_modifiers, and m_togglekeys. Referenced by ModifiersHandler::endElement(). |
|
||||||||||||
|
Definition at line 46 of file KeyModifiers.cpp. References QMap< Key, T >::contains(), QMap< Key, T >::insert(), and m_releasekeys. |
|
|
Definition at line 41 of file KeyModifiers.cpp. References m_info. Referenced by assign(), and ModifiersHandler::endElement(). |
|
|
Definition at line 193 of file KeyModifiers.cpp. References QMap< Key, T >::begin(), QValueList< T >::begin(), QValueList< T >::clear(), QMap< Key, T >::clear(), QMap< Key, T >::end(), QValueList< T >::end(), m_modifiers, m_releasekeys, m_togglekeys, and m_types. Referenced by reset(), and ~KeyModifiers(). |
|
|
Definition at line 184 of file KeyModifiers.cpp. References QMap< Key, T >::contains(), and m_types. Referenced by ExtensionsHandler::endElement(), getModifiers(), getState(), KeyHelper::setDefault(), ModifiersHandler::startElement(), and MappingsHandler::startElement(). |
|
|
Definition at line 167 of file KeyModifiers.cpp. References Qt::AltButton, Qt::ControlButton, getMask(), getState(), and Qt::ShiftButton. Referenced by KeyAction::doAction(). |
|
||||||||||||
|
Definition at line 134 of file KeyModifiers.cpp. References Qt::AltButton, Qt::ControlButton, getMask(), getState(), and Qt::ShiftButton. |
|
|
Definition at line 122 of file KeyModifiers.cpp. References QValueList< T >::begin(), QValueList< T >::end(), m_modifiers, and m_types. Referenced by KeyAction::doAction(), getModifiers(), getState(), and pressKey(). |
|
|
Definition at line 212 of file KeyModifiers.cpp. References addType(), ConfigEx::getInstance(), m_bitmask, m_timeout, Config::readEntry(), Config::setGroup(), and QString::toInt(). Referenced by KeyModifiers(), and reset(). |
|
|
Definition at line 98 of file KeyModifiers.cpp. References Qt::Key_Alt, Qt::Key_Control, Qt::Key_F22, Qt::Key_Meta, and Qt::Key_Shift. Referenced by KeyAction::doAction(). |
|
|
Definition at line 235 of file KeyModifiers.cpp. References QValueList< T >::begin(), QValueList< T >::end(), and m_togglekeys. |
|
|
Definition at line 65 of file KeyModifiers.cpp. References m_pTimer, and m_timeout. Referenced by KeyAction::doAction(), and pressKey(). |
|
||||||||||||
|
Definition at line 72 of file KeyModifiers.cpp. References QValueList< T >::begin(), QValueList< T >::end(), getState(), keepToggles(), m_modifiers, and m_pTimer. Referenced by KeyAction::doAction(). |
|
|
Definition at line 111 of file KeyModifiers.cpp. References QMap< Key, T >::contains(), list, and m_releasekeys. Referenced by KeyAction::doAction(). |
|
|
Definition at line 229 of file KeyModifiers.cpp. References clear(), and init(). Referenced by KeycfgReader::load(), and KeyHelper::reload(). |
|
|
Definition at line 255 of file KeyModifiers.cpp. References QValueList< T >::begin(), QValueList< T >::end(), m_modifiers, and resetToggles(). Referenced by KeyHelper::set(). |
|
|
Definition at line 246 of file KeyModifiers.cpp. References QValueList< T >::begin(), QValueList< T >::end(), m_pTimer, and m_togglekeys. Referenced by KeyAction::doAction(), KeyExtensions::doKey(), KeyModifiers(), and resetStates(). |
|
|
Definition at line 59 of file KeyModifiers.cpp. References QValueList< T >::append(), m_togglekeys, and ModifierInfo::toggle_mode. |
|
|
Definition at line 54 of file KeyModifiers.cpp. References m_info. |
|
|
Definition at line 264 of file KeyModifiers.cpp. References QMap< Key, T >::begin(), QValueList< T >::begin(), QMap< Key, T >::end(), QValueList< T >::end(), m_modifiers, m_releasekeys, and qWarning(). Referenced by KeycfgReader::load(), and KeyHelper::statistics(). |
|
|
Definition at line 68 of file KeyModifiers.h. |
|
|
Definition at line 72 of file KeyModifiers.h. Referenced by assign(), assignRelease(), and setToggle(). |
|
|
Definition at line 69 of file KeyModifiers.h. Referenced by assign(), clear(), getState(), pressKey(), resetStates(), and statistics(). |
|
|
Definition at line 73 of file KeyModifiers.h. Referenced by keepToggles(), KeyModifiers(), pressKey(), resetToggles(), and ~KeyModifiers(). |
|
|
Definition at line 70 of file KeyModifiers.h. Referenced by assignRelease(), clear(), releaseKey(), and statistics(). |
|
|
Definition at line 74 of file KeyModifiers.h. Referenced by init(), and keepToggles(). |
|
|
Definition at line 71 of file KeyModifiers.h. Referenced by assign(), clear(), isToggled(), resetToggles(), and setToggle(). |
|
|
Definition at line 67 of file KeyModifiers.h. Referenced by addType(), clear(), getMask(), and getState(). |
1.4.2