KKeyDialog Class Reference
The KKeyDialog class is used for configuring dictionaries of key/action associations for KActionCollection, KAccel, and KGlobalAccel. Dialog for configuration of KActionCollection, KAccel, and KGlobalAccel. More...
#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) |
KDE_DEPRECATED int | configureKeys (KAccel *keys, bool save_settings=true, QWidget *parent=0) |
KDE_DEPRECATED int | configureKeys (KGlobalAccel *keys, bool save_settings=true, QWidget *parent=0) |
KDE_DEPRECATED int | configureKeys (KActionCollection *coll, const QString &, bool save_settings=true, QWidget *parent=0) |
Protected Methods | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
The KKeyDialog class is used for configuring dictionaries of key/action associations for KActionCollection, KAccel, and KGlobalAccel. Dialog for configuration of 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() );
- Version:
- Id:
- kkeydialog.h,v 1.81 2004/01/05 11:05:55 bhards Exp
- Author:
- Nicolas Hadacek <hadacek@via.ecp.fr>
Definition at line 266 of file kkeydialog.h.
Constructor & Destructor Documentation
|
Constructs a KKeyDialog called
Set Definition at line 1005 of file kkeydialog.cpp. References KGlobal::config(), KDialogBase::defaultClicked(), KDialogBase::enableButton(), and KDialogBase::setMainWidget(). |
|
Destructor. Deletes all resources used by a KKeyDialog object. Definition at line 1018 of file kkeydialog.cpp. References KGlobal::config(). |
Member Function Documentation
|
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 1024 of file kkeydialog.cpp. References KKeyChooser::insert(). |
|
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 1029 of file kkeydialog.cpp. References KKeyChooser::insert(). |
|
Commit key setting changes so that changed settings actually become active.
This method is implicitly called from configure if Definition at line 1046 of file kkeydialog.cpp. References KKeyChooser::commitChanges(). |
|
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 1051 of file kkeydialog.cpp. Referenced by configure(), and configureKeys(). |
|
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 1056 of file kkeydialog.cpp. References configure(). |
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Definition at line 1061 of file kkeydialog.cpp. References configure(). |
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Definition at line 1086 of file kkeydialog.cpp. References configure(), KKeyChooser::insert(), and m_pKeyChooser. |
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Definition at line 1066 of file kkeydialog.cpp. References configure(), KKeyChooser::insert(), m_pKeyChooser, and KAccel::updateConnections(). |
|
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Definition at line 1076 of file kkeydialog.cpp. References configure(), KKeyChooser::insert(), m_pKeyChooser, and KGlobalAccel::updateConnections(). |
|
Definition at line 368 of file kkeydialog.h. References configure(). |
|
Definition at line 374 of file kkeydialog.h. References configure(). |
|
Definition at line 380 of file kkeydialog.h. References configure(). |
The documentation for this class was generated from the following files: