kmail

KMail::TeeHtmlWriter Class Reference

A HtmlWriter that dispatches all calls to a list of other HtmlWriters. More...

#include <teehtmlwriter.h>

Inheritance diagram for KMail::TeeHtmlWriter:

List of all members.


Public Member Functions

void addHtmlWriter (KMail::HtmlWriter *writer)
void begin (const QString &cssDefs)
void embedPart (const QCString &contentId, const QString &url)
void end ()
void flush ()
void queue (const QString &str)
void reset ()
 TeeHtmlWriter (KMail::HtmlWriter *writer1=0, KMail::HtmlWriter *writer2=0)
void write (const QString &str)
virtual ~TeeHtmlWriter ()

Detailed Description

A HtmlWriter that dispatches all calls to a list of other HtmlWriters.

Author:
Marc Mutz <mutz@kde.org>

Definition at line 46 of file teehtmlwriter.h.


Constructor & Destructor Documentation

KMail::TeeHtmlWriter::TeeHtmlWriter ( KMail::HtmlWriter writer1 = 0,
KMail::HtmlWriter writer2 = 0 
)

Definition at line 44 of file teehtmlwriter.cpp.

KMail::TeeHtmlWriter::~TeeHtmlWriter (  )  [virtual]

Definition at line 53 of file teehtmlwriter.cpp.


Member Function Documentation

void KMail::TeeHtmlWriter::addHtmlWriter ( KMail::HtmlWriter writer  ) 

Definition at line 58 of file teehtmlwriter.cpp.

void KMail::TeeHtmlWriter::begin ( const QString cssDefinitions  )  [virtual]

Signal the begin of stuff to write, and give the CSS definitions.

Implements KMail::Interface::HtmlWriter.

Definition at line 63 of file teehtmlwriter.cpp.

void KMail::TeeHtmlWriter::embedPart ( const QCString contentId,
const QString url 
) [virtual]

Embed a part with Content-ID contentId, using url url.

Implements KMail::HtmlWriter.

Definition at line 93 of file teehtmlwriter.cpp.

void KMail::TeeHtmlWriter::end (  )  [virtual]

Signal the end of stuff to write.

Implements KMail::Interface::HtmlWriter.

Definition at line 68 of file teehtmlwriter.cpp.

void KMail::TeeHtmlWriter::flush (  )  [virtual]

(Start) flushing internal buffers, if any.

Implements KMail::HtmlWriter.

Definition at line 88 of file teehtmlwriter.cpp.

void KMail::TeeHtmlWriter::queue ( const QString str  )  [virtual]

Implements KMail::HtmlWriter.

Definition at line 83 of file teehtmlwriter.cpp.

void KMail::TeeHtmlWriter::reset (  )  [virtual]

Stop all possibly pending processing in order to be able to call begin() again.

Implements KMail::HtmlWriter.

Definition at line 73 of file teehtmlwriter.cpp.

void KMail::TeeHtmlWriter::write ( const QString html  )  [virtual]

Write out a chunk of text.

No HTML escaping is performed.

Implements KMail::Interface::HtmlWriter.

Definition at line 78 of file teehtmlwriter.cpp.


The documentation for this class was generated from the following files: