summaryrefslogtreecommitdiffstats
path: root/kio/kio/kar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/kar.cpp')
-rw-r--r--kio/kio/kar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kio/kio/kar.cpp b/kio/kio/kar.cpp
index 9f9435294..8d8d0bba5 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 (qstrncmp(magic, "!<arch>", 7) != 0) {
+ if (tqstrncmp(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.find("/"));
+ name = name.left(name.tqfind("/"));
}
}
if (skip_entry) continue;
name = name.stripWhiteSpace(); // Process filename
- name.replace( "/", "" );
+ name.tqreplace( "/", "" );
kdDebug(7042) << "Filename: " << name << " Size: " << size << endl;
KArchiveEntry* entry;