diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-19 10:28:04 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-19 10:28:04 (GMT) |
commit | 4445f5a02464f5beb0b28e27f94b01c2d72ef766 (patch) | |
tree | 58b01e371bbb9f7fcdefd7f53214e8883b2662d6 | |
parent | 8ae4ad3ac2f47a76be6d0f14f4466070ffcb07a9 (diff) | |
parent | 91f47532111927c7b8d5cd9981ded7bc0c203d88 (diff) | |
download | Qt-4445f5a02464f5beb0b28e27f94b01c2d72ef766.zip Qt-4445f5a02464f5beb0b28e27f94b01c2d72ef766.tar.gz Qt-4445f5a02464f5beb0b28e27f94b01c2d72ef766.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
qdoc3: Added more pagewords & elements to the search index.
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index 8215ddc..6fbc2a9 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -4502,6 +4502,12 @@ bool HtmlGenerator::generatePageElement(QXmlStreamWriter& writer, pageWords << title; break; } + + Node* parent = node->parent(); + if (parent && ((parent->type() == Node::Class) || + (parent->type() == Node::Namespace))) { + pageWords << parent->name(); + } } writer.writeAttribute("id",t); |