diff options
author | Michele Calgaro <[email protected]> | 2023-09-26 11:50:58 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-26 11:50:58 +0900 |
commit | 49e49d1876484adcc6c4f264b44b7f4cee28acc2 (patch) | |
tree | 1304c6506aae240b499e2a2db3779186c07e3708 /filters/kword | |
parent | 074b714e29c0bbcd2bbfc6a931e252c4c90d07a9 (diff) | |
download | koffice-49e49d1876484adcc6c4f264b44b7f4cee28acc2.tar.gz koffice-49e49d1876484adcc6c4f264b44b7f4cee28acc2.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'filters/kword')
-rw-r--r-- | filters/kword/latex/import/parser/texparser.l | 2 | ||||
-rw-r--r-- | filters/kword/latex/import/parser/texscaner.y | 10 |
2 files changed, 6 insertions, 6 deletions
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<Element>* _root; %} @@ -182,13 +182,13 @@ Params: Param: TEXT EQUAL TEXT { - //QPair<QString,QString>* pair = new QPair<QString,QString>(QString($<yystring>1), QString($<yystring>3)); - Param* param = new Param(QString($<yystring>1), QString($<yystring>3)); + //TQPair<TQString,TQString>* pair = new TQPair<TQString,TQString>(TQString($<yystring>1), TQString($<yystring>3)); + Param* param = new Param(TQString($<yystring>1), TQString($<yystring>3)); $<yyparam>$ = param; } | TEXT { - //QPair<QString,QString>* pair = new QPair<QString,QString>(QString("SIMPLE_VALUE"), QString($<yystring>1)); + //TQPair<TQString,TQString>* pair = new TQPair<TQString,TQString>(TQString("SIMPLE_VALUE"), TQString($<yystring>1)); Param* param = new Param($<yystring>1, ""); $<yyparam>$ = param; } @@ -290,7 +290,7 @@ Text: }; %% -bool texparse(QString filename) +bool texparse(TQString filename) { setParseFile(filename); yyparse(); |