diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-23 12:52:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-27 22:23:36 +0900 |
commit | 52eaa0b5bf6708a9594235d7f9e384107f98c9fb (patch) | |
tree | d517cbe44b1fe4aff4b319b5dd49f4a016e31ff1 | |
parent | d081c368c9ef32aa667e15eb06ee4884cd973b37 (diff) | |
download | abakus-r14.1.1.tar.gz abakus-r14.1.1.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 01c7da13c011db4911efbe11e5401e70ca2998a4)
-rw-r--r-- | src/lexer.ll | 6 | ||||
-rw-r--r-- | src/parser.yy | 2 |
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. |