diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:32:56 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:32:56 -0600 |
commit | f96f74ffa7040e64ae3352e08c810c383c8a0ba2 (patch) | |
tree | 8f4cdf2f66860234f9ae889cd483b44150affb2c /libktorrent/datachecker | |
parent | 0ad9f974f4ad92a3f1458a76d4df26d843efeab7 (diff) | |
download | ktorrent-f96f74ffa7040e64ae3352e08c810c383c8a0ba2.tar.gz ktorrent-f96f74ffa7040e64ae3352e08c810c383c8a0ba2.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libktorrent/datachecker')
-rw-r--r-- | libktorrent/datachecker/multidatachecker.cpp | 8 | ||||
-rw-r--r-- | libktorrent/datachecker/singledatachecker.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libktorrent/datachecker/multidatachecker.cpp b/libktorrent/datachecker/multidatachecker.cpp index 526fd08..e98a64f 100644 --- a/libktorrent/datachecker/multidatachecker.cpp +++ b/libktorrent/datachecker/multidatachecker.cpp @@ -109,8 +109,8 @@ namespace bt File fptr; if (!fptr.open(cache + tf.getPath(), "rb")) { - Out() << TQString("Warning : Cannot open %1 : %2").tqarg(cache + - tf.getPath()).tqarg(fptr.errorString()) << endl; + Out() << TQString("Warning : Cannot open %1 : %2").arg(cache + + tf.getPath()).arg(fptr.errorString()) << endl; return 0; } @@ -183,8 +183,8 @@ namespace bt File fptr; if (!fptr.open(cache + f.getPath(), "rb")) { - Out() << TQString("Warning : Cannot open %1 : %2").tqarg(cache + - f.getPath()).tqarg(fptr.errorString()) << endl; + Out() << TQString("Warning : Cannot open %1 : %2").arg(cache + + f.getPath()).arg(fptr.errorString()) << endl; return false; } else diff --git a/libktorrent/datachecker/singledatachecker.cpp b/libktorrent/datachecker/singledatachecker.cpp index e086e90..948537c 100644 --- a/libktorrent/datachecker/singledatachecker.cpp +++ b/libktorrent/datachecker/singledatachecker.cpp @@ -48,7 +48,7 @@ namespace bt if (!fptr.open(path,"rb")) { throw Error(i18n("Cannot open file : %1 : %2") - .tqarg(path).tqarg( fptr.errorString())); + .arg(path).arg( fptr.errorString())); } // initialize the bitsets |