Konsole
#include <TerminalCharacterDecoder.h>
Public Member Functions | |
virtual | ~TerminalCharacterDecoder () |
virtual void | begin (QTextStream *output)=0 |
virtual void | decodeLine (const Character *const characters, int count, LineProperty properties)=0 |
virtual void | end ()=0 |
Detailed Description
Base class for terminal character decoders.
The decoder converts lines of terminal characters which consist of a unicode character, foreground and background colors and other appearance-related properties into text strings.
Derived classes may produce either plain text with no other color or appearance information, or they may produce text which incorporates these additional properties.
Definition at line 45 of file TerminalCharacterDecoder.h.
Constructor & Destructor Documentation
|
inlinevirtual |
Definition at line 48 of file TerminalCharacterDecoder.h.
Member Function Documentation
|
pure virtual |
Begin decoding characters.
The resulting text is appended to output
.
Implemented in Konsole::HTMLDecoder, and Konsole::PlainTextDecoder.
|
pure virtual |
Converts a line of terminal characters with associated properties into a text string and writes the string into an output QTextStream.
- Parameters
-
characters An array of characters of length count
.count The number of characters properties Additional properties which affect all characters in the line
Implemented in Konsole::HTMLDecoder, and Konsole::PlainTextDecoder.
|
pure virtual |
End decoding.
Implemented in Konsole::HTMLDecoder, and Konsole::PlainTextDecoder.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.