summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-08-06 13:18:01 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-08-06 13:18:40 (GMT)
commit4b22dc7d36e9ef38bbfc709c63e73718110ce385 (patch)
treeddbe4115b9d284977c29794ff07ffe33c8d65dd0 /tools
parentaf5cb732ac6caf370f98dd41129a723a81d55e9b (diff)
downloadQt-4b22dc7d36e9ef38bbfc709c63e73718110ce385.zip
Qt-4b22dc7d36e9ef38bbfc709c63e73718110ce385.tar.gz
Qt-4b22dc7d36e9ef38bbfc709c63e73718110ce385.tar.bz2
qdoc: Don't include internal or private classes in annotated lists.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index d3a1459..26874e1 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -543,7 +543,8 @@ int HtmlGenerator::generateAtom(const Atom *atom,
QMap<QString, const Node*> nodeMap;
for (int i = 0; i < values.size(); ++i) {
const Node* n = values.at(i);
- nodeMap.insert(n->name(),n);
+ if ((n->status() != Node::Internal) && (n->access() != Node::Private))
+ nodeMap.insert(n->name(),n);
}
generateAnnotatedList(relative, marker, nodeMap);
}