summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-02-15 19:41:26 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-02-15 19:41:26 (GMT)
commita098d2025ec645ed902eb777a52778d665fbe845 (patch)
tree75766a6de43c5e44f44020dfb7547648f8026969 /tools
parenta0ac1c836c253b91f25325c4fbc07b6fa7e10caf (diff)
downloadQt-a098d2025ec645ed902eb777a52778d665fbe845.zip
Qt-a098d2025ec645ed902eb777a52778d665fbe845.tar.gz
Qt-a098d2025ec645ed902eb777a52778d665fbe845.tar.bz2
Ensured that variables are scanned when generating the help index.
Style option classes with obsolete variables had no obsolete pages in the compiled help files because, without other obsolete members to represent them, those pages were not added to the help project.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/helpprojectwriter.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/qdoc3/helpprojectwriter.cpp b/tools/qdoc3/helpprojectwriter.cpp
index f2e2f04..949507f 100644
--- a/tools/qdoc3/helpprojectwriter.cpp
+++ b/tools/qdoc3/helpprojectwriter.cpp
@@ -350,6 +350,14 @@ bool HelpProjectWriter::generateSection(HelpProject &project,
}
break;
+ case Node::Variable:
+ {
+ QString location = HtmlGenerator::fullDocumentLocation(node);
+ project.files.insert(location.left(location.lastIndexOf(QLatin1Char('#'))));
+ project.keywords.append(keywordDetails(node));
+ }
+ break;
+
// Fake nodes (such as manual pages) contain subtypes, titles and other
// attributes.
case Node::Fake: {