MCPcopy Create free account
hub / github.com/KDE/konsole / HTMLDecoder

Method HTMLDecoder

src/decoders/HTMLDecoder.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16using namespace Konsole;
17
18HTMLDecoder::HTMLDecoder(const QColor *colorTable)
19 : _output(nullptr)
20 , _innerSpanOpen(false)
21 , _lastRendition(DEFAULT_RENDITION)
22 , _lastForeColor(CharacterColor())
23 , _lastBackColor(CharacterColor())
24{
25 Q_ASSERT(colorTable);
26 std::copy_n(colorTable, TABLE_COLORS, _colorTable);
27}
28
29void HTMLDecoder::begin(QTextStream *output)
30{

Callers

nothing calls this directly

Calls 1

CharacterColorClass · 0.85

Tested by

no test coverage detected