diff options
Diffstat (limited to 'kio/kio/kar.cpp')
-rw-r--r-- | kio/kio/kar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kio/kio/kar.cpp b/kio/kio/kar.cpp index 8d8d0bba5..9f9435294 100644 --- a/kio/kio/kar.cpp +++ b/kio/kio/kar.cpp @@ -86,7 +86,7 @@ bool KAr::openArchive( int mode ) char magic[8]; dev->readBlock (magic, 8); - if (tqstrncmp(magic, "!<arch>", 7) != 0) { + if (qstrncmp(magic, "!<arch>", 7) != 0) { kdWarning(7042) << "Invalid main magic" << endl; return false; } @@ -140,13 +140,13 @@ bool KAr::openArchive( int mode ) return false; } name = &ar_longnames[name.mid(1, 15).toInt()]; - name = name.left(name.tqfind("/")); + name = name.left(name.find("/")); } } if (skip_entry) continue; name = name.stripWhiteSpace(); // Process filename - name.tqreplace( "/", "" ); + name.replace( "/", "" ); kdDebug(7042) << "Filename: " << name << " Size: " << size << endl; KArchiveEntry* entry; |