diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-04-08 19:19:32 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-04-08 19:19:32 (GMT) |
commit | 8f195c2d389edeeaf0f76de36c5b5db788b6e312 (patch) | |
tree | 120d3069adfaa3da505045185569c8c67554d055 /src/packagedef.cpp | |
parent | c47269c4f1fb1387d6876075f3b2e935354d5b76 (diff) | |
download | Doxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.zip Doxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.tar.gz Doxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.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); +} + |