From fcc8a1b6ff261f128969458146185c9ed9d5892b Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 10 Mar 2011 08:14:27 +0100 Subject: qdoc: Added element to contain the module name. --- tools/qdoc3/ditaxmlgenerator.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp index cc7b1da..6ea371c 100644 --- a/tools/qdoc3/ditaxmlgenerator.cpp +++ b/tools/qdoc3/ditaxmlgenerator.cpp @@ -5614,7 +5614,6 @@ DitaXmlGenerator::writeProlog(const InnerNode* inner, CodeMarker* marker) xmlWriter().writeCharacters(category); writeEndTag(); // if (vrm.size() > 0) { - qDebug() << "VRM" << vrm; writeStartTag(DT_prodinfo); writeStartTag(DT_prodname); xmlWriter().writeCharacters(projectDescription); @@ -5629,6 +5628,12 @@ DitaXmlGenerator::writeProlog(const InnerNode* inner, CodeMarker* marker) xmlWriter().writeAttribute("modification",vrm[2]); writeEndTag(); // writeEndTag(); // + QString component = inner->moduleName(); + if (!component.isEmpty()) { + writeStartTag(DT_component); + xmlWriter().writeCharacters(component); + writeEndTag(); // + } writeEndTag(); // } writeEndTag(); // -- cgit v0.12