#include </home/clem/local/src/opie/libopie2/opiecore/okeyconfigmanager.h>
Public Types | |
| typedef QValueList< OKeyPair > | List |
Public Member Functions | |
| OKeyPair (int key=-1, int modifier=-1) | |
| ~OKeyPair () | |
| bool | operator== (const OKeyPair &) const |
| bool | operator!= (const OKeyPair &) const |
| bool | isEmpty () const |
| int | keycode () const |
| int | modifier () const |
| void | setKeycode (int) |
| void | setModifier (int) |
Static Public Member Functions | |
| static OKeyPair | returnKey () |
| static OKeyPair | leftArrowKey () |
| static OKeyPair | rightArrowKey () |
| static OKeyPair | upArrowKey () |
| static OKeyPair | downArrowKey () |
| static OKeyPair | emptyKey () |
| static OKeyPair::List | hardwareKeys () |
Private Attributes | |
| int | m_key |
| int | m_mod |
| Private * | d |
Definition at line 31 of file okeyconfigmanager.h.
|
|
Definition at line 33 of file okeyconfigmanager.h. |
|
||||||||||||
|
The default Constructor of a OKeyPair. A Key and a Modifier ( Alt/Shift/Ctrl ) needs to be supplied. Use Qt::Key for the information. The default arguments create an Empty OKeyPair. If you want to get an empty OKeyPair use the static method for getting the emptyKey()
Definition at line 47 of file okeyconfigmanager.cpp. Referenced by downArrowKey(), emptyKey(), hardwareKeys(), leftArrowKey(), returnKey(), rightArrowKey(), and upArrowKey(). |
|
|
The destructor Definition at line 54 of file okeyconfigmanager.cpp. |
|
|
Return an OKeyPair for the Down Arrow Key without any modifier Key Definition at line 143 of file okeyconfigmanager.cpp. References Qt::Key_Down, and OKeyPair(). Referenced by IRCHistoryLineEdit::keyConfigInstance(), and TestMainWindow::TestMainWindow(). |
|
|
Return an Empty OKeyPair Definition at line 150 of file okeyconfigmanager.cpp. References OKeyPair(). Referenced by Opie::Core::OKeyConfigManager::load(). |
|
|
This functions uses the Opie::Core::ODevice::buttons for OKeyPairList
Definition at line 162 of file okeyconfigmanager.cpp. References QValueList< T >::append(), QValueList< T >::begin(), QValueList< T >::end(), Opie::Core::ODevice::inst(), and OKeyPair(). Referenced by IRCHistoryLineEdit::keyConfigInstance(). |
|
|
Is this OKeyPair empty/valid? Definition at line 60 of file okeyconfigmanager.cpp. Referenced by Opie::Core::OKeyConfigItem::isEmpty(). |
|
|
get the keycode for this OKeyPair. The Key relates to Qt::Key.
Definition at line 70 of file okeyconfigmanager.cpp. References m_key. Referenced by Opie::Core::OKeyConfigManager::keyList(), Opie::Ui::Internal::keyToString(), and Opie::Core::OKeyConfigManager::save(). |
|
|
Return an OKeyPair for the Left Arrow Key without any modifier Key Definition at line 119 of file okeyconfigmanager.cpp. References Qt::Key_Left, and OKeyPair(). Referenced by IRCHistoryLineEdit::keyConfigInstance(), and TestMainWindow::TestMainWindow(). |
|
|
get the modifier key for this OKeyPair. The Modifier State relates to the Qt::ButtonState
Definition at line 81 of file okeyconfigmanager.cpp. References m_mod. Referenced by Opie::Core::OKeyConfigManager::keyList(), Opie::Ui::Internal::keyToString(), and Opie::Core::OKeyConfigManager::save(). |
|
|
Not equal operator. calls the equal operator internally Definition at line 188 of file okeyconfigmanager.cpp. |
|
|
Equals operator. Check if two OKeyPairs have the same key and modifier
Definition at line 178 of file okeyconfigmanager.cpp. |
|
|
Return an OKeyPair for the Return Key without any modifier. Definition at line 111 of file okeyconfigmanager.cpp. References Qt::Key_Return, and OKeyPair(). Referenced by IRCHistoryLineEdit::keyConfigInstance(). |
|
|
Return an OKeyPair for the Right Arrow Key without any modifier Key Definition at line 127 of file okeyconfigmanager.cpp. References Qt::Key_Right, and OKeyPair(). Referenced by TestMainWindow::TestMainWindow(). |
|
|
Set the keycode
Definition at line 93 of file okeyconfigmanager.cpp. References m_key. |
|
|
Set the modifier key
Definition at line 104 of file okeyconfigmanager.cpp. References m_mod. |
|
|
Return an OKeyPair for the Up Arrow Key without any modifier Key Definition at line 135 of file okeyconfigmanager.cpp. References Qt::Key_Up, and OKeyPair(). Referenced by IRCHistoryLineEdit::keyConfigInstance(), and TestMainWindow::TestMainWindow(). |
|
|
Definition at line 59 of file okeyconfigmanager.h. |
|
|
Definition at line 57 of file okeyconfigmanager.h. Referenced by isEmpty(), keycode(), operator==(), and setKeycode(). |
|
|
Definition at line 58 of file okeyconfigmanager.h. Referenced by isEmpty(), modifier(), operator==(), and setModifier(). |
1.4.2