Konsole
KeyboardTranslatorManager.cpp
Go to the documentation of this file.
159 KeyboardTranslator* KeyboardTranslatorManager::loadTranslator(QIODevice* source, const QString& name)
void addTranslator(KeyboardTranslator *translator)
Adds a new translator.
Definition: KeyboardTranslatorManager.cpp:54
A converter which maps between key sequences pressed by the user and the character strings which shou...
Definition: KeyboardTranslator.h:52
QString description() const
Returns the descriptive name of this keyboard translator.
Definition: KeyboardTranslator.cpp:641
bool remove()
Represents an association between a key sequence pressed by the user and the character sequence and c...
Definition: KeyboardTranslator.h:121
QList< Entry > entries() const
Returns a list of all entries in the translator.
Definition: KeyboardTranslator.cpp:656
virtual void close()
Parses the contents of a Keyboard Translator (.keytab) file and returns the entries found in it...
Definition: KeyboardTranslator.h:354
bool deleteTranslator(const QString &name)
Deletes a translator.
Definition: KeyboardTranslatorManager.cpp:63
QStringList allTranslators()
Returns a list of the names of available keyboard translators.
Definition: KeyboardTranslatorManager.cpp:188
Writes a keyboard translation to disk.
Definition: KeyboardTranslator.h:419
bool isEmpty() const
~KeyboardTranslatorManager()
Definition: KeyboardTranslatorManager.cpp:42
void addEntry(const Entry &entry)
Adds an entry to this keyboard translator's table.
Definition: KeyboardTranslator.cpp:661
const KeyboardTranslator * defaultTranslator()
Returns the default translator for Konsole.
Definition: KeyboardTranslatorManager.cpp:177
QString name() const
Returns the name of this keyboard translator.
Definition: KeyboardTranslator.cpp:651
KeyboardTranslatorManager()
Constructs a new KeyboardTranslatorManager and loads the list of available keyboard translations...
Definition: KeyboardTranslatorManager.cpp:35
Manages the keyboard translations available for use by terminal sessions, see KeyboardTranslator.
Definition: KeyboardTranslatorManager.h:41
QString baseName() const
void setDescription(const QString &description)
Sets the descriptive name of this keyboard translator.
Definition: KeyboardTranslator.cpp:636
const KeyboardTranslator * findTranslator(const QString &name)
Returns the keyboard translator with the given name or 0 if no translator with that name exists...
Definition: KeyboardTranslatorManager.cpp:102
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.