summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-03-24 20:06:51 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-03-24 20:06:51 (GMT)
commit21587da40824d8609575284f0ee0fac90c972f27 (patch)
tree797740a23dd652f609fa100db4f0c862df4692ed /src/definition.cpp
parentca3fb0a6df32b732c6b390b937f3ada001cb1e7a (diff)
downloadDoxygen-21587da40824d8609575284f0ee0fac90c972f27.zip
Doxygen-21587da40824d8609575284f0ee0fac90c972f27.tar.gz
Doxygen-21587da40824d8609575284f0ee0fac90c972f27.tar.bz2
Release-1.2.14-20020324
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp11
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;
}