summaryrefslogtreecommitdiffstats
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
parentf101d46ccd4795fc672b5b6c9e24151df319d725 (diff)
downloadQt-e50217fd8fa55228bb145f004cabc98814589351.zip
Qt-e50217fd8fa55228bb145f004cabc98814589351.tar.gz
Qt-e50217fd8fa55228bb145f004cabc98814589351.tar.bz2
qdoc: Added breadcrumbs for most other pages.
-rw-r--r--doc/src/classes.qdoc4
-rw-r--r--tools/qdoc3/htmlgenerator.cpp8
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/src/classes.qdoc b/doc/src/classes.qdoc
index 6ba31a2..1552f56 100644
--- a/doc/src/classes.qdoc
+++ b/doc/src/classes.qdoc
@@ -59,7 +59,7 @@
/*!
\page classes.html
- \title All Qt Classes (main index)
+ \title All Qt Classes
\ingroup classlists
\brief If you know the name of the class you want, find it here.
@@ -146,7 +146,7 @@
/*!
\page functions.html
- \title All Functions (main index)
+ \title All Functions
\ingroup funclists
\brief All documented Qt functions listed alphabetically with a
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) {
}