summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-04-14 08:33:07 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-04-15 12:11:20 (GMT)
commit55262252cb51e09248dfb365ef2a4dde24a717db (patch)
treebd97c2f9c4f139f3e00f503c24957b751d304ae2 /tools
parent4ddfb127542321c4ba517d1b457e610a0d3cc19f (diff)
downloadQt-55262252cb51e09248dfb365ef2a4dde24a717db.zip
Qt-55262252cb51e09248dfb365ef2a4dde24a717db.tar.gz
Qt-55262252cb51e09248dfb365ef2a4dde24a717db.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. (cherry picked from commit 61726600cc7d6412a3d25674a4f785c23c8a8f64)
Diffstat (limited to 'tools')
-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 4985f64..29681dc 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