From 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 27 Jul 2013 16:57:53 +0200 Subject: Initial TQt conversion --- src/functions.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/functions.h') 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 -#include -#include +#include +#include +#include #include "constants.h" #include -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 int CompareVal(T a,T b) { -- cgit v1.2.1