From 49e49d1876484adcc6c4f264b44b7f4cee28acc2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 26 Sep 2023 11:50:58 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro --- filters/kword/latex/import/parser/texparser.l | 2 +- filters/kword/latex/import/parser/texscaner.y | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'filters/kword') diff --git a/filters/kword/latex/import/parser/texparser.l b/filters/kword/latex/import/parser/texparser.l index ea78619f..b8745cc4 100644 --- a/filters/kword/latex/import/parser/texparser.l +++ b/filters/kword/latex/import/parser/texparser.l @@ -144,7 +144,7 @@ alphanum [A-Za-z0-9] yylval.yystring = strdup(yytext); return TEXTMATH; }*/ -void setParseFile(QString filename) +void setParseFile(TQString filename) { const char* file; if( filename.isNull()) diff --git a/filters/kword/latex/import/parser/texscaner.y b/filters/kword/latex/import/parser/texscaner.y index d55eba26..1464b2c3 100644 --- a/filters/kword/latex/import/parser/texscaner.y +++ b/filters/kword/latex/import/parser/texscaner.y @@ -13,7 +13,7 @@ extern int yylex(); //extern int yyterminate(); -extern void setParseFile(QString); +extern void setParseFile(TQString); int yyerror(const char*); QPtrList* _root; %} @@ -182,13 +182,13 @@ Params: Param: TEXT EQUAL TEXT { - //QPair* pair = new QPair(QString($1), QString($3)); - Param* param = new Param(QString($1), QString($3)); + //TQPair* pair = new TQPair(TQString($1), TQString($3)); + Param* param = new Param(TQString($1), TQString($3)); $$ = param; } | TEXT { - //QPair* pair = new QPair(QString("SIMPLE_VALUE"), QString($1)); + //TQPair* pair = new TQPair(TQString("SIMPLE_VALUE"), TQString($1)); Param* param = new Param($1, ""); $$ = param; } @@ -290,7 +290,7 @@ Text: }; %% -bool texparse(QString filename) +bool texparse(TQString filename) { setParseFile(filename); yyparse(); -- cgit v1.2.1