summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/ditaxmlgenerator.h
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-09-18 11:37:32 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-09-18 11:37:32 (GMT)
commited73f806928760ace1d4c7c2a6327875725bcb05 (patch)
treefe980a1a26aa231212f35810f5be680f3e9fa17b /tools/qdoc3/ditaxmlgenerator.h
parent4b8542e958ebced0b324e64291c6d10d79680021 (diff)
downloadQt-ed73f806928760ace1d4c7c2a6327875725bcb05.zip
Qt-ed73f806928760ace1d4c7c2a6327875725bcb05.tar.gz
Qt-ed73f806928760ace1d4c7c2a6327875725bcb05.tar.bz2
qdoc: DITA XML generator now uses <section> elements...
...instead of <p> elements with the outputclass attribute set to some h value. Also added some missing macros to qt-ditaxml.qdocconf, but there is more to think about here.
Diffstat (limited to 'tools/qdoc3/ditaxmlgenerator.h')
-rw-r--r--tools/qdoc3/ditaxmlgenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.h b/tools/qdoc3/ditaxmlgenerator.h
index bd78e93..35c49ae 100644
--- a/tools/qdoc3/ditaxmlgenerator.h
+++ b/tools/qdoc3/ditaxmlgenerator.h
@@ -263,6 +263,10 @@ class DitaXmlGenerator : public PageGenerator
virtual void beginSubPage(const Location& location, const QString& fileName);
virtual void endSubPage();
QXmlStreamWriter& xmlWriter();
+ void writeDetailSections(const Node* node,
+ CodeMarker* marker,
+ bool apiDesc,
+ const QString& title);
private:
QMap<QString, QString> refMap;
@@ -315,6 +319,9 @@ class DitaXmlGenerator : public PageGenerator
NewClassMaps newClassMaps;
NewClassMaps newQmlClassMaps;
static int id;
+ static bool inApiDesc;
+ static bool inSection;
+ static bool inDetailedDescription;
QStack<QXmlStreamWriter*> xmlWriterStack;
};