summaryrefslogtreecommitdiffstats
path: root/src/kile/latexoutputfilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/latexoutputfilter.cpp')
-rw-r--r--src/kile/latexoutputfilter.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/kile/latexoutputfilter.cpp b/src/kile/latexoutputfilter.cpp
index 9c24d2d..accbfa0 100644
--- a/src/kile/latexoutputfilter.cpp
+++ b/src/kile/latexoutputfilter.cpp
@@ -55,7 +55,7 @@ bool LatexOutputFilter::OnPreCreate()
bool LatexOutputFilter::fileExists(const TQString & name)
{
- static TQFileInfo::TQFileInfo fi;
+ static TQFileInfo fi;
if (name[0] == '/' )
{
@@ -101,7 +101,7 @@ void LatexOutputFilter::updateFileStack(const TQString &strLine, short & dwCooki
{
//KILE_DEBUG() << "==LatexOutputFilter::updateFileStack()================" << endl;
- static TQString::TQString strPartialFileName;
+ static TQString strPartialFileName;
switch (dwCookie)
{
@@ -172,7 +172,7 @@ void LatexOutputFilter::updateFileStack(const TQString &strLine, short & dwCooki
void LatexOutputFilter::updateFileStackHeuristic(const TQString &strLine, short & dwCookie)
{
//KILE_DEBUG() << "==LatexOutputFilter::updateFileStackHeuristic()================" << endl;
- static TQString::TQString strPartialFileName;
+ static TQString strPartialFileName;
bool expectFileName = (dwCookie == FileNameHeuristic);
int index = 0;
@@ -282,10 +282,10 @@ bool LatexOutputFilter::detectError(const TQString & strLine, short &dwCookie)
bool found = false, flush = false;
- static TQRegExp::TQRegExp reLaTeXError("^! LaTeX Error: (.*)$", false);
- static TQRegExp::TQRegExp rePDFLaTeXError("^Error: pdflatex (.*)$", false);
- static TQRegExp::TQRegExp reTeXError("^! (.*)");
- static TQRegExp::TQRegExp reLineNumber("^l\\.([0-9]+)(.*)");
+ static TQRegExp reLaTeXError("^! LaTeX Error: (.*)$", false);
+ static TQRegExp rePDFLaTeXError("^Error: pdflatex (.*)$", false);
+ static TQRegExp reTeXError("^! (.*)");
+ static TQRegExp reLineNumber("^l\\.([0-9]+)(.*)");
switch (dwCookie)
{
@@ -370,9 +370,9 @@ bool LatexOutputFilter::detectWarning(const TQString & strLine, short &dwCookie)
bool found = false, flush = false;
TQString warning;
- static TQRegExp::TQRegExp reLaTeXWarning("^(((! )?(La|pdf)TeX)|Package) .*Warning.*:(.*)", false);
- static TQRegExp::TQRegExp reNoFile("No file (.*)");
- static TQRegExp::TQRegExp reNoAsyFile("File .* does not exist."); // FIXME can be removed when http://sourceforge.net/tracker/index.php?func=detail&aid=1772022&group_id=120000&atid=685683 has promoted to the users
+ static TQRegExp reLaTeXWarning("^(((! )?(La|pdf)TeX)|Package) .*Warning.*:(.*)", false);
+ static TQRegExp reNoFile("No file (.*)");
+ static TQRegExp reNoAsyFile("File .* does not exist."); // FIXME can be removed when http://sourceforge.net/tracker/index.php?func=detail&aid=1772022&group_id=120000&atid=685683 has promoted to the users
switch (dwCookie)
{
@@ -437,8 +437,8 @@ bool LatexOutputFilter::detectLaTeXLineNumber(TQString & warning, short & dwCook
{
//KILE_DEBUG() << "==LatexOutputFilter::detectLaTeXLineNumber(" << warning.length() << ")================" << endl;
- static TQRegExp::TQRegExp reLaTeXLineNumber("(.*) on input line ([0-9]+)\\.$", false);
- static TQRegExp::TQRegExp reInternationalLaTeXLineNumber("(.*)([0-9]+)\\.$", false);
+ static TQRegExp reLaTeXLineNumber("(.*) on input line ([0-9]+)\\.$", false);
+ static TQRegExp reInternationalLaTeXLineNumber("(.*)([0-9]+)\\.$", false);
if ( (reLaTeXLineNumber.search(warning) != -1) || (reInternationalLaTeXLineNumber.search(warning) != -1) )
{
//KILE_DEBUG() << "een" << endl;
@@ -478,7 +478,7 @@ bool LatexOutputFilter::detectBadBox(const TQString & strLine, short & dwCookie)
bool found = false, flush = false;
TQString badbox;
- static TQRegExp::TQRegExp reBadBox("^(Over|Under)(full \\\\[hv]box .*)", false);
+ static TQRegExp reBadBox("^(Over|Under)(full \\\\[hv]box .*)", false);
switch (dwCookie)
{
@@ -517,11 +517,11 @@ bool LatexOutputFilter::detectBadBoxLineNumber(TQString & strLine, short & dwCoo
{
//KILE_DEBUG() << "==LatexOutputFilter::detectBadBoxLineNumber(" << strLine.length() << ")================" << endl;
- static TQRegExp::TQRegExp reBadBoxLines("(.*) at lines ([0-9]+)--([0-9]+)", false);
- static TQRegExp::TQRegExp reBadBoxLine("(.*) at line ([0-9]+)", false);
+ static TQRegExp reBadBoxLines("(.*) at lines ([0-9]+)--([0-9]+)", false);
+ static TQRegExp reBadBoxLine("(.*) at line ([0-9]+)", false);
//Use the following only, if you know how to get the source line for it.
// This is not simple, as TeX is not reporting it.
- static TQRegExp::TQRegExp reBadBoxOutput("(.*)has occurred while \\output is active^", false);
+ static TQRegExp reBadBoxOutput("(.*)has occurred while \\output is active^", false);
if ( reBadBoxLines.search(strLine) != -1)
{