summaryrefslogtreecommitdiffstats
path: root/src/packagedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/packagedef.cpp')
-rw-r--r--src/packagedef.cpp15
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);
+}
+