summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:47:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:47:35 +0900
commit0d7538c2e0876fba4d529c9c56dff4f4aa6e05e6 (patch)
tree59fe3a304ee855a858fcf9f77ed97eb344ad7e52
parent4c64ef827f7666f86a497c50ab920d4afc56b3ff (diff)
downloadkscope-0d7538c2e0876fba4d529c9c56dff4f4aa6e05e6.tar.gz
kscope-0d7538c2e0876fba4d529c9c56dff4f4aa6e05e6.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/dotscan.lpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dotscan.lpp b/src/dotscan.lpp
index dede564..23754bc 100644
--- a/src/dotscan.lpp
+++ b/src/dotscan.lpp
@@ -22,14 +22,14 @@ float [0-9]*\.[0-9]+
"node" return NODE;
"->" return DIR_EDGE;
"--" return UNDIR_EDGE;
-{name} { yylval.pText = new QString(yytext); return NAME; }
+{name} { yylval.pText = new TQString(yytext); return NAME; }
{string} {
- QString str = &yytext[1];
- yylval.pText = new QString(str.left(yyleng - 2));
+ TQString str = &yytext[1];
+ yylval.pText = new TQString(str.left(yyleng - 2));
return STRING;
}
-{number} { yylval.pText = new QString(yytext); return NUMBER; }
-{float} { yylval.pText = new QString(yytext); return NUMBER; }
+{number} { yylval.pText = new TQString(yytext); return NUMBER; }
+{float} { yylval.pText = new TQString(yytext); return NUMBER; }
{space} ;
. return yytext[0];