summaryrefslogtreecommitdiffstats
path: root/src/lexer.ll
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-09 19:45:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-09 19:45:27 +0000
commitf4f8ac034fa04404e2fcd5029ba050c537c07d7a (patch)
tree0daa81b0533ce203c33d5571dcb842257dba4cd0 /src/lexer.ll
parent4488b6112c4e22493ed88c68035b980a5b42228d (diff)
downloadabakus-f4f8ac034fa04404e2fcd5029ba050c537c07d7a.tar.gz
abakus-f4f8ac034fa04404e2fcd5029ba050c537c07d7a.zip
TQt4 port Abakus
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/abakus@1231045 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/lexer.ll')
-rw-r--r--src/lexer.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lexer.ll b/src/lexer.ll
index e1b72ab..f83b142 100644
--- a/src/lexer.ll
+++ b/src/lexer.ll
@@ -146,7 +146,7 @@ public:
/* Declared in function.h, implemented here in lexer.l since this is where
* all the yy_*() functions and types are defined.
*/
-Lexer::Lexer(const QString &expr) :
+Lexer::Lexer(const TQString &expr) :
m_private(new Private)
{
const char *exprString = expr.latin1();
@@ -193,7 +193,7 @@ int Lexer::nextType()
return m_private->lastToken;
}
-QString Lexer::tokenValue() const
+TQString Lexer::tokenValue() const
{
return m_private->lastTokenData;
}