summaryrefslogtreecommitdiffstats
path: root/src/rpnmuncher.h
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/rpnmuncher.h
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/rpnmuncher.h')
-rw-r--r--src/rpnmuncher.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rpnmuncher.h b/src/rpnmuncher.h
index 4f5e69f..9ac74f2 100644
--- a/src/rpnmuncher.h
+++ b/src/rpnmuncher.h
@@ -19,24 +19,24 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-class QString;
+class TQString;
class Operand;
-template<class T> class QValueStack;
-typedef QValueStack<Operand> OperandStack;
+template<class T> class TQValueStack;
+typedef TQValueStack<Operand> OperandStack;
#include "numerictypes.h"
class RPNParser
{
public:
- static Abakus::number_t rpnParseString(const QString &text);
+ static Abakus::number_t rpnParseString(const TQString &text);
static bool wasError() { return m_error; }
- static QString errorString() { return m_errorStr; }
+ static TQString errorString() { return m_errorStr; }
static OperandStack &stack() { return m_stack; }
private:
- static QString m_errorStr;
+ static TQString m_errorStr;
static bool m_error;
static OperandStack m_stack;
};