summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-03-07 19:55:05 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-03-07 19:55:05 (GMT)
commitb43cd6311a712c01c2c8297fa00809730e504d70 (patch)
tree74a4cb6c6c83c3b41a92ba1da8df0235abd2dafe /src/htmlgen.cpp
parent95fd5f1c991ee66f7122801276a133ebfce86aaa (diff)
downloadDoxygen-b43cd6311a712c01c2c8297fa00809730e504d70.zip
Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.tar.gz
Doxygen-b43cd6311a712c01c2c8297fa00809730e504d70.tar.bz2
Release-1.5.5-20080307
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index b6982b7..82d6176 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -978,7 +978,7 @@ void HtmlGenerator::endTextLink()
void HtmlGenerator::startHtmlLink(const char *url)
{
t << "<a ";
- if (Config_getBool("GENERATE_TREEVIEW")) t << "target=\"top\" ";
+ if (usingTreeIndex()) t << "target=\"top\" ";
t << "href=\"";
if (url) t << url;
t << "\">";
@@ -1618,17 +1618,17 @@ void HtmlGenerator::writeNonBreakableSpace(int n)
}
}
-void HtmlGenerator::writeLineNumber(const char *ref,const char *file,
+void HtmlGenerator::writeLineNumber(const char *ref,const char *filename,
const char *anchor,int l)
{
QCString lineNumber,lineAnchor;
lineNumber.sprintf("%05d",l);
lineAnchor.sprintf("l%05d",l);
- if (file)
+ if (filename)
{
startCodeAnchor(lineAnchor);
- writeCodeLink(ref,file,anchor,lineNumber,0);
+ writeCodeLink(ref,filename,anchor,lineNumber,0);
endCodeAnchor();
}
else
@@ -1641,13 +1641,13 @@ void HtmlGenerator::writeLineNumber(const char *ref,const char *file,
}
void HtmlGenerator::startSimpleSect(SectionTypes,
- const char *file,const char *anchor,
+ const char *filename,const char *anchor,
const char *title)
{
t << "<dl compact><dt><b>";
- if (file)
+ if (filename)
{
- writeObjectLink(0,file,anchor,title);
+ writeObjectLink(0,filename,anchor,title);
}
else
{
@@ -1867,7 +1867,7 @@ static void writeDefaultQuickLinks(QTextStream &t,bool compact,
bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL");
startQuickIndexList(t,compact);
- if (Config_getBool("GENERATE_TREEVIEW"))
+ if (usingTreeIndex())
{
startQuickIndexItem(t,"main"+Doxygen::htmlFileExtension,
hli==HLI_Main,compact,relPath);