diff options
author | Martin Smith <msmith@trolltech.com> | 2009-11-06 13:18:42 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-11-06 13:18:42 (GMT) |
commit | 3ceeb87db6b6f7beeffe9df0417bd076fa72eece (patch) | |
tree | f1b360198e4f6569e68c4b1719cbbb17499a398f /tools/qdoc3/cppcodemarker.cpp | |
parent | 371856e3e37670ae5333f2d170d56f867e1350d7 (diff) | |
download | Qt-3ceeb87db6b6f7beeffe9df0417bd076fa72eece.zip Qt-3ceeb87db6b6f7beeffe9df0417bd076fa72eece.tar.gz Qt-3ceeb87db6b6f7beeffe9df0417bd076fa72eece.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.cpp | 2 |
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()) + " "; |