diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-01-07 21:17:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-01-07 21:17:16 (GMT) |
commit | 0ee700fc0f6a02b75aa5651c23cc3339c1255ebc (patch) | |
tree | e21d038e7bc244d411ee71ee440f3b527bb9402f /src/htmlgen.cpp | |
parent | be3407fc9ef6e4cf558cce39bb50dd2ab1168934 (diff) | |
download | Doxygen-0ee700fc0f6a02b75aa5651c23cc3339c1255ebc.zip Doxygen-0ee700fc0f6a02b75aa5651c23cc3339c1255ebc.tar.gz Doxygen-0ee700fc0f6a02b75aa5651c23cc3339c1255ebc.tar.bz2 |
Release-1.5.1-20070107
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 90184f2..235fb64 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -1,6 +1,6 @@ /****************************************************************************** * - * $Id$ + * * * Copyright (C) 1997-2006 by Dimitri van Heesch. * @@ -586,7 +586,7 @@ void HtmlGenerator::writeHeaderFile(QFile &file) void HtmlGenerator::writeFooterFile(QFile &file) { QTextStream t(&file); - t << "<hr size=\"1\"><address style=\"align: right;\"><small>\n"; + t << "<hr size=\"1\"><address style=\"text-align: right;\"><small>\n"; t << theTranslator->trGeneratedAt( "$datetime", "$projectname" ); t << " <a href=\"http://www.doxygen.org/index.html\">" << "<img src=\"doxygen.png\" alt=\"doxygen\" " @@ -642,7 +642,7 @@ static void writePageFooter(QTextStream &t,const QCString &lastTitle, { if (g_footer.isEmpty()) { - t << "<hr size=\"1\"><address style=\"align: right;\"><small>"; + t << "<hr size=\"1\"><address style=\"text-align: right;\"><small>"; t << theTranslator->trGeneratedAt( dateToString(TRUE), Config_getString("PROJECT_NAME") @@ -841,7 +841,8 @@ void HtmlGenerator::writeObjectLink(const char *ref,const char *f, } void HtmlGenerator::writeCodeLink(const char *ref,const char *f, - const char *anchor, const char *name) + const char *anchor, const char *name, + const char *tooltip) { QCString *dest; if (ref) @@ -866,7 +867,9 @@ void HtmlGenerator::writeCodeLink(const char *ref,const char *f, } if (f) t << f << Doxygen::htmlFileExtension; if (anchor) t << "#" << anchor; - t << "\">"; + t << "\""; + if (tooltip) t << " title=\"" << tooltip << "\""; + t << ">"; docify(name); t << "</a>"; col+=strlen(name); @@ -1508,7 +1511,7 @@ void HtmlGenerator::writeLineNumber(const char *ref,const char *file, if (file) { startCodeAnchor(lineAnchor); - writeCodeLink(ref,file,anchor,lineNumber); + writeCodeLink(ref,file,anchor,lineNumber,0); endCodeAnchor(); } else |