teehtmlwriter.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __KMAIL_TEEHTMLWRITER_H__
00033 #define __KMAIL_TEEHTMLWRITER_H__
00034
00035 #include "interfaces/htmlwriter.h"
00036
00037 #include <qptrlist.h>
00038
00039 class QString;
00040
00041 namespace KMail {
00042
00043
00047 class TeeHtmlWriter : public KMail::HtmlWriter {
00048 public:
00049 TeeHtmlWriter( KMail::HtmlWriter * writer1=0, KMail::HtmlWriter * writer2=0 );
00050 virtual ~TeeHtmlWriter();
00051
00052 void addHtmlWriter( KMail::HtmlWriter * writer );
00053
00054
00055
00056
00057 void begin( const QString & cssDefs );
00058 void end();
00059 void reset();
00060 void write( const QString & str );
00061 void queue( const QString & str );
00062 void flush();
00063
00064 private:
00066 QPtrList<KMail::HtmlWriter> mWriters;
00067 };
00068
00069 }
00070
00071 #endif // __KMAIL_TEEHTMLWRITER_H__
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 26 23:23:25 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003