diff options
author | Martin Smith <martin.smith@nokia.com> | 2012-03-19 10:54:15 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-20 14:19:36 +0100 |
commit | b6bc91fc5a402ae9d69b176002330e1ff6df4574 (patch) | |
tree | 8b493e3f4d582b714111b07fde5fe64c144d3784 /src/tools | |
parent | 71916282be0a3b5191602c1d942c77a6707aa993 (diff) |
qdoc: Remove the spectitle attribute
qdoc no longer writes the title as the value of the
spectitle attribute in the <apiDesc> element.
Change-Id: I3f89142fa764c9ac2f3f3bcf9d9162bcf3528df2
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/qdoc/ditaxmlgenerator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qdoc/ditaxmlgenerator.cpp b/src/tools/qdoc/ditaxmlgenerator.cpp index e9615445b9..34605e0595 100644 --- a/src/tools/qdoc/ditaxmlgenerator.cpp +++ b/src/tools/qdoc/ditaxmlgenerator.cpp @@ -328,8 +328,7 @@ DitaXmlGenerator::DitaTag DitaXmlGenerator::currentTag() /*! Write the start tag \c{<apiDesc>}. if \a title is not empty, generate a GUID from it and write the GUID as the - value of the \e{id} attribute. Then write \a title as - the value of the \e {spectitle} attribute. + value of the \e{id} attribute. Then if \a outputclass is not empty, write it as the value of the \a outputclass attribute. @@ -341,7 +340,8 @@ int DitaXmlGenerator::enterApiDesc(const QString& outputclass, const QString& ti writeStartTag(DT_apiDesc); if (!title.isEmpty()) { writeGuidAttribute(title); - xmlWriter().writeAttribute("spectitle",title); + //Are there cases where the spectitle is required? + //xmlWriter().writeAttribute("spectitle",title); } if (!outputclass.isEmpty()) xmlWriter().writeAttribute("outputclass",outputclass); |