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

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 1 year ago
parent 921a18db70
commit 01c7da13c0
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -140,7 +140,7 @@ public:
YY_BUFFER_STATE buffer;
int lastToken, thisToken;
int lastPos, thisPos;
QString lastTokenData, thisTokenData;
TQString lastTokenData, thisTokenData;
};
/* Declared in function.h, implemented here in lexer.l since this is where
@ -159,7 +159,7 @@ Lexer::Lexer(const TQString &expr) :
m_private->lastPos = -1;
m_private->thisToken = yylex();
m_private->thisTokenData = QString(yytext);
m_private->thisTokenData = TQString(yytext);
if(yyCurTokenPos != 0)
{
@ -187,7 +187,7 @@ int Lexer::nextType()
m_private->lastToken = m_private->thisToken;
m_private->thisToken = yylex();
m_private->thisTokenData = QString(yytext);
m_private->thisTokenData = TQString(yytext);
m_private->thisPos = yyCurTokenPos;
return m_private->lastToken;

@ -316,7 +316,7 @@ VALUE: NUMBER { $$ = $1; }
NUMBER: NUM {
TDELocale *locale = TDEGlobal::locale();
QChar decimal = locale->decimalSymbol()[0];
TQChar decimal = locale->decimalSymbol()[0];
// Replace current decimal separator with US Decimal separator to be
// evil.

Loading…
Cancel
Save