diff options
Diffstat (limited to 'apps/ktcachecheck/multicachechecker.cpp')
-rw-r--r-- | apps/ktcachecheck/multicachechecker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/ktcachecheck/multicachechecker.cpp b/apps/ktcachecheck/multicachechecker.cpp index df80535..3132e12 100644 --- a/apps/ktcachecheck/multicachechecker.cpp +++ b/apps/ktcachecheck/multicachechecker.cpp @@ -40,10 +40,10 @@ namespace ktdebug {} - void MultiCacheChecker::check(const QString& cache_dir, const QString& index) + void MultiCacheChecker::check(const TQString& cache_dir, const TQString& index) { loadIndex(index); - QString cache = cache_dir; + TQString cache = cache_dir; if (!cache.endsWith(bt::DirSeparator())) cache += bt::DirSeparator(); @@ -79,7 +79,7 @@ namespace ktdebug // we can read the chunk from this file File fptr; if (!fptr.open(cache + tf.getPath(),"rb")) - throw Error(QString("Cannot open %1 : %2").arg(cache + tf.getPath()).arg(fptr.errorString())); + throw Error(TQString("Cannot open %1 : %2").tqarg(cache + tf.getPath()).tqarg(fptr.errorString())); fptr.seek(File::BEGIN,curr_file_off); fptr.read(buf + bytes_offset,to_read); @@ -94,7 +94,7 @@ namespace ktdebug // Out() << "Partially reading " << to_read << endl; File fptr; if (!fptr.open(cache + tf.getPath(),"rb")) - throw Error(QString("Cannot open %1 : %2").arg(cache + tf.getPath()).arg(fptr.errorString())); + throw Error(TQString("Cannot open %1 : %2").tqarg(cache + tf.getPath()).tqarg(fptr.errorString())); fptr.seek(File::BEGIN,curr_file_off); fptr.read(buf + bytes_offset,to_read); |