tools/qdoc3/webxmlgenerator.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    44 */
    44 */
    45 
    45 
    46 #ifndef WEBXMLGENERATOR_H
    46 #ifndef WEBXMLGENERATOR_H
    47 #define WEBXMLGENERATOR_H
    47 #define WEBXMLGENERATOR_H
    48 
    48 
       
    49 #include <QtCore/qxmlstream.h>
       
    50 
    49 #include "codemarker.h"
    51 #include "codemarker.h"
    50 #include "config.h"
    52 #include "config.h"
    51 #include "pagegenerator.h"
    53 #include "pagegenerator.h"
    52 
    54 
    53 QT_BEGIN_NAMESPACE
    55 QT_BEGIN_NAMESPACE
       
    56 
       
    57 class QXmlStreamReader;
       
    58 class QXmlStreamWriter;
    54 
    59 
    55 class WebXMLGenerator : public PageGenerator
    60 class WebXMLGenerator : public PageGenerator
    56 {
    61 {
    57 public:
    62 public:
    58     WebXMLGenerator();
    63     WebXMLGenerator();
    67     virtual void startText( const Node *relative, CodeMarker *marker );
    72     virtual void startText( const Node *relative, CodeMarker *marker );
    68     virtual int generateAtom(QXmlStreamWriter &writer, const Atom *atom,
    73     virtual int generateAtom(QXmlStreamWriter &writer, const Atom *atom,
    69                              const Node *relative, CodeMarker *marker );
    74                              const Node *relative, CodeMarker *marker );
    70     virtual void generateClassLikeNode(const InnerNode *inner, CodeMarker *marker);
    75     virtual void generateClassLikeNode(const InnerNode *inner, CodeMarker *marker);
    71     virtual void generateFakeNode(const FakeNode *fake, CodeMarker *marker);
    76     virtual void generateFakeNode(const FakeNode *fake, CodeMarker *marker);
    72     virtual QString fileExtension(const Node *node);
    77     virtual QString fileExtension(const Node *node) const;
    73 
    78 
    74     virtual const Atom *addAtomElements(QXmlStreamWriter &writer, const Atom *atom,
    79     virtual const Atom *addAtomElements(QXmlStreamWriter &writer, const Atom *atom,
    75                                  const Node *relative, CodeMarker *marker);
    80                                  const Node *relative, CodeMarker *marker);
    76     virtual void generateIndexSections(QXmlStreamWriter &writer, const Node *node,
    81     virtual void generateIndexSections(QXmlStreamWriter &writer, const Node *node,
    77                                        CodeMarker *marker);
    82                                        CodeMarker *marker);