Konsole
Konsole::KeyBindingEditor Class Reference
#include <KeyBindingEditor.h>

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 initialised 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 51 of file KeyBindingEditor.h.
Public Slots | |
void | setDescription (const QString &description) |
Public Member Functions | |
QString | description () const |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
KeyBindingEditor (QWidget *parent=0) | |
void | setup (const KeyboardTranslator *translator) |
KeyboardTranslator * | translator () const |
virtual | ~KeyBindingEditor () |
Constructor & Destructor Documentation
KeyBindingEditor::KeyBindingEditor | ( | QWidget * | parent = 0 |
) |
Constructs a new key bindings editor with the specified parent.
Definition at line 35 of file KeyBindingEditor.cpp.
KeyBindingEditor::~KeyBindingEditor | ( | ) | [virtual] |
Definition at line 66 of file KeyBindingEditor.cpp.
Member Function Documentation
QString KeyBindingEditor::description | ( | ) | const |
Returns the text of the editor's description field.
Definition at line 155 of file KeyBindingEditor.cpp.
Definition at line 107 of file KeyBindingEditor.cpp.
void KeyBindingEditor::setDescription | ( | const QString & | description | ) | [slot] |
Sets the text of the editor's description field.
Definition at line 148 of file KeyBindingEditor.cpp.
void KeyBindingEditor::setup | ( | const KeyboardTranslator * | translator | ) |
Intialises the dialog with the bindings and other settings from the specified translator
.
Definition at line 160 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 174 of file KeyBindingEditor.cpp.
The documentation for this class was generated from the following files: