diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-04-08 19:19:32 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-04-08 19:19:32 (GMT) |
commit | c08484819f37862c753a193092326cb16e1a89fa (patch) | |
tree | 120d3069adfaa3da505045185569c8c67554d055 /src/packagedef.cpp | |
parent | 790edce05edc348b237258995816da1708d67a73 (diff) | |
download | Doxygen-c08484819f37862c753a193092326cb16e1a89fa.zip Doxygen-c08484819f37862c753a193092326cb16e1a89fa.tar.gz Doxygen-c08484819f37862c753a193092326cb16e1a89fa.tar.bz2 |
Doxygen-1.2.6-20010408
Diffstat (limited to 'src/packagedef.cpp')
-rw-r--r-- | src/packagedef.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/packagedef.cpp b/src/packagedef.cpp index c6a8bfb..f9828f0 100644 --- a/src/packagedef.cpp +++ b/src/packagedef.cpp @@ -31,7 +31,7 @@ PackageDef::PackageDef(const char *df,int dl,const char *na,const char *ref) : Definition(df,dl,na) { classList = new ClassList; - packageFileName = "package_"+convertFileName(na); + packageFileName = (QCString)"package_"+na; setReference(ref); } @@ -42,7 +42,7 @@ PackageDef::~PackageDef() void PackageDef::addClass(const ClassDef *def) { - if (Config::instance()->getBool("SORT_MEMBER_DOCS")) + if (Config_getBool("SORT_MEMBER_DOCS")) classList->inSort(def); else classList->append(def); @@ -73,7 +73,7 @@ void PackageDef::writeDocumentation(OutputList &ol) ol.popGeneratorState(); } - if (!Config::instance()->getString("GENERATE_TAGFILE").isEmpty()) + if (!Config_getString("GENERATE_TAGFILE").isEmpty()) { Doxygen::tagFile << " <compound kind=\"package\">" << endl; } @@ -86,7 +86,7 @@ void PackageDef::writeDocumentation(OutputList &ol) classList->writeDeclaration(ol,&ct,theTranslator->trClasses()); ol.endMemberSections(); - if (!Config::instance()->getString("GENERATE_TAGFILE").isEmpty()) + if (!Config_getString("GENERATE_TAGFILE").isEmpty()) { writeDocAnchorsToTagFile(); Doxygen::tagFile << " </compound>" << endl; @@ -105,7 +105,7 @@ void PackageDef::writeDocumentation(OutputList &ol) ol.endGroupHeader(); // repeat brief description - if (!briefDescription().isEmpty() && Config::instance()->getBool("REPEAT_BRIEF")) + if (!briefDescription().isEmpty() && Config_getBool("REPEAT_BRIEF")) { ol+=briefOutput; ol.newParagraph(); @@ -122,3 +122,8 @@ void PackageDef::writeDocumentation(OutputList &ol) ol.popGeneratorState(); } +QCString PackageDef::getOutputFileBase() const +{ + return convertNameToFile(packageFileName); +} + |