diff options
Diffstat (limited to 'tools/qdoc3/node.h')
-rw-r--r-- | tools/qdoc3/node.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/qdoc3/node.h b/tools/qdoc3/node.h index 3f5be6c..4e12846 100644 --- a/tools/qdoc3/node.h +++ b/tools/qdoc3/node.h @@ -425,6 +425,36 @@ class QmlPropertyNode : public LeafNode Trool wri; bool att; }; + +class QmlSignalNode : public LeafNode +{ + public: + QmlSignalNode(QmlClassNode* parent, + const QString& name, + bool attached); + virtual ~QmlSignalNode() { } + + const QString& element() const { return parent()->name(); } + bool isAttached() const { return att; } + + private: + bool att; +}; + +class QmlMethodNode : public LeafNode +{ + public: + QmlMethodNode(QmlClassNode* parent, + const QString& name, + bool attached); + virtual ~QmlMethodNode() { } + + const QString& element() const { return parent()->name(); } + bool isAttached() const { return att; } + + private: + bool att; +}; #endif class EnumItem |