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

Detailed Description
Dialog for configuration of KActionCollection, KAccel, and KGlobalAccel.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.
Several static methods are supplied which provide the most convenient interface to the dialog. The most common and most encouraged use is with KActionCollection.
KKeyDialog::configure( actionCollection() );
- Author:
- Nicolas Hadacek <hadacek@via.ecp.fr>
Definition at line 274 of file kkeydialog.h.
Public Member Functions | |
KKeyDialog (bool bAllowLetterShortcuts=true, QWidget *parent=0, const char *name=0) | |
virtual | ~KKeyDialog () |
bool | insert (KActionCollection *) |
bool | insert (KActionCollection *, const QString &title) |
bool | configure (bool bSaveSettings=true) |
void | commitChanges () |
Static Public Member Functions | |
static int | configure (KActionCollection *coll, QWidget *parent=0, bool bSaveSettings=true) |
static int | configure (KAccel *keys, QWidget *parent=0, bool bSaveSettings=true) |
static int | configure (KGlobalAccel *keys, QWidget *parent=0, bool bSaveSettings=true) |
static int | configure (KActionCollection *coll, bool bAllowLetterShortcuts, QWidget *parent=0, bool bSaveSettings=true) |
static int | configure (KAccel *keys, bool bAllowLetterShortcuts, QWidget *parent=0, bool bSaveSettings=true) |
static int | configure (KGlobalAccel *keys, bool bAllowLetterShortcuts, QWidget *parent=0, bool bSaveSettings=true) |
static KDE_DEPRECATED int | configureKeys (KAccel *keys, bool save_settings=true, QWidget *parent=0) |
static KDE_DEPRECATED int | configureKeys (KGlobalAccel *keys, bool save_settings=true, QWidget *parent=0) |
static KDE_DEPRECATED int | configureKeys (KActionCollection *coll, const QString &, bool save_settings=true, QWidget *parent=0) |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Constructor & Destructor Documentation
|
Constructs a KKeyDialog called
Set Definition at line 1100 of file kkeydialog.cpp. |
|
Destructor. Deletes all resources used by a KKeyDialog object. Definition at line 1112 of file kkeydialog.cpp. |
Member Function Documentation
|
Commit key setting changes so that changed settings actually become active.
This method is implicitly called from configure(bool) if Definition at line 1140 of file kkeydialog.cpp. |
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Definition at line 1170 of file kkeydialog.cpp. |
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Definition at line 1160 of file kkeydialog.cpp. |
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Definition at line 1180 of file kkeydialog.cpp. |
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Definition at line 1155 of file kkeydialog.cpp. |
|
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. Definition at line 1150 of file kkeydialog.cpp. |
|
Pops up a modal dialog for configuring key settings.
The new shortcut settings will be active if the user presses OK. If
Definition at line 1145 of file kkeydialog.cpp. |
|
Run the dialog and call commitChanges() if
Definition at line 1128 of file kkeydialog.cpp. |
|
Definition at line 392 of file kkeydialog.h. |
|
Definition at line 386 of file kkeydialog.h. |
|
Definition at line 380 of file kkeydialog.h. |
|
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.
Definition at line 1123 of file kkeydialog.cpp. |
|
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.
Definition at line 1118 of file kkeydialog.cpp. |
The documentation for this class was generated from the following files: