summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-10-23 12:39:57 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-10-23 12:42:27 (GMT)
commit05aaab72d69a7fa9c23811c1d3ee7d91a9174e46 (patch)
tree7cdc607a2e7218f05b23bbc70a50b1f3fd1a830b /tools/qdoc3/node.cpp
parent08cb2ac46791ef3abfd9d85eb6a75251b1f41336 (diff)
downloadQt-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.cpp')
-rw-r--r--tools/qdoc3/node.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index 49f2cc9..61855bc 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -1210,8 +1210,10 @@ bool QmlPropertyNode::fromTrool(Trool troolean, bool defaultValue)
/*!
Constructor for the QML signal node.
*/
-QmlSignalNode::QmlSignalNode(QmlClassNode *parent, const QString& name)
- : LeafNode(QmlSignal, parent, name)
+QmlSignalNode::QmlSignalNode(QmlClassNode *parent,
+ const QString& name,
+ bool attached)
+ : LeafNode(QmlSignal, parent, name), att(attached)
{
// nothing.
}
@@ -1219,8 +1221,10 @@ QmlSignalNode::QmlSignalNode(QmlClassNode *parent, const QString& name)
/*!
Constructor for the QML method node.
*/
-QmlMethodNode::QmlMethodNode(QmlClassNode *parent, const QString& name)
- : LeafNode(QmlMethod, parent, name)
+QmlMethodNode::QmlMethodNode(QmlClassNode *parent,
+ const QString& name,
+ bool attached)
+ : LeafNode(QmlMethod, parent, name), att(attached)
{
// nothing.
}