summaryrefslogtreecommitdiffstats
path: root/src/perlmodgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-06-25 11:31:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-06-25 11:31:51 (GMT)
commitc37c8626674dd6ba0d53dcad84dd4bb5d92005a4 (patch)
treefa51c4ac8c1fe241b2d6c4af9d2f9a1297ce8e0a /src/perlmodgen.cpp
parent0c6ee149829948582e5e5c1b96c8b3105b02672a (diff)
downloadDoxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.zip
Doxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.tar.gz
Doxygen-c37c8626674dd6ba0d53dcad84dd4bb5d92005a4.tar.bz2
Release-1.7.1
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r--src/perlmodgen.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp
index 46fd91a..49ae643 100644
--- a/src/perlmodgen.cpp
+++ b/src/perlmodgen.cpp
@@ -29,7 +29,7 @@
#include <qstack.h>
#include <qdict.h>
#include <qfile.h>
-#include <qtextstream.h>
+#include "ftextstream.h"
#define PERLOUTPUT_MAX_INDENTATION 40
@@ -38,9 +38,9 @@ class PerlModOutputStream
public:
QCString m_s;
- QTextStream *m_t;
+ FTextStream *m_t;
- PerlModOutputStream(QTextStream *t = 0) : m_t(t) { }
+ PerlModOutputStream(FTextStream *t = 0) : m_t(t) { }
void add(char c);
void add(const char *s);
@@ -555,7 +555,7 @@ void PerlModDocVisitor::visit(DocSymbol *sy)
case DocSymbol::Apos: s = "\\\'"; break;
case DocSymbol::Aelig: symbol = "aelig"; break;
case DocSymbol::AElig: symbol = "AElig"; break;
- case DocSymbol::Unknown: err("Error: unknown symbol found\n");
+ case DocSymbol::Unknown: err("error: unknown symbol found\n");
break;
}
if (c != 0)
@@ -811,7 +811,7 @@ void PerlModDocVisitor::visitPre(DocSimpleSect *s)
case DocSimpleSect::User: type = "par"; break;
case DocSimpleSect::Rcs: type = "rcs"; break;
case DocSimpleSect::Unknown:
- err("Error: unknown simple section found\n");
+ err("error: unknown simple section found\n");
break;
}
leaveText();
@@ -1170,7 +1170,7 @@ void PerlModDocVisitor::visitPre(DocParamSect *s)
case DocParamSect::Exception: type = "exceptions"; break;
case DocParamSect::TemplateParam: type = "templateparam"; break;
case DocParamSect::Unknown:
- err("Error: unknown parameter section found\n");
+ err("error: unknown parameter section found\n");
break;
}
openOther();
@@ -2035,7 +2035,7 @@ bool PerlModGenerator::generatePerlModOutput()
if (!createOutputFile(outputFile, pathDoxyDocsPM))
return false;
- QTextStream outputTextStream(&outputFile);
+ FTextStream outputTextStream(&outputFile);
PerlModOutputStream outputStream(&outputTextStream);
m_output.setPerlModOutputStream(&outputStream);
m_output.add("$doxydocs=").openHash();
@@ -2118,13 +2118,13 @@ bool PerlModGenerator::createOutputDir(QDir &perlModDir)
dir.setPath(QDir::currentDirPath());
if (!dir.mkdir(outputDirectory))
{
- err("Error: tag OUTPUT_DIRECTORY: Output directory `%s' does not "
+ err("error: tag OUTPUT_DIRECTORY: Output directory `%s' does not "
"exist and cannot be created\n",outputDirectory.data());
exit(1);
}
else if (!Config_getBool("QUIET"))
{
- err("Notice: Output directory `%s' does not exist. "
+ err("notice: Output directory `%s' does not exist. "
"I have created it for you.\n", outputDirectory.data());
}
dir.cd(outputDirectory);
@@ -2158,7 +2158,7 @@ bool PerlModGenerator::generateDoxyStructurePM()
if (!createOutputFile(doxyModelPM, pathDoxyStructurePM))
return false;
- QTextStream doxyModelPMStream(&doxyModelPM);
+ FTextStream doxyModelPMStream(&doxyModelPM);
doxyModelPMStream <<
"sub memberlist($) {\n"
" my $prefix = $_[0];\n"
@@ -2345,7 +2345,7 @@ bool PerlModGenerator::generateDoxyRules()
bool perlmodLatex = Config_getBool("PERLMOD_LATEX");
QCString prefix = Config_getString("PERLMOD_MAKEVAR_PREFIX");
- QTextStream doxyRulesStream(&doxyRules);
+ FTextStream doxyRulesStream(&doxyRules);
doxyRulesStream <<
prefix << "DOXY_EXEC_PATH = " << pathDoxyExec << "\n" <<
prefix << "DOXYFILE = " << pathDoxyfile << "\n" <<
@@ -2442,7 +2442,7 @@ bool PerlModGenerator::generateMakefile()
bool perlmodLatex = Config_getBool("PERLMOD_LATEX");
QCString prefix = Config_getString("PERLMOD_MAKEVAR_PREFIX");
- QTextStream makefileStream(&makefile);
+ FTextStream makefileStream(&makefile);
makefileStream <<
".PHONY: default clean" << (perlmodLatex ? " pdf" : "") << "\n"
"default: " << (perlmodLatex ? "pdf" : "clean") << "\n"
@@ -2466,7 +2466,7 @@ bool PerlModGenerator::generateDoxyLatexStructurePL()
if (!createOutputFile(doxyLatexStructurePL, pathDoxyLatexStructurePL))
return false;
- QTextStream doxyLatexStructurePLStream(&doxyLatexStructurePL);
+ FTextStream doxyLatexStructurePLStream(&doxyLatexStructurePL);
doxyLatexStructurePLStream <<
"use DoxyStructure;\n"
"\n"
@@ -2500,7 +2500,7 @@ bool PerlModGenerator::generateDoxyLatexPL()
if (!createOutputFile(doxyLatexPL, pathDoxyLatexPL))
return false;
- QTextStream doxyLatexPLStream(&doxyLatexPL);
+ FTextStream doxyLatexPLStream(&doxyLatexPL);
doxyLatexPLStream <<
"use DoxyStructure;\n"
"use DoxyDocs;\n"
@@ -2623,7 +2623,7 @@ bool PerlModGenerator::generateDoxyFormatTex()
if (!createOutputFile(doxyFormatTex, pathDoxyFormatTex))
return false;
- QTextStream doxyFormatTexStream(&doxyFormatTex);
+ FTextStream doxyFormatTexStream(&doxyFormatTex);
doxyFormatTexStream <<
"\\def\\Defcs#1{\\long\\expandafter\\def\\csname#1\\endcsname}\n"
"\\Defcs{Empty}{}\n"
@@ -2786,7 +2786,7 @@ bool PerlModGenerator::generateDoxyLatexTex()
if (!createOutputFile(doxyLatexTex, pathDoxyLatexTex))
return false;
- QTextStream doxyLatexTexStream(&doxyLatexTex);
+ FTextStream doxyLatexTexStream(&doxyLatexTex);
doxyLatexTexStream <<
"\\documentclass[a4paper,12pt]{article}\n"
"\\usepackage[latin1]{inputenc}\n"