summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:36:24 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:36:24 (GMT)
commitd4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b (patch)
treec32965e6b0858adc9a1f108b7b4d909568efd52e /src/filedef.cpp
parent79bf453de665e12ad859d8e24ddbec7ffbdb8e24 (diff)
downloadDoxygen-d4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b.zip
Doxygen-d4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b.tar.gz
Doxygen-d4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b.tar.bz2
mods for doxygen-0.49-991003
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index f038e2e..d4caa71 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -37,6 +37,7 @@ FileDef::FileDef(const char *p,const char *nm,const char *ref)
path=p;
filepath=path+nm;
filename=nameToFile(nm);
+ diskname=filename.copy();
setReference(ref);
memList = new MemberList;
classList = new ClassList;
@@ -72,9 +73,9 @@ void FileDef::writeDocumentation(OutputList &ol)
QCString pageTitle=name()+" File Reference";
startFile(ol,diskname,pageTitle);
- startTitle(ol);
+ startTitle(ol,getOutputFileBase());
parseText(ol,theTranslator->trFileReference(name()));
- endTitle(ol,name());
+ endTitle(ol,getOutputFileBase(),name());
//ol.newParagraph();
if (Config::genTagFile.length()>0) tagFile << "&" << name() << ":\n";
@@ -184,8 +185,8 @@ void FileDef::writeDocumentation(OutputList &ol)
ol.endMemberItem(FALSE,0,0,FALSE);
}
cd=classList->next();
- if (found) ol.endMemberList();
}
+ if (found) ol.endMemberList();
}
memList->writeDeclarations(ol,0,0,this,0,0);
@@ -265,14 +266,11 @@ void FileDef::writeDocumentation(OutputList &ol)
memList->writeDocumentation(ol,name(),MemberDef::EnumValue);
}
- int cnt;
- if ( (cnt=memList->funcCount()>0) )
+ if ( memList->funcCount()>0 )
{
ol.writeRuler();
ol.startGroupHeader();
- QCString cntString;
- cntString.sprintf(" (%d)",cnt);
- parseText(ol,theTranslator->trFunctionDocumentation()+cntString);
+ parseText(ol,theTranslator->trFunctionDocumentation());
ol.endGroupHeader();
memList->writeDocumentation(ol,name(),MemberDef::Function);
}