Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

docwriter.h

00001 // -*- c++ -*-
00002 
00003 #ifndef DOCWRITER_H
00004 #define DOCWRITER_H
00005 
00006 #include <qtextstream.h>
00007 
00013 class DocWriter {
00014 public: 
00015    DocWriter( QTextStream *ts ) { this->ts = ts; }
00016    virtual ~DocWriter();
00017 
00018    void startDoc( const QString &ttl );
00019    void endDoc();
00020 
00021    void startSection( const QString &heading );
00022    void endSection();
00023 
00024    void para( const QString &text );
00025    void pre( const QString &text, bool quote=true );
00026 
00028    static QString quoteAsHTML( const QString &in );
00029    
00030 private:
00031    QTextStream *ts;
00032 };
00033 
00034 #endif

Generated on Mon Mar 31 01:08:13 2003 for QXServlet by doxygen1.2.17