diff options
author | Slávek Banko <[email protected]> | 2013-07-27 16:57:53 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-27 18:48:46 +0200 |
commit | 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (patch) | |
tree | 4655c7263ca5c64d23d10167cb459dd9cb253815 /src/functions.h | |
parent | 88ea2b6cd4382627fb6efca9cc54825aee881d1e (diff) | |
download | tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.tar.gz tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.zip |
Initial TQt conversion
Diffstat (limited to 'src/functions.h')
-rw-r--r-- | src/functions.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/functions.h b/src/functions.h index 36b3f4c..84d0c87 100644 --- a/src/functions.h +++ b/src/functions.h @@ -22,27 +22,27 @@ #ifndef FUNCTIONS_H #define FUNCTIONS_H -#include <qstring.h> -#include <qstringlist.h> -#include <qdir.h> +#include <ntqstring.h> +#include <ntqstringlist.h> +#include <ntqdir.h> #include "constants.h" #include <map> -QString getFullLocation(const char *additionalPaths, const QString &name); +TQString getFullLocation(const char *additionalPaths, const TQString &name); -QStringList findPrograms(const QStringList &programList); +TQStringList findPrograms(const TQStringList &programList); -QStringList addPaths(const char *env_path); +TQStringList addPaths(const char *env_path); using namespace bt; namespace tk { - QString BytesToString(bt::Uint64 bytes,int precision = -1); - QString KBytesPerSecToString(double speed,int precision = 1); - QString BytesPerSecToString(double bytes,int precision = 1); - QString DurationToString(bt::Uint32 nsecs); - QString calcBW(const QStringList &bwlist, int num); + TQString BytesToString(bt::Uint64 bytes,int precision = -1); + TQString KBytesPerSecToString(double speed,int precision = 1); + TQString BytesPerSecToString(double bytes,int precision = 1); + TQString DurationToString(bt::Uint32 nsecs); + TQString calcBW(const TQStringList &bwlist, int num); template<class T> int CompareVal(T a,T b) { |