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 8 months ago
parent 921a18db70
commit 01c7da13c0
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

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

Loading…
Cancel
Save