tools/qdoc3/webxmlgenerator.cpp
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
    41 
    41 
    42 /*
    42 /*
    43   webxmlgenerator.cpp
    43   webxmlgenerator.cpp
    44 */
    44 */
    45 
    45 
    46 #include <QtXml>
       
    47 
       
    48 #include "codemarker.h"
    46 #include "codemarker.h"
    49 #include "pagegenerator.h"
    47 #include "pagegenerator.h"
    50 #include "webxmlgenerator.h"
    48 #include "webxmlgenerator.h"
    51 #include "node.h"
    49 #include "node.h"
    52 #include "separator.h"
    50 #include "separator.h"
    53 #include "tree.h"
    51 #include "tree.h"
    54 
    52 
       
    53 #include <QtCore/qxmlstream.h>
       
    54 
    55 QT_BEGIN_NAMESPACE
    55 QT_BEGIN_NAMESPACE
    56 
    56 
    57 #define COMMAND_VERSION                 Doc::alias("version")
    57 #define COMMAND_VERSION                 Doc::alias("version")
    58 
    58 
    59 WebXMLGenerator::WebXMLGenerator()
    59 WebXMLGenerator::WebXMLGenerator()
    88 QString WebXMLGenerator::format()
    88 QString WebXMLGenerator::format()
    89 {
    89 {
    90     return "WebXML";
    90     return "WebXML";
    91 }
    91 }
    92 
    92 
    93 QString WebXMLGenerator::fileExtension(const Node * /* node */)
    93 QString WebXMLGenerator::fileExtension(const Node * /* node */) const
    94 {
    94 {
    95     return "xml";
    95     return "xml";
    96 }
    96 }
    97 
    97 
    98 void WebXMLGenerator::generateTree(const Tree *tree, CodeMarker *marker)
    98 void WebXMLGenerator::generateTree(const Tree *tree, CodeMarker *marker)