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 | |
parent | f101d46ccd4795fc672b5b6c9e24151df319d725 (diff) | |
download | Qt-e50217fd8fa55228bb145f004cabc98814589351.zip Qt-e50217fd8fa55228bb145f004cabc98814589351.tar.gz Qt-e50217fd8fa55228bb145f004cabc98814589351.tar.bz2 |
qdoc: Added breadcrumbs for most other pages.
-rw-r--r-- | doc/src/classes.qdoc | 4 | ||||
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 8 |
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) { } |