diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-09-18 11:37:32 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-09-18 11:37:32 (GMT) |
commit | ed73f806928760ace1d4c7c2a6327875725bcb05 (patch) | |
tree | fe980a1a26aa231212f35810f5be680f3e9fa17b /tools/qdoc3/ditaxmlgenerator.h | |
parent | 4b8542e958ebced0b324e64291c6d10d79680021 (diff) | |
download | Qt-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.h | 7 |
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; }; |