diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-05-22 18:35:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-05-22 18:35:23 (GMT) |
commit | 745526b6e9683de926af27c4313574a514a3d7c3 (patch) | |
tree | 699a18c9a8c098fc845ba00c7eb093c73b497c5c /src/filedef.cpp | |
parent | 4f5775494986411db398172e98380acb76d5e3e6 (diff) | |
download | Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.zip Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.tar.gz Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.tar.bz2 |
Release-1.1.3-20000522
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 657f2d9..f7853a7 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -35,7 +35,7 @@ file was read from a tag file or 0 otherwise */ FileDef::FileDef(const char *p,const char *nm,const char *ref) - : Definition(nm) + : Definition((QCString)p+nm,1,nm) { path=p; filepath=path+nm; @@ -83,6 +83,16 @@ void FileDef::computeAnchors() setAnchors('a',&allMemberList); } +void FileDef::distributeMemberGroupDocumentation() +{ + MemberGroupListIterator mgli(*memberGroupList); + MemberGroup *mg; + for (;(mg=mgli.current());++mgli) + { + mg->distributeMemberGroupDocumentation(); + } +} + /*! Write the documentation page for this file to the file of output generators \a ol. */ @@ -95,6 +105,8 @@ void FileDef::writeDocumentation(OutputList &ol) //{ // fn.prepend(stripFromPath(getPath().copy())); //} + + //printf("WriteDocumentation %p diskname=%s\n",this,diskname.data()); QCString pageTitle=name()+" File Reference"; startFile(ol,diskname,pageTitle); @@ -113,7 +125,7 @@ void FileDef::writeDocumentation(OutputList &ol) { //if (brief.at(bl-1)!='.' && brief.at(bl-1)!='!' && brief.at(bl!='?')) // brief+='.'; - parseDoc(briefOutput,0,0,briefDescription()); + parseDoc(briefOutput,filepath,1,0,0,briefDescription()); ol+=briefOutput; ol.writeString(" \n"); ol.disableAllBut(OutputGenerator::Html); @@ -293,7 +305,7 @@ void FileDef::writeDocumentation(OutputList &ol) { //if (doc.at(dl-1)!='.' && doc.at(dl-1)!='!' && doc.at(dl-1)!='?') // doc+='.'; - parseDoc(ol,0,0,documentation()+"\n"); + parseDoc(ol,filepath,1,0,0,documentation()+"\n"); } //printf("Writing source ref for file %s\n",name().data()); if (Config::sourceBrowseFlag) |