summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/ditaxmlgenerator.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-11-01 11:04:32 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-11-01 11:04:32 (GMT)
commitd5d44eb800f1c0be15d49521cf991a1c9466cb78 (patch)
treeeef2d6c7aecf532afb8e1050659efcce8006f1f1 /tools/qdoc3/ditaxmlgenerator.cpp
parent5fdbfcaa0ebda0b2062d962734546309c6d2247c (diff)
downloadQt-d5d44eb800f1c0be15d49521cf991a1c9466cb78.zip
Qt-d5d44eb800f1c0be15d49521cf991a1c9466cb78.tar.gz
Qt-d5d44eb800f1c0be15d49521cf991a1c9466cb78.tar.bz2
doc: Corrections to linking errors in the docs.
Diffstat (limited to 'tools/qdoc3/ditaxmlgenerator.cpp')
-rw-r--r--tools/qdoc3/ditaxmlgenerator.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp
index a885f29..4bc08a3 100644
--- a/tools/qdoc3/ditaxmlgenerator.cpp
+++ b/tools/qdoc3/ditaxmlgenerator.cpp
@@ -2907,7 +2907,7 @@ void DitaXmlGenerator::generateFunctionIndex(const Node* relative,
CodeMarker* marker)
{
xmlWriter().writeStartElement("p");
- xmlWriter().writeAttribute("outputclass","centerAlign functionIndex");
+ xmlWriter().writeAttribute("outputclass","function-index");
xmlWriter().writeStartElement("b");
for (int i = 0; i < 26; i++) {
QChar ch('a' + i);
@@ -3980,6 +3980,7 @@ void DitaXmlGenerator::findAllFunctions(const InnerNode* node)
else if ((*c)->type() == Node::Function) {
const FunctionNode* func = static_cast<const FunctionNode*>(*c);
if ((func->status() > Node::Obsolete) &&
+ !func->isInternal() &&
(func->metaness() != FunctionNode::Ctor) &&
(func->metaness() != FunctionNode::Dtor)) {
funcIndex[(*c)->name()].insert(myTree->fullDocumentName((*c)->parent()), *c);
@@ -4776,12 +4777,14 @@ void DitaXmlGenerator::writeFunctions(const Section& s,
xmlWriter().writeCharacters(fnl);
xmlWriter().writeEndElement(); // <cxxFunctionNameLookup>
- if (fn->isReimp() && fn->reimplementedFrom() != 0) {
+ if (!fn->isInternal() && fn->isReimp() && fn->reimplementedFrom() != 0) {
FunctionNode* rfn = (FunctionNode*)fn->reimplementedFrom();
- xmlWriter().writeStartElement(CXXFUNCTIONREIMPLEMENTED);
- xmlWriter().writeAttribute("href",rfn->ditaXmlHref());
- xmlWriter().writeCharacters(marker->plainFullName(rfn));
- xmlWriter().writeEndElement(); // </cxxFunctionReimplemented>
+ if (rfn && !rfn->isInternal()) {
+ xmlWriter().writeStartElement(CXXFUNCTIONREIMPLEMENTED);
+ xmlWriter().writeAttribute("href",rfn->ditaXmlHref());
+ xmlWriter().writeCharacters(marker->plainFullName(rfn));
+ xmlWriter().writeEndElement(); // </cxxFunctionReimplemented>
+ }
}
writeParameters(fn);
writeLocation(fn);