Konsole
#include <KeyBindingEditor.h>
Public Member Functions | |
KeyBindingEditor (QWidget *parent=0) | |
virtual | ~KeyBindingEditor () |
QString | description () const |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
void | setDescription (const QString &description) |
void | setup (const KeyboardTranslator *translator) |
KeyboardTranslator * | translator () const |
Detailed Description
A dialog which allows the user to edit a key bindings list which maps between key combinations input by the user and the character sequence sent to the terminal when those combinations are pressed.
The dialog can be initialized with the settings of an existing key bindings list using the setup() method.
The dialog creates a copy of the supplied keyboard translator to which any changes are applied. The modified translator can be retrieved using the translator() method.
Definition at line 50 of file KeyBindingEditor.h.
Constructor & Destructor Documentation
|
explicit |
Constructs a new key bindings editor with the specified parent.
Definition at line 32 of file KeyBindingEditor.cpp.
|
virtual |
Definition at line 65 of file KeyBindingEditor.cpp.
Member Function Documentation
QString KeyBindingEditor::description | ( | ) | const |
Returns the text of the editor's description field.
Definition at line 162 of file KeyBindingEditor.cpp.
|
virtual |
Definition at line 113 of file KeyBindingEditor.cpp.
void KeyBindingEditor::setDescription | ( | const QString & | description | ) |
Sets the text of the editor's description field.
Definition at line 149 of file KeyBindingEditor.cpp.
void KeyBindingEditor::setup | ( | const KeyboardTranslator * | translator | ) |
Initializes the dialog with the bindings and other settings from the specified translator
.
Definition at line 167 of file KeyBindingEditor.cpp.
KeyboardTranslator * KeyBindingEditor::translator | ( | ) | const |
Returns the modified translator describing the changes to the bindings and other settings which the user made.
Definition at line 181 of file KeyBindingEditor.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.