diff options
author | Martin Smith <msmith@trolltech.com> | 2010-05-03 08:35:36 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-05-03 08:35:36 (GMT) |
commit | e50217fd8fa55228bb145f004cabc98814589351 (patch) | |
tree | 7f5918dc94c7b130ff2bf7a25b7f0df22079a556 /tools | |
parent | f101d46ccd4795fc672b5b6c9e24151df319d725 (diff) | |
download | Qt-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.cpp | 8 |
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) { } |