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>
bb10
Martin Smith 2012-03-19 10:54:15 +01:00 committed by Qt by Nokia
parent 71916282be
commit b6bc91fc5a
1 changed files with 3 additions and 3 deletions

View File

@ -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);