• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Konsole

  • Konsole
  • HTMLDecoder
Public Member Functions | List of all members
Konsole::HTMLDecoder Class Reference

#include <TerminalCharacterDecoder.h>

Inheritance diagram for Konsole::HTMLDecoder:
Inheritance graph
[legend]

Public Member Functions

 HTMLDecoder ()
 
virtual void begin (QTextStream *output)
 
virtual void decodeLine (const Character *const characters, int count, LineProperty properties)
 
virtual void end ()
 
void setColorTable (const ColorEntry *table)
 
- Public Member Functions inherited from Konsole::TerminalCharacterDecoder
virtual ~TerminalCharacterDecoder ()
 

Detailed Description

A terminal character decoder which produces pretty HTML markup.

Definition at line 115 of file TerminalCharacterDecoder.h.

Constructor & Destructor Documentation

HTMLDecoder::HTMLDecoder ( )

Constructs an HTML decoder using a default black-on-white color scheme.

Definition at line 139 of file TerminalCharacterDecoder.cpp.

Member Function Documentation

void HTMLDecoder::begin ( QTextStream *  output)
virtual

Begin decoding characters.

The resulting text is appended to output.

Implements Konsole::TerminalCharacterDecoder.

Definition at line 147 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
charactersAn array of characters of length count.
countThe number of characters
propertiesAdditional properties which affect all characters in the line

Implements Konsole::TerminalCharacterDecoder.

Definition at line 186 of file TerminalCharacterDecoder.cpp.

void HTMLDecoder::end ( )
virtual

End decoding.

Implements Konsole::TerminalCharacterDecoder.

Definition at line 169 of file TerminalCharacterDecoder.cpp.

void HTMLDecoder::setColorTable ( const ColorEntry *  table)

Sets the color table which the decoder uses to produce the HTML color codes in its output.

Definition at line 290 of file TerminalCharacterDecoder.cpp.


The documentation for this class was generated from the following files:
  • TerminalCharacterDecoder.h
  • TerminalCharacterDecoder.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Konsole

Skip menu "Konsole"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal