diff options
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 8800f81..08ddf6f 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -388,7 +388,14 @@ void Definition::writeSourceRefList(OutputList &ol,const char *scopeName, //printf("class=%p scope=%s scopeName=%s\n",md->getClassDef(),scope.data(),scopeName); if (!scope.isEmpty() && scope!=scopeName) { - name.prepend(scope+"::"); + if (Config_getBool("OPTIMIZE_OUTPUT_JAVA")) + { + name.prepend(scope+"."); + } + else + { + name.prepend(scope+"::"); + } } Definition *d = md->getOuterScope(); if (d==Doxygen::globalScope) d=md->getBodyDef(); @@ -429,7 +436,7 @@ void Definition::writeSourceRefList(OutputList &ol,const char *scopeName, { ol.docify(name); } - if (md->isFunction() && md->isSlot()) ol.docify("()"); + if (md->isFunction() || md->isSlot() || md->isPrototype() || md->isSignal()) ol.docify("()"); } index=newIndex+matchLen; } |