summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-04-14 08:33:07 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-04-14 08:33:07 (GMT)
commit61726600cc7d6412a3d25674a4f785c23c8a8f64 (patch)
tree6af60db1222d5ecbf74cecc2ce2e06dada031999
parenta683587a5ffd07366d60f1c4eb56aaee090fcbc4 (diff)
downloadQt-61726600cc7d6412a3d25674a4f785c23c8a8f64.zip
Qt-61726600cc7d6412a3d25674a4f785c23c8a8f64.tar.gz
Qt-61726600cc7d6412a3d25674a4f785c23c8a8f64.tar.bz2
qdoc: Added TOC to class ref pages.
It isn't a full TOC yet. It only includes h1, h2, etc from the Detaled Description part. In many classes, there aren't any of these, so many classes won't have a TOC yet.
-rw-r--r--tools/qdoc3/htmlgenerator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 508c83a..57c3ba2 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1262,6 +1262,7 @@ void HtmlGenerator::generateClassLikeNode(const InnerNode *inner,
}
generateHeader(title, inner, marker, true);
+ generateTableOfContents(inner,marker);
generateTitle(title, subtitleText, SmallSubTitle, inner, marker);
#ifdef QDOC_QML