summaryrefslogtreecommitdiff
path: root/tools/qdoc3/cppcodeparser.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-08-17 14:28:45 +0200
committerMartin Smith <msmith@trolltech.com>2009-08-17 14:30:02 +0200
commit1ca6a2f3174fdfbbe080af920ab75558a1a9247e (patch)
tree706c3a4beb1b3a13be73ee3e28c40226ef150b29 /tools/qdoc3/cppcodeparser.cpp
parent38f41726cf3a76a57ca15f7cc82e56a5aa2c5a1c (diff)
downloadqt4-tools-1ca6a2f3174fdfbbe080af920ab75558a1a9247e.tar.gz
qdoc: Fixed the bug that made reporting NOTIFY signals not work.
The signal was being associated with a particular property, but in many classes, the NOTIFY signal applies to multiple properties. Added a new function to the PropertyNode class that adds the signal function without associating it with any property. Task-number: 259071
Diffstat (limited to 'tools/qdoc3/cppcodeparser.cpp')
-rw-r--r--tools/qdoc3/cppcodeparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/cppcodeparser.cpp b/tools/qdoc3/cppcodeparser.cpp
index ebe5ec90c0..7519ff162c 100644
--- a/tools/qdoc3/cppcodeparser.cpp
+++ b/tools/qdoc3/cppcodeparser.cpp
@@ -1734,11 +1734,11 @@ bool CppCodeParser::matchProperty(InnerNode *parent)
property->setDesignable(value.toLower() == "true");
else if (key == "RESET")
tre->addPropertyFunction(property, value, PropertyNode::Resetter);
-#if 0
+
else if (key == "NOTIFY") {
tre->addPropertyFunction(property, value, PropertyNode::Notifier);
}
-#endif
+
}
match(Tok_RightParen);
return true;