class KKeyChooser

Widget for configuration of KAccel and KGlobalAccel. More...

Definition#include <kkeydialog.h>
InheritsQWidget (kdecore)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Slots

Signals

Protected Methods

Protected Slots

Protected Members


Detailed Description

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.

enum {NoKey = 1, DefaultKey, CustomKey }

 KKeyChooser ( KKeyEntryMap *aKeyDict, QWidget* parent = 0, bool check_against_std_keys = false )

Constructor.

Parameters:
aKeyDictA dictionary (QMap) of key definitons.

KKeyChooser ()

void  keyChange ()

[signal]

Emitted when a key definition has been changed.

void  allDefault ()

[slot]

Set all keys to their default values (bindings).

void  listSync ()

[slot]

Set all list entries to their changed values. Use this if you changed the underlying map

void  toChange ( QListViewItem *item )

[protected slot]

void  changeKey ()

[protected slot]

void  updateAction ( QListViewItem *item )

[protected slot]

void  defaultKey ()

[protected slot]

void  noKey ()

[protected slot]

void  keyMode ( int _mode )

[protected slot]

void  shiftClicked ()

[protected slot]

void  ctrlClicked ()

[protected slot]

void  altClicked ()

[protected slot]

void  editKey ()

[protected slot]

void  editEnd ()

[protected slot]

void  readGlobalKeys ()

[protected slot]

void  readStdKeys ()

[protected slot]

void  keyPressEvent ( QKeyEvent* _event )

[protected]

void  fontChange ( const QFont& _font )

[protected]

bool  isKeyPresent (int kcode, bool warnuser = true )

[protected]

void  setKey ( int kCode )

[protected]

KKeyChooserPrivate * d

[protected]