MauiKit Terminal
TerminalCharacterDecoder.h
38 * The decoder converts lines of terminal characters which consist of a unicode character, foreground
41 * Derived classes may produce either plain text with no other colour or appearance information, or
68 * A terminal character decoder which produces plain text, ignoring colours and other appearance-related
A terminal character decoder which produces plain text, ignoring colours and other appearance-related...
Definition TerminalCharacterDecoder.h:72
void setTrailingWhitespace(bool enable)
Set whether trailing whitespace at the end of lines should be included in the output.
Definition TerminalCharacterDecoder.cpp:47
bool trailingWhitespace() const
Returns whether trailing whitespace at the end of lines is included in the output.
Definition TerminalCharacterDecoder.cpp:51
void decodeLine(std::span< const Character > characters, LineProperty properties) override
Converts a line of terminal characters with associated properties into a text string and writes the s...
Definition TerminalCharacterDecoder.cpp:75
void setRecordLinePositions(bool record)
Enables recording of character positions at which new lines are added.
Definition TerminalCharacterDecoder.cpp:66
void begin(QTextStream *output) override
Begin decoding characters.
Definition TerminalCharacterDecoder.cpp:55
QList< int > linePositions() const
Returns of character positions in the output stream at which new lines where added.
Definition TerminalCharacterDecoder.cpp:70
Base class for terminal character decoders.
Definition TerminalCharacterDecoder.h:45
virtual void decodeLine(std::span< const Character > characters, LineProperty properties)=0
Converts a line of terminal characters with associated properties into a text string and writes the s...
virtual void begin(QTextStream *output)=0
Begin decoding characters.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.