summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/htmlgenerator.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-08-10 12:57:30 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-08-10 12:58:14 (GMT)
commit2a1dcf7a47d81ad8b492c312dfd5e422ba2e3cd0 (patch)
tree8f81abfaa35811f7e838325149b2c2d0f5a42433 /tools/qdoc3/htmlgenerator.cpp
parent65ba2c18a9a3ec82331c0ccab47edc8e252192df (diff)
downloadQt-2a1dcf7a47d81ad8b492c312dfd5e422ba2e3cd0.zip
Qt-2a1dcf7a47d81ad8b492c312dfd5e422ba2e3cd0.tar.gz
Qt-2a1dcf7a47d81ad8b492c312dfd5e422ba2e3cd0.tar.bz2
qdoc: List the NOTIFY signal function in the property doc.
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 26874e1..c203c62 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -3420,6 +3420,14 @@ void HtmlGenerator::generateDetailedMember(const Node *node,
out() << "<p><b>Access functions:</b></p>\n";
generateSectionList(section, node, marker, CodeMarker::Accessors);
}
+
+ Section notifiers;
+ notifiers.members += property->notifiers();
+
+ if (!notifiers.members.isEmpty()) {
+ out() << "<p><b>Notifier signal:</b></p>\n";
+ generateSectionList(notifiers, node, marker, CodeMarker::Accessors);
+ }
}
else if (node->type() == Node::Enum) {
const EnumNode *enume = static_cast<const EnumNode *>(node);