#include <kkeydialog.h>
Inheritance diagram for KKeyDialog:

Public Methods | |
| KKeyDialog (bool bAllowLetterShortcuts=true, QWidget *parent=0, const char *name=0) | |
| virtual | ~KKeyDialog () |
| bool | insert (KActionCollection *) |
| bool | insert (KActionCollection *, const QString &title) |
| void | commitChanges () |
Static Public Methods | |
| int | configure (KActionCollection *coll, QWidget *parent=0, bool bSaveSettings=true) |
| int | configure (KAccel *keys, QWidget *parent=0, bool bSaveSettings=true) |
| int | configure (KGlobalAccel *keys, QWidget *parent=0, bool bSaveSettings=true) |
| int | configure (KActionCollection *coll, bool bAllowLetterShortcuts, QWidget *parent=0, bool bSaveSettings=true) |
| int | configure (KAccel *keys, bool bAllowLetterShortcuts, QWidget *parent=0, bool bSaveSettings=true) |
| int | configure (KGlobalAccel *keys, bool bAllowLetterShortcuts, QWidget *parent=0, bool bSaveSettings=true) |
| int | configureKeys (KAccel *keys, bool save_settings=true, QWidget *parent=0) |
| int | configureKeys (KGlobalAccel *keys, bool save_settings=true, QWidget *parent=0) |
| int | configureKeys (KActionCollection *coll, const QString &, bool save_settings=true, QWidget *parent=0) |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
The KKeyDialog class is used for configuring dictionaries of key/action associations for KActionCollection, KAccel, and KGlobalAccel. It uses the KKeyChooser widget and offers buttons to set all keys to defaults and invoke on-line help.
Three static methods are supplied which provide the most convienient interface to the dialog. The most common and most encouraged use is with KActionCollection.
KKeyDialog::configure( actionCollection() );
Definition at line 217 of file kkeydialog.h.
|
||||||||||||||||
|
Constructs a KKeyDialog called |
|
|
Destructor. Deletes all resources used by a KKeyDialog object. |
|
|
Commit key setting changes so that changed settings actually become active. This method is implicitly called from configure if |
|
||||||||||||||||||||
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. |
|
||||||||||||||||||||
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. |
|
||||||||||||||||||||
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
|
|
||||||||||||||||
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. |
|
||||||||||||||||
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function, except that settings are saved to a *.rc file using KConfig. |
|
||||||||||||||||
|
Pops up a modal dialog for configuring key settings. The new shortcut settings will be active if the user presses OK. If
Referenced by configureKeys(). |
|
||||||||||||||||||||
|
Definition at line 326 of file kkeydialog.h. References configure(). |
|
||||||||||||||||
|
Definition at line 320 of file kkeydialog.h. References configure(). |
|
||||||||||||||||
|
Definition at line 314 of file kkeydialog.h. References configure(). |
|
||||||||||||
|
Insert an action collection, i.e. add all its actions to the ones displayed by the dialog. This method can be useful in applications following the document/view design, with actions in both the document and the view. Simply call insert with the action collections of each one in turn.
|
|
|
Insert an action collection, i.e. add all its actions to the ones displayed by the dialog. This method can be useful in applications following the document/view design, with actions in both the document and the view. Simply call insert with the action collections of each one in turn.
|
1.2.18