summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-03-17 21:39:04 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-03-17 21:39:04 (GMT)
commit5eeee0ed4c1692c9a367a1232b74e44f1c4a460a (patch)
treeeb947bb0b492c9a33c255c9ec3928913cbf938c7 /src/index.cpp
parentb05064427c02bd5ae998856a0d708c440f610bde (diff)
downloadDoxygen-5eeee0ed4c1692c9a367a1232b74e44f1c4a460a.zip
Doxygen-5eeee0ed4c1692c9a367a1232b74e44f1c4a460a.tar.gz
Doxygen-5eeee0ed4c1692c9a367a1232b74e44f1c4a460a.tar.bz2
Release-1.3-rc3-20030317
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp124
1 files changed, 67 insertions, 57 deletions
diff --git a/src/index.cpp b/src/index.cpp
index eac41e1..95698b6 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -1397,9 +1397,10 @@ void writeAlphabeticalClassList(OutputList &ol)
}
else if (cd) // a real class, insert a link
{
- QCString namesp;
- if (cd->getNamespaceDef()) namesp=cd->getNamespaceDef()->displayName();
- QCString cname=cd->className();
+ QCString namesp,cname;
+ //if (cd->getNamespaceDef()) namesp=cd->getNamespaceDef()->displayName();
+ //QCString cname=cd->className();
+ extractNamespaceName(cd->name(),cname,namesp);
ol.writeObjectLink(cd->getReference(),
cd->getOutputFileBase(),0,cname);
@@ -2401,30 +2402,36 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd,int level)
{
if (members->count()>0)
{
- if(htmlHelp)
- {
- htmlHelp->addContentsItem(TRUE, convertToHtml(pMemInfo->name), gd->getOutputFileBase(),0);
- htmlHelp->incContentsDepth();
- }
-
- if(ftvHelp)
- {
-
- ftvHelp->addContentsItem(TRUE, gd->getReference(), gd->getOutputFileBase(), 0, pMemInfo->name);
- ftvHelp->incContentsDepth();
- }
-
+ bool first=TRUE;
MemberDef *md=members->first();
while (md)
{
- GroupDef *gd=md->getGroupDef();
- if(htmlHelp)
- {
- htmlHelp->addContentsItem(FALSE,md->name(),gd->getOutputFileBase(),md->anchor());
- }
- if(ftvHelp)
+ if (md->isDetailedSectionVisible(TRUE))
{
- ftvHelp->addContentsItem(FALSE,gd->getReference(),gd->getOutputFileBase(),md->anchor(),md->name());
+ if (first)
+ {
+ first=FALSE;
+ if(htmlHelp)
+ {
+ htmlHelp->addContentsItem(TRUE, convertToHtml(pMemInfo->name), gd->getOutputFileBase(),0);
+ htmlHelp->incContentsDepth();
+ }
+ if(ftvHelp)
+ {
+
+ ftvHelp->addContentsItem(TRUE, gd->getReference(), gd->getOutputFileBase(), 0, pMemInfo->name);
+ ftvHelp->incContentsDepth();
+ }
+ }
+ GroupDef *gd=md->getGroupDef();
+ if(htmlHelp)
+ {
+ htmlHelp->addContentsItem(FALSE,md->name(),gd->getOutputFileBase(),md->anchor());
+ }
+ if(ftvHelp)
+ {
+ ftvHelp->addContentsItem(FALSE,gd->getReference(),gd->getOutputFileBase(),md->anchor(),md->name());
+ }
}
md=members->next();
}
@@ -2830,41 +2837,44 @@ void writeIndex(OutputList &ol)
// parseText(ol,projPrefix+theTranslator->trPackageList());
// ol.endIndexSection(isPackageIndex);
//}
- if (documentedGroups>0)
- {
- ol.startIndexSection(isModuleIndex);
- ol.parseText(projPrefix+theTranslator->trModuleIndex());
- ol.endIndexSection(isModuleIndex);
- }
- if (documentedNamespaces>0)
+ if (!Config_getBool("LATEX_HIDE_INDICES"))
{
- ol.startIndexSection(isNamespaceIndex);
- ol.parseText(projPrefix+theTranslator->trNamespaceIndex());
- ol.endIndexSection(isNamespaceIndex);
- }
- if (hierarchyClasses>0)
- {
- ol.startIndexSection(isClassHierarchyIndex);
- ol.parseText(projPrefix+theTranslator->trHierarchicalIndex());
- ol.endIndexSection(isClassHierarchyIndex);
- }
- if (annotatedClasses>0)
- {
- ol.startIndexSection(isCompoundIndex);
- ol.parseText(projPrefix+theTranslator->trCompoundIndex());
- ol.endIndexSection(isCompoundIndex);
- }
- if (documentedFiles>0)
- {
- ol.startIndexSection(isFileIndex);
- ol.parseText(projPrefix+theTranslator->trFileIndex());
- ol.endIndexSection(isFileIndex);
- }
- if (indexedPages>0)
- {
- ol.startIndexSection(isPageIndex);
- ol.parseText(projPrefix+theTranslator->trPageIndex());
- ol.endIndexSection(isPageIndex);
+ if (documentedGroups>0)
+ {
+ ol.startIndexSection(isModuleIndex);
+ ol.parseText(projPrefix+theTranslator->trModuleIndex());
+ ol.endIndexSection(isModuleIndex);
+ }
+ if (documentedNamespaces>0)
+ {
+ ol.startIndexSection(isNamespaceIndex);
+ ol.parseText(projPrefix+theTranslator->trNamespaceIndex());
+ ol.endIndexSection(isNamespaceIndex);
+ }
+ if (hierarchyClasses>0)
+ {
+ ol.startIndexSection(isClassHierarchyIndex);
+ ol.parseText(projPrefix+theTranslator->trHierarchicalIndex());
+ ol.endIndexSection(isClassHierarchyIndex);
+ }
+ if (annotatedClasses>0)
+ {
+ ol.startIndexSection(isCompoundIndex);
+ ol.parseText(projPrefix+theTranslator->trCompoundIndex());
+ ol.endIndexSection(isCompoundIndex);
+ }
+ if (documentedFiles>0)
+ {
+ ol.startIndexSection(isFileIndex);
+ ol.parseText(projPrefix+theTranslator->trFileIndex());
+ ol.endIndexSection(isFileIndex);
+ }
+ if (indexedPages>0)
+ {
+ ol.startIndexSection(isPageIndex);
+ ol.parseText(projPrefix+theTranslator->trPageIndex());
+ ol.endIndexSection(isPageIndex);
+ }
}
ol.lastIndexPage();
//if (documentedPackages>0)