diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-03-07 19:55:05 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-03-07 19:55:05 (GMT) |
commit | 2ddfaa1d80f702ad70073ac8721219935e1ab074 (patch) | |
tree | 74a4cb6c6c83c3b41a92ba1da8df0235abd2dafe /src/htmlgen.cpp | |
parent | b8ff687873e37d7cf0f4e7df0fd7da3660f1999c (diff) | |
download | Doxygen-2ddfaa1d80f702ad70073ac8721219935e1ab074.zip Doxygen-2ddfaa1d80f702ad70073ac8721219935e1ab074.tar.gz Doxygen-2ddfaa1d80f702ad70073ac8721219935e1ab074.tar.bz2 |
Release-1.5.5-20080307
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 16 |
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); |