summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.h
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/node.h
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/node.h')
-rw-r--r--tools/qdoc3/node.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/qdoc3/node.h b/tools/qdoc3/node.h
index 17ec447..61f2a76 100644
--- a/tools/qdoc3/node.h
+++ b/tools/qdoc3/node.h
@@ -590,8 +590,8 @@ class FunctionNode : public LeafNode
class PropertyNode : public LeafNode
{
public:
- enum FunctionRole { Getter, Setter, Resetter };
- enum { NumFunctionRoles = Resetter + 1 };
+ enum FunctionRole { Getter, Setter, Resetter, Notifier };
+ enum { NumFunctionRoles = Notifier + 1 };
PropertyNode(InnerNode *parent, const QString& name);
virtual ~PropertyNode() { }
@@ -609,6 +609,7 @@ class PropertyNode : public LeafNode
NodeList getters() const { return functions(Getter); }
NodeList setters() const { return functions(Setter); }
NodeList resetters() const { return functions(Resetter); }
+ NodeList notifiers() const { return functions(Notifier); }
bool isStored() const { return fromTrool(sto, storedDefault()); }
bool isDesignable() const { return fromTrool(des, designableDefault()); }
const PropertyNode *overriddenFrom() const { return overrides; }