diff options
author | Martin Smith <msmith@trolltech.com> | 2009-08-10 12:57:30 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-08-10 12:58:14 (GMT) |
commit | 2a1dcf7a47d81ad8b492c312dfd5e422ba2e3cd0 (patch) | |
tree | 8f81abfaa35811f7e838325149b2c2d0f5a42433 /tools/qdoc3/tree.cpp | |
parent | 65ba2c18a9a3ec82331c0ccab47edc8e252192df (diff) | |
download | Qt-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/tree.cpp')
-rw-r--r-- | tools/qdoc3/tree.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qdoc3/tree.cpp b/tools/qdoc3/tree.cpp index f832062..a5e22f1 100644 --- a/tools/qdoc3/tree.cpp +++ b/tools/qdoc3/tree.cpp @@ -485,6 +485,7 @@ void Tree::resolveProperties() QString getterName = (*propEntry)[PropertyNode::Getter]; QString setterName = (*propEntry)[PropertyNode::Setter]; QString resetterName = (*propEntry)[PropertyNode::Resetter]; + QString notifierName = (*propEntry)[PropertyNode::Notifier]; NodeList::ConstIterator c = parent->childNodes().begin(); while (c != parent->childNodes().end()) { @@ -499,6 +500,8 @@ void Tree::resolveProperties() property->addFunction(function, PropertyNode::Setter); } else if (function->name() == resetterName) { property->addFunction(function, PropertyNode::Resetter); + } else if (function->name() == notifierName) { + property->addFunction(function, PropertyNode::Notifier); } } } |