diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-02-16 21:34:46 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-02-21 20:07:13 (GMT) |
commit | 1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0 (patch) | |
tree | 6fffef6f3e26de59a3252bcdb6890cf5b50fb887 /src/index.cpp | |
parent | 77d5346f4866429b240b96a146381e770e5e0788 (diff) | |
download | Doxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.zip Doxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.tar.gz Doxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.tar.bz2 |
Restructure section handling
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/index.cpp b/src/index.cpp index edc302b..2234377 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -2847,9 +2847,9 @@ static void writeMemberList(OutputList &ol,bool useSections,int page, QCString cl = letterToString(ml->letter()); QCString anchor=(QCString)"index_"+convertToId(cs); QCString title=(QCString)"- "+cl+" -"; - ol.startSection(anchor,title,SectionInfo::Subsection); + ol.startSection(anchor,title,SectionType::Subsection); ol.docify(title); - ol.endSection(anchor,SectionInfo::Subsection); + ol.endSection(anchor,SectionType::Subsection); ol.startItemList(); firstSection=FALSE; firstItem=TRUE; @@ -4160,8 +4160,8 @@ static void writeGroupTreeNode(OutputList &ol, GroupDef *gd, int level, FTVHelp* PageDef *pd; for (;(pd=it.current());++it) { - SectionInfo *si=0; - if (!pd->name().isEmpty()) si=Doxygen::sectionDict->find(pd->name()); + const SectionInfo *si=0; + if (!pd->name().isEmpty()) si=SectionManager::instance().find(pd->name()); bool hasSubPages = pd->hasSubPages(); bool hasSections = pd->hasSections(); Doxygen::indexList->addContentsItem( @@ -4169,7 +4169,7 @@ static void writeGroupTreeNode(OutputList &ol, GroupDef *gd, int level, FTVHelp* convertToHtml(pd->title(),TRUE), gd->getReference(), gd->getOutputFileBase(), - si ? si->label.data() : 0, + si ? si->label().data() : 0, hasSubPages || hasSections, TRUE); // addToNavIndex if (hasSections || hasSubPages) |