summaryrefslogtreecommitdiffstats
path: root/apps/ktcachecheck/cachechecker.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /apps/ktcachecheck/cachechecker.cpp
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-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.cpp')
-rw-r--r--apps/ktcachecheck/cachechecker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/ktcachecheck/cachechecker.cpp b/apps/ktcachecheck/cachechecker.cpp
index 6cdf3e5..f05fb18 100644
--- a/apps/ktcachecheck/cachechecker.cpp
+++ b/apps/ktcachecheck/cachechecker.cpp
@@ -39,12 +39,12 @@ namespace ktdebug
CacheChecker::~CacheChecker()
{}
- void CacheChecker::loadIndex(const QString & index_file)
+ void CacheChecker::loadIndex(const TQString & index_file)
{
this->index_file = index_file;
File fptr;
if (!fptr.open(index_file,"rb"))
- throw Error(i18n("Cannot open index file %1 : %2").arg(index_file).arg(fptr.errorString()));
+ throw Error(i18n("Cannot open index file %1 : %2").tqarg(index_file).tqarg(fptr.errorString()));
if (fptr.seek(File::END,0) != 0)
{
@@ -73,7 +73,7 @@ namespace ktdebug
File fptr;
if (!fptr.open(index_file,"wb"))
- throw Error(i18n("Cannot open index file %1 : %2").arg(index_file).arg(fptr.errorString()));
+ throw Error(i18n("Cannot open index file %1 : %2").tqarg(index_file).tqarg(fptr.errorString()));
std::set<bt::Uint32>::iterator i;
// first remove failed chunks from downloaded