From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: TQt4 port ktorrent This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libktorrent/interfaces/functions.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libktorrent/interfaces/functions.h') diff --git a/libktorrent/interfaces/functions.h b/libktorrent/interfaces/functions.h index 1bf7178..4ffe9a9 100644 --- a/libktorrent/interfaces/functions.h +++ b/libktorrent/interfaces/functions.h @@ -20,7 +20,7 @@ #ifndef FUNCTIONS_H #define FUNCTIONS_H -#include +#include #include namespace kt @@ -29,9 +29,9 @@ namespace kt const double TO_MEG = (1024.0 * 1024.0); const double TO_GIG = (1024.0 * 1024.0 * 1024.0); - QString BytesToString(bt::Uint64 bytes,int precision = -1); - QString KBytesPerSecToString(double speed,int precision = 1); - QString DurationToString(bt::Uint32 nsecs); + TQString BytesToString(bt::Uint64 bytes,int precision = -1); + TQString KBytesPerSecToString(double speed,int precision = 1); + TQString DurationToString(bt::Uint32 nsecs); template int CompareVal(T a,T b) { -- cgit v1.2.1