summaryrefslogtreecommitdiffstats
path: root/kded/kbuildservicetypefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kded/kbuildservicetypefactory.cpp')
-rw-r--r--kded/kbuildservicetypefactory.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kded/kbuildservicetypefactory.cpp b/kded/kbuildservicetypefactory.cpp
index 27b55176d..1b09d10c6 100644
--- a/kded/kbuildservicetypefactory.cpp
+++ b/kded/kbuildservicetypefactory.cpp
@@ -152,13 +152,13 @@ KBuildServiceTypeFactory::save(TQDataStream &str)
savePatternLists(str);
- int endOfFactoryData = str.device()->at();
+ int endOfFactoryData = str.tqdevice()->tqat();
// Update header (pass #3)
saveHeader(str);
// Seek to end.
- str.device()->at(endOfFactoryData);
+ str.tqdevice()->tqat(endOfFactoryData);
}
void
@@ -203,10 +203,10 @@ KBuildServiceTypeFactory::savePatternLists(TQDataStream &str)
TQ_INT32 entrySize = 0;
TQ_INT32 nrOfEntries = 0;
- m_fastPatternOffset = str.device()->at();
+ m_fastPatternOffset = str.tqdevice()->tqat();
// Write out fastPatternHeader (Pass #1)
- str.device()->at(m_fastPatternOffset);
+ str.tqdevice()->tqat(m_fastPatternOffset);
str << nrOfEntries;
str << entrySize;
@@ -214,27 +214,27 @@ KBuildServiceTypeFactory::savePatternLists(TQDataStream &str)
TQStringList::ConstIterator it = fastPatterns.begin();
for ( ; it != fastPatterns.end() ; ++it )
{
- int start = str.device()->at();
+ int start = str.tqdevice()->tqat();
// Justify to 6 chars with spaces, so that the size remains constant
// in the database file.
TQString paddedPattern = (*it).leftJustify(6).right(4); // remove leading "*."
//kdDebug(7021) << TQString("FAST : '%1' '%2'").arg(paddedPattern).arg(dict[(*it)]->name()) << endl;
str << paddedPattern;
str << dict[(*it)]->offset();
- entrySize = str.device()->at() - start;
+ entrySize = str.tqdevice()->tqat() - start;
nrOfEntries++;
}
// store position
- m_otherPatternOffset = str.device()->at();
+ m_otherPatternOffset = str.tqdevice()->tqat();
// Write out fastPatternHeader (Pass #2)
- str.device()->at(m_fastPatternOffset);
+ str.tqdevice()->tqat(m_fastPatternOffset);
str << nrOfEntries;
str << entrySize;
// For the other patterns
- str.device()->at(m_otherPatternOffset);
+ str.tqdevice()->tqat(m_otherPatternOffset);
it = otherPatterns.begin();
for ( ; it != otherPatterns.end() ; ++it )