summaryrefslogtreecommitdiffstats
path: root/kio/kio/kservicetypefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/kservicetypefactory.cpp')
-rw-r--r--kio/kio/kservicetypefactory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kio/kio/kservicetypefactory.cpp b/kio/kio/kservicetypefactory.cpp
index 393526eff..f7c0f5969 100644
--- a/kio/kio/kservicetypefactory.cpp
+++ b/kio/kio/kservicetypefactory.cpp
@@ -118,14 +118,14 @@ KMimeType * KServiceTypeFactory::findFromPattern(const TQString &_filename, TQSt
// Get stream to the header
TQDataStream *str = m_str;
- str->tqdevice()->tqat( m_fastPatternOffset );
+ str->device()->at( m_fastPatternOffset );
TQ_INT32 nrOfEntries;
(*str) >> nrOfEntries;
TQ_INT32 entrySize;
(*str) >> entrySize;
- TQ_INT32 fastOffset = str->tqdevice()->tqat( );
+ TQ_INT32 fastOffset = str->device()->at( );
TQ_INT32 matchingOffset = 0;
@@ -145,7 +145,7 @@ KMimeType * KServiceTypeFactory::findFromPattern(const TQString &_filename, TQSt
while (left <= right) {
middle = (left + right) / 2;
// read pattern at position "middle"
- str->tqdevice()->tqat( middle * entrySize + fastOffset );
+ str->device()->at( middle * entrySize + fastOffset );
KSycocaEntry::read(*str, pattern);
int cmp = pattern.compare( extension );
if (cmp < 0)
@@ -166,7 +166,7 @@ KMimeType * KServiceTypeFactory::findFromPattern(const TQString &_filename, TQSt
// Now try the "other" Pattern table
if ( m_patterns.isEmpty() ) {
- str->tqdevice()->tqat( m_otherPatternOffset );
+ str->device()->at( m_otherPatternOffset );
TQString pattern;
TQ_INT32 mimetypeOffset;