class KKeyChooser

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

Definition#include <kkeydialog.h>
InheritsQWidget (qt) [public ]
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.

See also: KKeyDialog

enum { NoKey = 1, DefaultKey, CustomKey }

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

KKeyChooser

Constructor.

Parameters:
aKeyDictA dictionary (QMap) of key definitons.

 ~KKeyChooser ()

~KKeyChooser

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  listSync ()

listSync

[slot]

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

void  toChange ( QListViewItem *item )

toChange

[protected slots slot]

void  changeKey ()

changeKey

[protected slots slot]

void  updateAction ( QListViewItem *item )

updateAction

[protected slots slot]

void  defaultKey ()

defaultKey

[protected slots slot]

void  noKey ()

noKey

[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]

void  editKey ()

editKey

[protected slots slot]

void  editEnd ()

editEnd

[protected slots slot]

void  readGlobalKeys ()

readGlobalKeys

[protected slots slot]

void  readStdKeys ()

readStdKeys

[protected slots slot]

void  keyPressEvent ( QKeyEvent* _event )

keyPressEvent

[protected]

Reimplemented from QWidget.

void  fontChange ( const QFont& _font )

fontChange

[protected]

Reimplemented from QWidget.

bool  isKeyPresent (int kcode, bool warnuser = true )

isKeyPresent

[protected]

void  setKey ( int kCode )

setKey

[protected]

KKeyChooserPrivate * d

d

[protected]