diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /apps/ktcachecheck/cachechecker.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip |
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
Diffstat (limited to 'apps/ktcachecheck/cachechecker.h')
-rw-r--r-- | apps/ktcachecheck/cachechecker.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/ktcachecheck/cachechecker.h b/apps/ktcachecheck/cachechecker.h index def3e6d..27d58ac 100644 --- a/apps/ktcachecheck/cachechecker.h +++ b/apps/ktcachecheck/cachechecker.h @@ -21,7 +21,7 @@ #define DEBUGCACHECHECKER_H #include <set> -#include <qstring.h> +#include <tqstring.h> #include <util/functions.h> namespace bt @@ -41,15 +41,15 @@ namespace ktdebug CacheChecker(bt::Torrent & tor); virtual ~CacheChecker(); - void loadIndex(const QString & index_file); + void loadIndex(const TQString & index_file); void fixIndex(); bool foundFailedChunks() const {return failed_chunks.size() > 0;} bool foundExtraChunks() const {return extra_chunks.size() > 0;} - virtual void check(const QString & cache,const QString & index) = 0; + virtual void check(const TQString & cache,const TQString & index) = 0; protected: bt::Torrent & tor; - QString index_file; + TQString index_file; std::set<bt::Uint32> downloaded_chunks; std::set<bt::Uint32> failed_chunks; std::set<bt::Uint32> extra_chunks; |