diff options
author | Martin Smith <martin.smith@nokia.com> | 2012-03-13 14:46:28 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-13 18:04:12 +0100 |
commit | 0d43b8c617c4bb564e0789994de94f26506ad30b (patch) | |
tree | 49beff39362b5814f540a4289da2b92294ab05e0 /src/tools/qdoc/tree.cpp | |
parent | 8ac05adca706094f0cdeb997e6bb89945f8917b8 (diff) |
qdoc3: qdoc now handles overloaded methods for QML
When a C++ class is documented as a QML type, it can
have overloaded QML methods. These are now handled
correctly by qdoc. The method list for QML types is
now output with the full method signature. For signals
and handlers too.
Task-number: QTBUG-24670
Change-Id: If529d4136f5b480373b6ac25d2dceef15e6ea3db
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/tools/qdoc/tree.cpp')
-rw-r--r-- | src/tools/qdoc/tree.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/qdoc/tree.cpp b/src/tools/qdoc/tree.cpp index c52e45739a..4b2a8ba55c 100644 --- a/src/tools/qdoc/tree.cpp +++ b/src/tools/qdoc/tree.cpp @@ -1050,6 +1050,8 @@ void Tree::readIndexFile(const QString& path) } /*! + Read a <section> element from the index file and create the + appropriate node(s). */ void Tree::readIndexSection(const QDomElement& element, InnerNode* parent, @@ -1364,6 +1366,7 @@ void Tree::readIndexSection(const QDomElement& element, Doc doc(location, location, " ", emptySet); // placeholder section->setDoc(doc); + section->setIndexNodeFlag(); if (section->isInnerNode()) { InnerNode* inner = static_cast<InnerNode*>(section); |