filehtmlwriter.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_FILEHTMLWRITER_H__
00033 #define __KMAIL_FILEHTMLWRITER_H__
00034
00035 #include "interfaces/htmlwriter.h"
00036
00037 #include <qfile.h>
00038 #include <qtextstream.h>
00039
00040 class QString;
00041
00042 namespace KMail {
00043
00044 class FileHtmlWriter : public KMail::HtmlWriter {
00045 public:
00046 FileHtmlWriter( const QString & filename );
00047 virtual ~FileHtmlWriter();
00048
00049 void begin( const QString & cssDefs );
00050 void end();
00051 void reset();
00052 void write( const QString & str );
00053 void queue( const QString & str );
00054 void flush();
00055
00056 private:
00057 void openOrWarn();
00058
00059 private:
00060 QFile mFile;
00061 QTextStream mStream;
00062 };
00063
00064 }
00065
00066 #endif // __KMAIL_FILEHTMLWRITER_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:19 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003