kmail Library API Documentation

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:

KMail::HtmlWriter List of all members.

Public Member Functions

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

Detailed Description

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

Author:
Marc Mutz <mutz@kde.org>

Definition at line 47 of file teehtmlwriter.h.


Member Function Documentation

void KMail::TeeHtmlWriter::begin const QString &  cssDefs  )  [virtual]
 

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

Implements KMail::HtmlWriter.

Definition at line 61 of file teehtmlwriter.cpp.

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

Signal the end of stuff to write.

Implements KMail::HtmlWriter.

Definition at line 66 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 71 of file teehtmlwriter.cpp.

void KMail::TeeHtmlWriter::write const QString &  str  )  [virtual]
 

Write out a chunk of text.

No HTML escaping is performed.

Implements KMail::HtmlWriter.

Definition at line 76 of file teehtmlwriter.cpp.

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

(Start) flushing internal buffers, if any.

Implements KMail::HtmlWriter.

Definition at line 86 of file teehtmlwriter.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Mar 6 17:18:24 2004 by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2003