diff options
author | Martin Smith <msmith@trolltech.com> | 2009-10-23 12:39:57 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-10-23 12:42:27 (GMT) |
commit | 05aaab72d69a7fa9c23811c1d3ee7d91a9174e46 (patch) | |
tree | 7cdc607a2e7218f05b23bbc70a50b1f3fd1a830b /tools/qdoc3/node.h | |
parent | 08cb2ac46791ef3abfd9d85eb6a75251b1f41336 (diff) | |
download | Qt-05aaab72d69a7fa9c23811c1d3ee7d91a9174e46.zip Qt-05aaab72d69a7fa9c23811c1d3ee7d91a9174e46.tar.gz Qt-05aaab72d69a7fa9c23811c1d3ee7d91a9174e46.tar.bz2 |
qdoc3: Added the \qmlattachedsignal and \qmlattachedmethod.
They works just like the \qmlsignal and \qmlmethod commands.
Diffstat (limited to 'tools/qdoc3/node.h')
-rw-r--r-- | tools/qdoc3/node.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/tools/qdoc3/node.h b/tools/qdoc3/node.h index fed4ea1..20ccb95 100644 --- a/tools/qdoc3/node.h +++ b/tools/qdoc3/node.h @@ -420,19 +420,31 @@ class QmlPropertyNode : public LeafNode class QmlSignalNode : public LeafNode { public: - QmlSignalNode(QmlClassNode* parent, const QString& name); + 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); + 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 |