Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0d7538c2e0)
r14.1.x r14.1.1
Michele Calgaro 1 year ago
parent 22a657c153
commit 2da5c31875
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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];

Loading…
Cancel
Save