diff options
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
-rw-r--r-- | src/qdoc/clangcodeparser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp index e6c6d5801..f50215201 100644 --- a/src/qdoc/clangcodeparser.cpp +++ b/src/qdoc/clangcodeparser.cpp @@ -782,6 +782,8 @@ void ClangVisitor::readParameterNamesAndAttributes(FunctionNode* fn, CXCursor cu } else if (annotation == QLatin1String("qt_signal")) { fn->setMetaness(FunctionNode::Signal); } + if (annotation == QLatin1String("qt_invokable")) + fn->setInvokable(true); } else if (kind == CXCursor_ParmDecl) { if (i >= pvect.count()) return CXChildVisit_Break; // Attributes comes before parameters so we can break. |