Konsole
#include <KeyboardTranslator.h>
Public Member Functions | |
KeyboardTranslatorReader (QIODevice *source) | |
QString | description () const |
bool | hasNextEntry () |
KeyboardTranslator::Entry | nextEntry () |
bool | parseError () |
Static Public Member Functions | |
static KeyboardTranslator::Entry | createEntry (const QString &condition, const QString &result) |
Detailed Description
Parses the contents of a Keyboard Translator (.keytab) file and returns the entries found in it.
Usage example:
Definition at line 354 of file KeyboardTranslator.h.
Constructor & Destructor Documentation
|
explicit |
Constructs a new reader which parses the given source
.
Definition at line 85 of file KeyboardTranslator.cpp.
Member Function Documentation
|
static |
Parses a condition and result string for a translator entry and produces a keyboard translator entry.
The condition and result strings are in the same format as in
Definition at line 305 of file KeyboardTranslator.cpp.
QString KeyboardTranslatorReader::description | ( | ) | const |
Returns the description text.
TODO: More documentation
Definition at line 297 of file KeyboardTranslator.cpp.
bool KeyboardTranslatorReader::hasNextEntry | ( | ) |
Returns true if there is another entry in the source stream.
Definition at line 301 of file KeyboardTranslator.cpp.
KeyboardTranslator::Entry KeyboardTranslatorReader::nextEntry | ( | ) |
Returns the next entry found in the source stream.
Definition at line 333 of file KeyboardTranslator.cpp.
bool KeyboardTranslatorReader::parseError | ( | ) |
Returns true if an error occurred whilst parsing the input or false if no error occurred.
Definition at line 340 of file KeyboardTranslator.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.