diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-03-24 20:06:51 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-03-24 20:06:51 (GMT) |
commit | a633d7976dbe31f1499efa59ae27ce75ff7015d7 (patch) | |
tree | 797740a23dd652f609fa100db4f0c862df4692ed /src/definition.cpp | |
parent | 40c0613db241b9015265b2b9f3673e0c7869d3c2 (diff) | |
download | Doxygen-a633d7976dbe31f1499efa59ae27ce75ff7015d7.zip Doxygen-a633d7976dbe31f1499efa59ae27ce75ff7015d7.tar.gz Doxygen-a633d7976dbe31f1499efa59ae27ce75ff7015d7.tar.bz2 |
Release-1.2.14-20020324
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; } |