summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:52:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:52:57 +0900
commit01c7da13c011db4911efbe11e5401e70ca2998a4 (patch)
treed517cbe44b1fe4aff4b319b5dd49f4a016e31ff1
parent921a18db705b749a47e91438e9f6bbce580b992f (diff)
downloadabakus-01c7da13c011db4911efbe11e5401e70ca2998a4.tar.gz
abakus-01c7da13c011db4911efbe11e5401e70ca2998a4.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/lexer.ll6
-rw-r--r--src/parser.yy2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lexer.ll b/src/lexer.ll
index 5e7d049..c73f8db 100644
--- a/src/lexer.ll
+++ b/src/lexer.ll
@@ -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;
diff --git a/src/parser.yy b/src/parser.yy
index 9ab2c7d..450baca 100644
--- a/src/parser.yy
+++ b/src/parser.yy
@@ -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.