summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/cppcodemarker.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@digia.com>2013-03-21 11:54:41 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-26 10:18:02 +0100
commit771a254d3c6f7830d1cc827835806afa16954368 (patch)
tree95af49c8cee5f10e6e51a53e7ceeef8577680081 /src/tools/qdoc/cppcodemarker.cpp
parente90ce866fa61ece9eca3b8e0846d46bb73752824 (diff)
qdoc: Show signals inherited from abstract base types
qdoc was not including QML signals in the documentation for a QML type, when the signals were inherited from a QML type that had been marked abstract. This is now fixed. Additionally, the QML type qualifier is not shown in the header for the documentation for a member of a QML type. The type qualifier was redundant information, and it was incorrect for members inherited from abstract base types. Task-number: QTBUG-30111 Change-Id: I73aef40f69a15bca6948bf36596b83800d248b1f Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/tools/qdoc/cppcodemarker.cpp')
-rw-r--r--src/tools/qdoc/cppcodemarker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qdoc/cppcodemarker.cpp b/src/tools/qdoc/cppcodemarker.cpp
index 5af9cdf2e8..75e49f288a 100644
--- a/src/tools/qdoc/cppcodemarker.cpp
+++ b/src/tools/qdoc/cppcodemarker.cpp
@@ -142,8 +142,8 @@ QString CppCodeMarker::markedUpSynopsis(const Node *node,
name = linkTag(node, name);
name = "<@name>" + name + "</@name>";
- if (style == Detailed && !node->parent()->name().isEmpty() &&
- node->type() != Node::Property)
+ if ((style == Detailed) && !node->parent()->name().isEmpty() &&
+ (node->type() != Node::Property) && !node->isQmlNode())
name.prepend(taggedNode(node->parent()) + "::");
switch (node->type()) {