summaryrefslogtreecommitdiffstats
path: root/src/classlist.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-11-29 19:11:02 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-11-29 19:11:02 (GMT)
commit4a50fc78170244f82c376bbecd28be43cc849da3 (patch)
treeae4f833eab5f7b63e139145daee905c412ebd229 /src/classlist.cpp
parent0625007cb86815b2e30138183d4fe9d2e7850df9 (diff)
downloadDoxygen-4a50fc78170244f82c376bbecd28be43cc849da3.zip
Doxygen-4a50fc78170244f82c376bbecd28be43cc849da3.tar.gz
Doxygen-4a50fc78170244f82c376bbecd28be43cc849da3.tar.bz2
Release-1.3.9.1-20041129
Diffstat (limited to 'src/classlist.cpp')
-rw-r--r--src/classlist.cpp21
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();