Konsole
Konsole::HTMLDecoder Class Reference
#include <TerminalCharacterDecoder.h>

Detailed Description
A terminal character decoder which produces pretty HTML markup.Definition at line 101 of file TerminalCharacterDecoder.h.
Public Member Functions | |
| HTMLDecoder () | |
| void | setColorTable (const ColorEntry *table) |
| virtual void | decodeLine (const Character *const characters, int count, LineProperty properties) |
| virtual void | begin (QTextStream *output) |
| virtual void | end () |
Constructor & Destructor Documentation
| HTMLDecoder::HTMLDecoder | ( | ) |
Constructs an HTML decoder using a default black-on-white color scheme.
Definition at line 91 of file TerminalCharacterDecoder.cpp.
Member Function Documentation
| void HTMLDecoder::setColorTable | ( | const ColorEntry * | table | ) |
Sets the colour table which the decoder uses to produce the HTML colour codes in its output.
Definition at line 224 of file TerminalCharacterDecoder.cpp.
| void HTMLDecoder::decodeLine | ( | const Character *const | characters, | |
| int | count, | |||
| LineProperty | properties | |||
| ) | [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.properties Additional properties which affect all characters in the line output The output stream which receives the decoded text
Implements Konsole::TerminalCharacterDecoder.
Definition at line 127 of file TerminalCharacterDecoder.cpp.
| void HTMLDecoder::begin | ( | QTextStream * | output | ) | [virtual] |
Begin decoding characters.
The resulting text is appended to output.
Implements Konsole::TerminalCharacterDecoder.
Definition at line 100 of file TerminalCharacterDecoder.cpp.
| void HTMLDecoder::end | ( | ) | [virtual] |
End decoding.
Implements Konsole::TerminalCharacterDecoder.
Definition at line 112 of file TerminalCharacterDecoder.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference