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/hmath.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/hmath.cpp') diff --git a/src/hmath.cpp b/src/hmath.cpp index 1c4dfa3..736b241 100644 --- a/src/hmath.cpp +++ b/src/hmath.cpp @@ -31,7 +31,7 @@ #include #include -#include +#include // internal number of decimal digits #define HMATH_MAX_PREC 150 @@ -224,7 +224,7 @@ static bc_num h_div( bc_num n1, bc_num n2 ) return r; } -// find 10 raise to num +// tqfind 10 raise to num // e.g.: when num is 5, it results 100000 static bc_num h_raise10( int n ) { @@ -692,10 +692,10 @@ char* HMath::formatGeneral( const HNumber& hn, int prec ) return str; } -QString HMath::formatGenString( const HNumber &n, int prec ) +TQString HMath::formatGenString( const HNumber &n, int prec ) { char *foo = formatGeneral(n, prec); - QString s(foo); + TQString s(foo); free(foo); return s; -- cgit v1.2.3