summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-04-03 16:49:13 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-04-03 16:49:13 (GMT)
commitba6357a253beeff03588578154bbc311bd986a47 (patch)
treef8bef618690d97139e586f102db4e418c3a5dff8 /src/index.cpp
parenteebd65ca04ebb2de83e99162713161fbdaa55a61 (diff)
downloadDoxygen-ba6357a253beeff03588578154bbc311bd986a47.zip
Doxygen-ba6357a253beeff03588578154bbc311bd986a47.tar.gz
Doxygen-ba6357a253beeff03588578154bbc311bd986a47.tar.bz2
Release 2000-04-03
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp34
1 files changed, 27 insertions, 7 deletions
diff --git a/src/index.cpp b/src/index.cpp
index b35d2be..62cf84d 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -10,7 +10,8 @@
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
- * All output generated with Doxygen is not covered by this license.
+ * Documents produced by Doxygen are derivative works derived from the
+ * input used in their production; they are not affected by this license.
*
*/
@@ -689,9 +690,9 @@ void writeAlphabeticalClassList(OutputList &ol)
if (cd->isLinkableInProject())
{
int index = getPrefixIndex(cd->name());
- if (cd->name().at(index)!=startLetter) // new begin letter => new header
+ if (toupper(cd->name().at(index))!=startLetter) // new begin letter => new header
{
- startLetter=cd->name().at(index);
+ startLetter=toupper(cd->name().at(index));
headerItems++;
}
}
@@ -722,10 +723,10 @@ void writeAlphabeticalClassList(OutputList &ol)
if (cd->isLinkableInProject())
{
int index = getPrefixIndex(cd->name());
- if (cd->name().at(index)!=startLetter)
+ if (toupper(cd->name().at(index))!=startLetter)
{
// insert a new header using a dummy class pointer.
- startLetter=cd->name().at(index);
+ startLetter=toupper(cd->name().at(index));
colList[col].append((ClassDef *)8); // insert dummy for the header
row++;
if ( row >= rows + ((col<itemsInLastRow) ? 0 : -1))
@@ -770,15 +771,34 @@ void writeAlphabeticalClassList(OutputList &ol)
{
//printf("head ClassDef=%p %s\n",cd,cd ? cd->name().data() : "<none>");
int index = getPrefixIndex(cd->name());
- startLetter=cd->name().at(index);
+ startLetter=toupper(cd->name().at(index));
char s[2]; s[0]=startLetter; s[1]=0;
ol.writeIndexHeading(s);
}
}
else if (cd) // a real class, insert a link
{
+ QCString cname;
+ QCString namesp;
+ extractNamespaceName(cd->name(),cname,namesp);
+
ol.writeObjectLink(cd->getReference(),
- cd->getOutputFileBase(),0,cd->name());
+ cd->getOutputFileBase(),0,cname);
+ if (!namesp.isEmpty())
+ {
+ ol.docify(" (");
+ NamespaceDef *nd = namespaceDict[namesp];
+ if (nd && nd->isLinkable())
+ {
+ ol.writeObjectLink(nd->getReference(),
+ nd->getOutputFileBase(),0,namesp);
+ }
+ else
+ {
+ ol.docify(namesp);
+ }
+ ol.docify(")");
+ }
ol.writeNonBreakableSpace();
//printf("item ClassDef=%p %s\n",cd,cd ? cd->name().data() : "<none>");
++(*colIterators[j]);