diff options
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r-- | src/namespacedef.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp index 7dc3023..ff70859 100644 --- a/src/namespacedef.cpp +++ b/src/namespacedef.cpp @@ -68,7 +68,7 @@ void NamespaceDef::insertUsedFile(const char *f) { if (files.find(f)==-1) { - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) files.inSort(f); else files.append(f); @@ -79,7 +79,7 @@ void NamespaceDef::insertClass(ClassDef *cd) { if (classDict->find(cd->name())==0) { - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) classList->inSort(cd); else classList->append(cd); @@ -131,43 +131,43 @@ void NamespaceDef::insertMember(MemberDef *md) switch(md->memberType()) { case MemberDef::Variable: - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) varMembers.inSort(md); else varMembers.append(md); break; case MemberDef::Function: - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) funcMembers.inSort(md); else funcMembers.append(md); break; case MemberDef::Typedef: - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) typedefMembers.inSort(md); else typedefMembers.append(md); break; case MemberDef::Enumeration: - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) enumMembers.inSort(md); else enumMembers.append(md); break; case MemberDef::EnumValue: - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) enumValMembers.inSort(md); else enumValMembers.append(md); break; case MemberDef::Prototype: - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) protoMembers.inSort(md); else protoMembers.append(md); break; case MemberDef::Define: - if (Config::sortMembersFlag) + if (Config::instance()->getBool("SORT_MEMBER_DOCS")) defineMembers.inSort(md); else defineMembers.append(md); @@ -198,7 +198,7 @@ void NamespaceDef::writeDocumentation(OutputList &ol) parseText(ol,theTranslator->trNamespaceReference(name())); endTitle(ol,getOutputFileBase(),name()); - if (!Config::genTagFile.isEmpty()) + if (!Config::instance()->getString("GENERATE_TAGFILE").isEmpty()) { Doxygen::tagFile << " <compound kind=\"namespace\">" << endl; Doxygen::tagFile << " <name>" << convertToXML(name()) << "</name>" << endl; @@ -241,7 +241,7 @@ void NamespaceDef::writeDocumentation(OutputList &ol) allMemberList.writeDeclarations(ol,0,this,0,0,0,0); ol.endMemberSections(); - if ((!briefDescription().isEmpty() && Config::repeatBriefFlag) || + if ((!briefDescription().isEmpty() && Config::instance()->getBool("REPEAT_BRIEF")) || !documentation().isEmpty()) { ol.writeRuler(); @@ -256,11 +256,11 @@ void NamespaceDef::writeDocumentation(OutputList &ol) parseText(ol,theTranslator->trDetailedDescription()); ol.endGroupHeader(); ol.startTextBlock(); - if (!briefDescription().isEmpty() && Config::repeatBriefFlag) + if (!briefDescription().isEmpty() && Config::instance()->getBool("REPEAT_BRIEF")) { ol+=briefOutput; } - if (!briefDescription().isEmpty() && Config::repeatBriefFlag && + if (!briefDescription().isEmpty() && Config::instance()->getBool("REPEAT_BRIEF") && !documentation().isEmpty()) { ol.newParagraph(); @@ -350,9 +350,9 @@ void NamespaceDef::writeDocumentation(OutputList &ol) ol.startGroupHeader(); parseText(ol,theTranslator->trAuthor()); ol.endGroupHeader(); - parseText(ol,theTranslator->trGeneratedAutomatically(Config::projectName)); + parseText(ol,theTranslator->trGeneratedAutomatically(Config::instance()->getString("PROJECT_NAME"))); - if (!Config::genTagFile.isEmpty()) + if (!Config::instance()->getString("GENERATE_TAGFILE").isEmpty()) { writeDocAnchorsToTagFile(); Doxygen::tagFile << " </compound>" << endl; |