summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-08-05 09:03:55 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-08-05 09:04:31 (GMT)
commitbcf41cf9dbe9921bb50b8cf2fcdcd9884e94412f (patch)
tree42b55d6ca13b77a1d7b1cef1d6a5236066ac1291 /tools/qdoc3
parenta3cb29b310f3d8b4de919bb19d98ae93edde7c85 (diff)
downloadQt-bcf41cf9dbe9921bb50b8cf2fcdcd9884e94412f.zip
Qt-bcf41cf9dbe9921bb50b8cf2fcdcd9884e94412f.tar.gz
Qt-bcf41cf9dbe9921bb50b8cf2fcdcd9884e94412f.tar.bz2
Make \annotatedlist <group> work also in pages that are not \group pages.
The command right now only lists the classes in the group, in alphabetical order. Not ideal for integrating into overviews, where the list should be ordered by relevance.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 425c50b..6b15f96 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -539,16 +539,13 @@ int HtmlGenerator::generateAtom(const Atom *atom,
break;
case Atom::AnnotatedList:
{
- const FakeNode *fake = static_cast<const FakeNode *>(relative);
- if (fake && !fake->groupMembers().isEmpty()) {
- QList<Node*> values = tre->groups().values(atom->string());
- QMap<QString, const Node*> nodeMap;
- for (int i = 0; i < values.size(); ++i) {
- const Node* n = values.at(i);
- nodeMap.insert(n->name(),n);
- }
- generateAnnotatedList(fake, marker, nodeMap);
+ QList<Node*> values = tre->groups().values(atom->string());
+ QMap<QString, const Node*> nodeMap;
+ for (int i = 0; i < values.size(); ++i) {
+ const Node* n = values.at(i);
+ nodeMap.insert(n->name(),n);
}
+ generateAnnotatedList(relative, marker, nodeMap);
}
break;
case Atom::GeneratedList: