summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/codemarker.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/codemarker.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/codemarker.cpp')
-rw-r--r--src/tools/qdoc/codemarker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/qdoc/codemarker.cpp b/src/tools/qdoc/codemarker.cpp
index 7a7ede0f20..4e144d2f7d 100644
--- a/src/tools/qdoc/codemarker.cpp
+++ b/src/tools/qdoc/codemarker.cpp
@@ -398,7 +398,8 @@ void CodeMarker::insert(FastSection &fastSection,
bool inheritedMember = false;
if (!node->relates()) {
if (node->parent() != fastSection.parent_) { // && !node->parent()->isAbstract()) {
- if (node->type() != Node::QmlProperty) {
+ if ((node->parent()->subType() != Node::QmlClass) || !node->parent()->isAbstract()) {
+ //if (node->type() != Node::QmlProperty) {
inheritedMember = true;
}
}