summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/node.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-11-10 12:38:13 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-11-11 12:47:39 (GMT)
commit001d2291bb887139597be5d42753227267f49394 (patch)
treedc04cabc6dc22aebdd804a3f4547397d60f632b3 /tools/qdoc3/node.cpp
parent37de9752d214b581dea3896676663d6815a932c1 (diff)
downloadQt-001d2291bb887139597be5d42753227267f49394.zip
Qt-001d2291bb887139597be5d42753227267f49394.tar.gz
Qt-001d2291bb887139597be5d42753227267f49394.tar.bz2
qdoc3: Allow the full signature for QML signals and methods
...in the \qmlmethod and \qmlsignal commands, and the corresponding "attached" ones. Previously, the type was not allowed, but it really should be there, which means the \qmlmethod and \qmlsignal commands should be updated throughout.
Diffstat (limited to 'tools/qdoc3/node.cpp')
-rw-r--r--tools/qdoc3/node.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/qdoc3/node.cpp b/tools/qdoc3/node.cpp
index 1217042..373002c 100644
--- a/tools/qdoc3/node.cpp
+++ b/tools/qdoc3/node.cpp
@@ -1094,6 +1094,13 @@ QString FunctionNode::signature(bool values) const
return s;
}
+/*!
+ Print some debugging stuff.
+ */
+void FunctionNode::debug() const
+{
+ qDebug() << "QML METHOD" << name() << "rt" << rt << "pp" << pp;
+}
/*!
\class PropertyNode