diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-06-04 14:15:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-06-04 14:15:23 (GMT) |
commit | e90eb41e09adeb8970ef9a64fb8f163f068d7b17 (patch) | |
tree | 431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/latexgen.cpp | |
parent | cd76bda7e377a14bd6b3d321425cf462a46a3f75 (diff) | |
download | Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.zip Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.gz Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.bz2 |
Release-1.2.8
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index e176192..e21e7d8 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -390,21 +390,20 @@ void LatexGenerator::writeHeaderFile(QFile &f) void LatexGenerator::writeStyleSheetFile(QFile &f) { QTextStream t(&f); +#if QT_VERSION >= 200 + t.setEncoding(QTextStream::Latin1); +#endif + writeDefaultStyleSheetPart1(t); QCString &projectName = Config_getString("PROJECT_NAME"); - t << "Generated at " << dateToString(TRUE); - if (projectName.isEmpty()) - { - t << " for " << projectName << " "; - } - t << "by doxygen written by Dimitri van Heesch \\copyright~1997-2001"; + + t << theTranslator->trGeneratedAt( dateToString(TRUE), projectName ); + t << " doxygen " << theTranslator->trWrittenBy() << " "; + t << "Dimitri van Heesch \\copyright~1997-2001"; writeDefaultStyleSheetPart2(t); - t << "Generated at " << dateToString(TRUE); - if (projectName.isEmpty()) - { - t << " for " << projectName << " "; - } - t << "by doxygen written by Dimitri van Heesch \\copyright~1997-2001"; + t << theTranslator->trGeneratedAt( dateToString(TRUE), projectName ); + t << " doxygen " << theTranslator->trWrittenBy() << " "; + t << "Dimitri van Heesch \\copyright~1997-2001"; writeDefaultStyleSheetPart3(t); } @@ -1096,8 +1095,8 @@ void LatexGenerator::endMemberDoc() if (Config_getBool("COMPACT_LATEX")) t << "\\hfill"; } -void LatexGenerator::startDoxyAnchor(const char *fName,const char *anchor, - const char *) +void LatexGenerator::startDoxyAnchor(const char *fName,const char *, + const char *anchor, const char *) { if (Config_getBool("PDF_HYPERLINKS")) { |