| 16 | using namespace Konsole; |
| 17 | |
| 18 | HTMLDecoder::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 | |
| 29 | void HTMLDecoder::begin(QTextStream *output) |
| 30 | { |
nothing calls this directly
no test coverage detected