summaryrefslogtreecommitdiffstats
path: root/kio/kio/kar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
commit56160bf4dfe503631ef6373367b281f081bab2b4 (patch)
tree7fcea2ffd9c3420af999c3dcad0ed032eef93956 /kio/kio/kar.cpp
parent13281e2856a2ef43bbab78c5528470309c23aa77 (diff)
downloadtdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz
tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'kio/kio/kar.cpp')
-rw-r--r--kio/kio/kar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kio/kio/kar.cpp b/kio/kio/kar.cpp
index 07072d0c6..376a748a4 100644
--- a/kio/kio/kar.cpp
+++ b/kio/kio/kar.cpp
@@ -98,7 +98,7 @@ bool KAr::openArchive( int mode )
TQCString name;
int date, uid, gid, mode, size;
- dev->at( dev->at() + (2 - (dev->at() % 2)) % 2 ); // Ar headers are padded to byte boundary
+ dev->tqat( dev->tqat() + (2 - (dev->tqat() % 2)) % 2 ); // Ar headers are padded to byte boundary
if ( dev->readBlock (ar_header.data(), 60) != 60 ) { // Read ar header
kdWarning(7042) << "Couldn't read header" << endl;
@@ -131,7 +131,7 @@ bool KAr::openArchive( int mode )
kdDebug(7042) << "Read in longnames entry" << endl;
} else if (name.mid(1, 1) == " ") { // Symbol table entry
kdDebug(7042) << "Skipped symbol entry" << endl;
- dev->at( dev->at() + size );
+ dev->tqat( dev->tqat() + size );
skip_entry = true;
} else { // Longfilename
kdDebug(7042) << "Longfilename #" << name.mid(1, 15).toInt() << endl;
@@ -150,10 +150,10 @@ bool KAr::openArchive( int mode )
kdDebug(7042) << "Filename: " << name << " Size: " << size << endl;
KArchiveEntry* entry;
- entry = new KArchiveFile(this, name, mode, date, /*uid*/ 0, /*gid*/ 0, 0, dev->at(), size);
+ entry = new KArchiveFile(this, name, mode, date, /*uid*/ 0, /*gid*/ 0, 0, dev->tqat(), size);
rootDir()->addEntry(entry); // Ar files don't support directorys, so everything in root
- dev->at( dev->at() + size ); // Skip contents
+ dev->tqat( dev->tqat() + size ); // Skip contents
}
delete[] ar_longnames;