summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-05-03 08:35:36 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-05-03 08:35:36 (GMT)
commite50217fd8fa55228bb145f004cabc98814589351 (patch)
tree7f5918dc94c7b130ff2bf7a25b7f0df22079a556 /tools
parentf101d46ccd4795fc672b5b6c9e24151df319d725 (diff)
downloadQt-e50217fd8fa55228bb145f004cabc98814589351.zip
Qt-e50217fd8fa55228bb145f004cabc98814589351.tar.gz
Qt-e50217fd8fa55228bb145f004cabc98814589351.tar.bz2
qdoc: Added breadcrumbs for most other pages.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index fb3c3f3..a0cd560 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1716,6 +1716,10 @@ void HtmlGenerator::generateBreadCrumbs(const QString& title,
else if (node->subType() == Node::Group) {
if (fn->name() == QString("modules"))
out() << " <li><a href=\"modules.html\">All Modules</a></li>";
+ else {
+ out() << " <li><a href=\"" << fn->name() << "\">" << title
+ << "</a></li>";
+ }
}
else if (node->subType() == Node::Page) {
if (fn->name() == QString("examples.html")) {
@@ -1729,6 +1733,10 @@ void HtmlGenerator::generateBreadCrumbs(const QString& title,
else if (fn->name() == QString("namespaces.html")) {
out() << " <li><a href=\"namespaces.html\">All Namespaces</a></li>";
}
+ else {
+ out() << " <li><a href=\"" << fn->name() << "\">" << title
+ << "</a></li>";
+ }
}
else if (node->subType() == Node::QmlClass) {
}