Public Types
- enum { NoKey = 1, DefaultKey, CustomKey }
Public Methods
- KKeyChooser ( KKeyEntryMap *aKeyMap, KKeyMapOrder *pMapOrder, QWidget* parent,
bool check_against_std_keys,
bool bAllowLetterShortcuts,
bool bAllowMetaKey = false )
- KKeyChooser ( KKeyEntryMap *aKeyMap, QWidget* parent,
bool check_against_std_keys,
bool bAllowLetterShortcuts,
bool bAllowMetaKey = false )
- KKeyChooser ( KKeyEntryMap *aKeyDict, QWidget* parent = 0,
bool check_against_std_keys = false )
- ~KKeyChooser ()
Public Slots
Signals
Protected Methods
Protected Slots
Protected Members
Configure dictionaries of key/action associations for KAccel and
KGlobalAccel.
The class takes care of all aspects of configuration, including
handling key conflicts internally. Connect to the allDefault()
slot if you want to set all configurable keybindings to their
default values.
See also: KKeyDialog
enum { NoKey = 1, DefaultKey, CustomKey }
|
|
KKeyChooser ( KKeyEntryMap *aKeyMap, KKeyMapOrder *pMapOrder, QWidget* parent,
bool check_against_std_keys,
bool bAllowLetterShortcuts,
bool bAllowMetaKey = false )
| KKeyChooser |
Constructor.
Parameters:
aKeyDict | A dictionary (QMap) of key definitons.
|
KKeyChooser ( KKeyEntryMap *aKeyMap, QWidget* parent,
bool check_against_std_keys,
bool bAllowLetterShortcuts,
bool bAllowMetaKey = false )
| KKeyChooser |
KKeyChooser ( KKeyEntryMap *aKeyDict, QWidget* parent = 0,
bool check_against_std_keys = false )
| KKeyChooser |
~KKeyChooser ()
| ~KKeyChooser |
void init ( KKeyEntryMap *aKeyMap, KKeyMapOrder *pMapOrder,
bool check_against_std_keys,
bool bAllowLetterShortcuts,
bool bAllowMetaKey )
| init |
[protected]
void keyChange ()
| keyChange |
[signal]
Emitted when a key definition has been changed.
void allDefault ()
| allDefault |
[slot]
Set all keys to their default values (bindings).
void allDefault ( bool useFourModifierKeys )
| allDefault |
[slot]
void setPreferFourModifierKeys ( bool preferFourModifierKeys )
| setPreferFourModifierKeys |
[slot]
void listSync ()
| listSync |
[slot]
Set all list entries to their changed values.
Use this if you changed the underlying map
[protected slots slot]
void changeKey ()
| changeKey |
[protected slots slot]
void capturedKey ( uint key )
| capturedKey |
[protected slots slot]
[protected slots slot]
void defaultKey ()
| defaultKey |
[protected slots slot]
[protected slots slot]
void keyMode ( int _mode )
| keyMode |
[protected slots slot]
void shiftClicked ()
| shiftClicked |
[protected slots slot]
void ctrlClicked ()
| ctrlClicked |
[protected slots slot]
void altClicked ()
| altClicked |
[protected slots slot]
[protected slots slot]
[protected slots slot]
void readGlobalKeys ()
| readGlobalKeys |
[protected slots slot]
void readStdKeys ()
| readStdKeys |
[protected slots slot]
void fontChange ( const QFont& _font )
| fontChange |
[protected]
void readKeysInternal ( QDict< int >* dict, const QString& group )
| readKeysInternal |
[protected]
bool isKeyPresent (int kcode, bool warnuser = true )
| isKeyPresent |
[protected]
void setKey ( int kCode )
| setKey |
[protected]
QDict* globalDict ()
| globalDict |
[protected]
QDict* stdDict ()
| stdDict |
[protected]
[protected]
- Version: $Id: kkeydialog.h,v 1.38 2001/06/10 03:58:36 ellis Exp $
- Author: Nicolas Hadacek
- Generated: root on emperor on Tue Oct 9 11:40:21 2001, using kdoc 2.0a53.