diff options
Diffstat (limited to 'kioslave')
-rw-r--r-- | kioslave/http/http.cc | 4 | ||||
-rw-r--r-- | kioslave/http/kcookiejar/kcookiejar.cpp | 2 | ||||
-rw-r--r-- | kioslave/iso/iso.cpp | 4 | ||||
-rw-r--r-- | kioslave/iso/kiso.cpp | 2 | ||||
-rw-r--r-- | kioslave/iso/kisofile.cpp | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/kioslave/http/http.cc b/kioslave/http/http.cc index d509a3eb3..a1495d78b 100644 --- a/kioslave/http/http.cc +++ b/kioslave/http/http.cc @@ -4711,7 +4711,7 @@ FILE* HTTPProtocol::checkCacheEntry( bool readWrite) TQCString u = m_request.url.url().latin1(); for(int i = u.length(); i--;) { - hash = (hash * 12211 + static_cast<const char>(u.tqat(i))) % 2147483563; + hash = (hash * 12211 + static_cast<const char>(u.at(i))) % 2147483563; } TQString hashString; @@ -5943,7 +5943,7 @@ TQString HTTPProtocol::createDigestAuth ( bool isForProxy ) for (int i = 0; i < count; i++ ) { - KURL u ( info.digestURI.tqat(i) ); + KURL u ( info.digestURI.at(i) ); send &= (m_request.url.protocol().lower() == u.protocol().lower()); send &= (m_request.hostname.lower() == u.host().lower()); diff --git a/kioslave/http/kcookiejar/kcookiejar.cpp b/kioslave/http/kcookiejar/kcookiejar.cpp index c9c379c58..ec0a423a6 100644 --- a/kioslave/http/kcookiejar/kcookiejar.cpp +++ b/kioslave/http/kcookiejar/kcookiejar.cpp @@ -618,7 +618,7 @@ void KCookieJar::extractDomains(const TQString &_fqdn, return; } // Return numeric IPv4 addresses as is... - if ((_fqdn.tqat(0) >= TQChar('0')) && (_fqdn.tqat(0) <= TQChar('9'))) + if ((_fqdn.at(0) >= TQChar('0')) && (_fqdn.at(0) <= TQChar('9'))) { if (_fqdn.find(TQRegExp(IP_ADDRESS_EXPRESSION)) > -1) { diff --git a/kioslave/iso/iso.cpp b/kioslave/iso/iso.cpp index cde39702f..586513956 100644 --- a/kioslave/iso/iso.cpp +++ b/kioslave/iso/iso.cpp @@ -407,8 +407,8 @@ void kio_isoProtocol::getFile( const KIsoFile *isoFileEntry, const TQString &pat ptrblock_bytes = (nblocks+1) * 4; pointer_block=isoFileEntry->data( hdr->header_size << 2, ptrblock_bytes ); if (pointer_block.size() == ptrblock_bytes && - inbuf.tqresize(block_size2) && - outbuf.tqresize(block_size)) { + inbuf.resize(block_size2) && + outbuf.resize(block_size)) { pptr = pointer_block.data(); } else { diff --git a/kioslave/iso/kiso.cpp b/kioslave/iso/kiso.cpp index 7b682a783..47f71511d 100644 --- a/kioslave/iso/kiso.cpp +++ b/kioslave/iso/kiso.cpp @@ -192,7 +192,7 @@ static int readf(char *buf, int start, int len,void *udata) { TQIODevice* dev = ( static_cast<KIso*> (udata) )->device(); - if (dev->tqat(start<<11)) { + if (dev->at(start<<11)) { if ((dev->readBlock(buf, len<<11)) != -1) return (len); } kdDebug() << "KIso::ReadRequest failed start: " << start << " len: " << len << endl; diff --git a/kioslave/iso/kisofile.cpp b/kioslave/iso/kisofile.cpp index 5235ea4a0..afac16b74 100644 --- a/kioslave/iso/kisofile.cpp +++ b/kioslave/iso/kisofile.cpp @@ -42,8 +42,8 @@ TQByteArray KIsoFile::data(long long pos, int count) const { TQByteArray r; int rlen; - if ( archive()->device()->tqat(position()+pos) && - r.tqresize( ((pos+count) < size()) ? count : size()-pos) ) { + if ( archive()->device()->at(position()+pos) && + r.resize( ((pos+count) < size()) ? count : size()-pos) ) { rlen=archive()->device()->readBlock( r.data(), r.size() ); if (rlen ==- 1) r.resize(0); else if (rlen != (int)r.size()) r.resize(rlen); |