diff options
Diffstat (limited to 'src/helpers/stringhelper.h')
-rw-r--r-- | src/helpers/stringhelper.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helpers/stringhelper.h b/src/helpers/stringhelper.h index 263f418..80ad576 100644 --- a/src/helpers/stringhelper.h +++ b/src/helpers/stringhelper.h @@ -20,8 +20,8 @@ #ifndef STRINGHELPER_H #define STRINGHELPER_H -#include <qstring.h> -#include <qtextstream.h> +#include <tqstring.h> +#include <tqtextstream.h> namespace helpers { @@ -33,7 +33,7 @@ protected: public: ByteToString(){}; - QString operator()(long value) + TQString operator()(long value) { char pre = 0; double v = (double)value; @@ -57,7 +57,7 @@ public: } v /= 1024.0; } - return QString("%1 %2Byte").arg(v,0,'f',pre?2:0).arg(pre?QString(QChar(pre)):QString("")); + return TQString("%1 %2Byte").tqarg(v,0,'f',pre?2:0).tqarg(pre?TQString(TQChar(pre)):TQString("")); } }; |