diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-03-07 21:00:29 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-03-07 21:00:29 (GMT) |
commit | f12fe31aed103718f5d4c368473302cc6ac82a47 (patch) | |
tree | ecc570be1c038ecdb55dda6d9ffe794945151261 /src/definition.cpp | |
parent | 5edb3c85109d09e5fa43529bf8b584382f7501a5 (diff) | |
download | Doxygen-f12fe31aed103718f5d4c368473302cc6ac82a47.zip Doxygen-f12fe31aed103718f5d4c368473302cc6ac82a47.tar.gz Doxygen-f12fe31aed103718f5d4c368473302cc6ac82a47.tar.bz2 |
Release-1.3.6-20040307
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index ac18ebe..a99549b 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -39,7 +39,7 @@ static void addToMap(const char *name,Definition *d) { QCString symbolName = name; - int index=symbolName.findRev("::"); + int index=computeQualifiedIndex(symbolName); if (index!=-1) symbolName=symbolName.mid(index+2); if (!symbolName.isEmpty()) { @@ -58,7 +58,7 @@ static void addToMap(const char *name,Definition *d) static void removeFromMap(Definition *d) { QCString symbolName = d->symbolName(); - int index=symbolName.findRev("::"); + int index=computeQualifiedIndex(symbolName); if (index!=-1) symbolName=symbolName.mid(index+2); if (!symbolName.isEmpty()) { @@ -512,8 +512,10 @@ void Definition::writeSourceRefList(OutputList &ol,const char *scopeName, name.prepend(scope+"::"); } } - if (md->isFunction() || md->isSlot() || - md->isPrototype() || md->isSignal() + if (!md->isObjCMethod() && + (md->isFunction() || md->isSlot() || + md->isPrototype() || md->isSignal() + ) ) name+="()"; //Definition *d = md->getOutputFileBase(); //if (d==Doxygen::globalScope) d=md->getBodyDef(); |