diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-05-22 18:35:23 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-05-22 18:35:23 (GMT) |
commit | f38608d4bec002a5051c860a599dd4d5229a9671 (patch) | |
tree | 699a18c9a8c098fc845ba00c7eb093c73b497c5c /src/filedef.cpp | |
parent | 8013b5fe71402e6c6bfd867e348b6cad73bd7386 (diff) | |
download | Doxygen-f38608d4bec002a5051c860a599dd4d5229a9671.zip Doxygen-f38608d4bec002a5051c860a599dd4d5229a9671.tar.gz Doxygen-f38608d4bec002a5051c860a599dd4d5229a9671.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) |