summaryrefslogtreecommitdiffstats
path: root/src/hmath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hmath.cpp')
-rw-r--r--src/hmath.cpp8
1 files changed, 4 insertions, 4 deletions
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 <string.h>
#include <stdio.h>
-#include <qstring.h>
+#include <tqstring.h>
// 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;