diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-11-29 19:11:02 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-11-29 19:11:02 (GMT) |
commit | 02aa9b678dbeb1867c68278045b28d7bc1683f7c (patch) | |
tree | ae4f833eab5f7b63e139145daee905c412ebd229 /src/classlist.cpp | |
parent | 05930245579c006f2b5bfca53e0a1976d682f9b8 (diff) | |
download | Doxygen-02aa9b678dbeb1867c68278045b28d7bc1683f7c.zip Doxygen-02aa9b678dbeb1867c68278045b28d7bc1683f7c.tar.gz Doxygen-02aa9b678dbeb1867c68278045b28d7bc1683f7c.tar.bz2 |
Release-1.3.9.1-20041129
Diffstat (limited to 'src/classlist.cpp')
-rw-r--r-- | src/classlist.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/classlist.cpp b/src/classlist.cpp index d538cbb..383d9b7 100644 --- a/src/classlist.cpp +++ b/src/classlist.cpp @@ -60,7 +60,8 @@ ClassListIterator::ClassListIterator(const ClassList &cllist) : { } -void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter,const char *header) +void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter, + const char *header,bool localNames) { if (count()>0) { @@ -102,15 +103,15 @@ void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *f } ol.startMemberItem(FALSE); QCString tmp = cd->compoundTypeString(); - QCString cname = cd->displayName(); - //if (Config_getBool("OPTIMIZE_OUTPUT_JAVA")) - //{ - // cname = substitute(cd->className(),"::","."); - //} - //else - //{ - // cname = cd->className(); - //} + QCString cname; + if (localNames) + { + cname = cd->localName(); + } + else + { + cname = cd->displayName(); + } ol.writeString(tmp); ol.writeString(" "); ol.insertMemberAlign(); |