diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:36:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 1999-12-15 19:36:24 (GMT) |
commit | a54eecdf4b3c961ff41bc5d3ea6f21713e08f903 (patch) | |
tree | c32965e6b0858adc9a1f108b7b4d909568efd52e /src/filedef.cpp | |
parent | 1d4e23de96d6e6065089a909ccba321fe5fa7f28 (diff) | |
download | Doxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.zip Doxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.tar.gz Doxygen-a54eecdf4b3c961ff41bc5d3ea6f21713e08f903.tar.bz2 |
mods for doxygen-0.49-991003
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 14 |
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); } |