diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kviewshell/units.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/units.cpp')
-rw-r--r-- | kviewshell/units.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kviewshell/units.cpp b/kviewshell/units.cpp index e675f916..99dc2da9 100644 --- a/kviewshell/units.cpp +++ b/kviewshell/units.cpp @@ -13,7 +13,7 @@ #include <kglobal.h> #include <klocale.h> #include <math.h> -#include <qstringlist.h> +#include <tqstringlist.h> #include "units.h" @@ -53,7 +53,7 @@ unitOfDistance distanceUnitTable[] = { -float distance::convertToMM(const QString &distance, bool *ok) +float distance::convertToMM(const TQString &distance, bool *ok) { // kdDebug() << "convertToMM( " << distance << " )" << endl; @@ -78,6 +78,6 @@ float distance::convertToMM(const QString &distance, bool *ok) return 0.0; } - QString val = distance.left(unitPos).simplifyWhiteSpace(); + TQString val = distance.left(unitPos).simplifyWhiteSpace(); return MMperUnit*val.toFloat(ok); } |