From f4f8ac034fa04404e2fcd5029ba050c537c07d7a Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 9 May 2011 19:45:27 +0000 Subject: 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 --- src/lexer.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lexer.ll') 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; } -- cgit v1.2.1