summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/cppcodemarker.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-11-06 13:18:42 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-11-11 12:47:36 (GMT)
commit37de9752d214b581dea3896676663d6815a932c1 (patch)
tree4461189bb38086b28c3844e0a111bdf587a8f4f1 /tools/qdoc3/cppcodemarker.cpp
parent385ef0b086d0736d1dd8ef03ced73c73e61dcb43 (diff)
downloadQt-37de9752d214b581dea3896676663d6815a932c1.zip
Qt-37de9752d214b581dea3896676663d6815a932c1.tar.gz
Qt-37de9752d214b581dea3896676663d6815a932c1.tar.bz2
qdoc3: Output the full signature for QML signals and methods
In the Method Documentation and Signal Documentation sections.
Diffstat (limited to 'tools/qdoc3/cppcodemarker.cpp')
-rw-r--r--tools/qdoc3/cppcodemarker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qdoc3/cppcodemarker.cpp b/tools/qdoc3/cppcodemarker.cpp
index f3188bd..a8f6a02 100644
--- a/tools/qdoc3/cppcodemarker.cpp
+++ b/tools/qdoc3/cppcodemarker.cpp
@@ -194,6 +194,8 @@ QString CppCodeMarker::markedUpSynopsis(const Node *node,
synopsis = "class " + name;
break;
case Node::Function:
+ case Node::QmlSignal:
+ case Node::QmlMethod:
func = (const FunctionNode *) node;
if (style != SeparateList && !func->returnType().isEmpty())
synopsis = typified(func->returnType()) + " ";