diff options
Diffstat (limited to 'kded')
-rw-r--r-- | kded/kbuildservicefactory.cpp | 14 | ||||
-rw-r--r-- | kded/kbuildservicegroupfactory.cpp | 6 | ||||
-rw-r--r-- | kded/kbuildservicetypefactory.cpp | 18 | ||||
-rw-r--r-- | kded/kbuildsycoca.cpp | 8 | ||||
-rw-r--r-- | kded/kctimefactory.cpp | 8 | ||||
-rw-r--r-- | kded/vfolder_menu.cpp | 4 |
6 files changed, 29 insertions, 29 deletions
diff --git a/kded/kbuildservicefactory.cpp b/kded/kbuildservicefactory.cpp index 64298c273..dcd77c87b 100644 --- a/kded/kbuildservicefactory.cpp +++ b/kded/kbuildservicefactory.cpp @@ -113,32 +113,32 @@ KBuildServiceFactory::save(TQDataStream &str) { KSycocaFactory::save(str); - m_nameDictOffset = str.tqdevice()->at(); + m_nameDictOffset = str.tqdevice()->tqat(); m_nameDict->save(str); - m_relNameDictOffset = str.tqdevice()->at(); + m_relNameDictOffset = str.tqdevice()->tqat(); m_relNameDict->save(str); saveOfferList(str); saveInitList(str); - m_menuIdDictOffset = str.tqdevice()->at(); + m_menuIdDictOffset = str.tqdevice()->tqat(); m_menuIdDict->save(str); - int endOfFactoryData = str.tqdevice()->at(); + int endOfFactoryData = str.tqdevice()->tqat(); // Update header (pass #3) saveHeader(str); // Seek to end. - str.tqdevice()->at(endOfFactoryData); + str.tqdevice()->tqat(endOfFactoryData); } void KBuildServiceFactory::saveOfferList(TQDataStream &str) { - m_offerListOffset = str.tqdevice()->at(); + m_offerListOffset = str.tqdevice()->tqat(); bool isNumber; for(TQDictIterator<KSycocaEntry::Ptr> itserv ( *m_entryDict ); @@ -201,7 +201,7 @@ KBuildServiceFactory::saveOfferList(TQDataStream &str) void KBuildServiceFactory::saveInitList(TQDataStream &str) { - m_initListOffset = str.tqdevice()->at(); + m_initListOffset = str.tqdevice()->tqat(); KService::List initList; diff --git a/kded/kbuildservicegroupfactory.cpp b/kded/kbuildservicegroupfactory.cpp index a992b885d..164dd81e3 100644 --- a/kded/kbuildservicegroupfactory.cpp +++ b/kded/kbuildservicegroupfactory.cpp @@ -165,14 +165,14 @@ KBuildServiceGroupFactory::save(TQDataStream &str) { KSycocaFactory::save(str); - m_baseGroupDictOffset = str.tqdevice()->at(); + m_baseGroupDictOffset = str.tqdevice()->tqat(); m_baseGroupDict->save(str); - int endOfFactoryData = str.tqdevice()->at(); + int endOfFactoryData = str.tqdevice()->tqat(); // Update header (pass #3) saveHeader(str); // Seek to end. - str.tqdevice()->at(endOfFactoryData); + str.tqdevice()->tqat(endOfFactoryData); } diff --git a/kded/kbuildservicetypefactory.cpp b/kded/kbuildservicetypefactory.cpp index c6a386aca..e27a83cc4 100644 --- a/kded/kbuildservicetypefactory.cpp +++ b/kded/kbuildservicetypefactory.cpp @@ -152,13 +152,13 @@ KBuildServiceTypeFactory::save(TQDataStream &str) savePatternLists(str); - int endOfFactoryData = str.tqdevice()->at(); + int endOfFactoryData = str.tqdevice()->tqat(); // Update header (pass #3) saveHeader(str); // Seek to end. - str.tqdevice()->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.tqdevice()->at(); + m_fastPatternOffset = str.tqdevice()->tqat(); // Write out fastPatternHeader (Pass #1) - str.tqdevice()->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.tqdevice()->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.tqdevice()->at() - start; + entrySize = str.tqdevice()->tqat() - start; nrOfEntries++; } // store position - m_otherPatternOffset = str.tqdevice()->at(); + m_otherPatternOffset = str.tqdevice()->tqat(); // Write out fastPatternHeader (Pass #2) - str.tqdevice()->at(m_fastPatternOffset); + str.tqdevice()->tqat(m_fastPatternOffset); str << nrOfEntries; str << entrySize; // For the other patterns - str.tqdevice()->at(m_otherPatternOffset); + str.tqdevice()->tqat(m_otherPatternOffset); it = otherPatterns.begin(); for ( ; it != otherPatterns.end() ; ++it ) diff --git a/kded/kbuildsycoca.cpp b/kded/kbuildsycoca.cpp index 58585f19a..584531d8c 100644 --- a/kded/kbuildsycoca.cpp +++ b/kded/kbuildsycoca.cpp @@ -541,7 +541,7 @@ bool KBuildSycoca::recreate() void KBuildSycoca::save() { // Write header (#pass 1) - m_str->tqdevice()->at(0); + m_str->tqdevice()->tqat(0); (*m_str) << (TQ_INT32) KSycoca::version(); KSycocaFactory * servicetypeFactory = 0L; @@ -579,10 +579,10 @@ void KBuildSycoca::save() return; // error } - int endOfData = m_str->tqdevice()->at(); + int endOfData = m_str->tqdevice()->tqat(); // Write header (#pass 2) - m_str->tqdevice()->at(0); + m_str->tqdevice()->tqat(0); (*m_str) << (TQ_INT32) KSycoca::version(); for(KSycocaFactory *factory = m_lstFactories->first(); @@ -599,7 +599,7 @@ void KBuildSycoca::save() (*m_str) << (TQ_INT32) 0; // No more factories. // Jump to end of database - m_str->tqdevice()->at(endOfData); + m_str->tqdevice()->tqat(endOfData); } bool KBuildSycoca::checkDirTimestamps( const TQString& dirname, const TQDateTime& stamp, bool top ) diff --git a/kded/kctimefactory.cpp b/kded/kctimefactory.cpp index f268889c4..98471af48 100644 --- a/kded/kctimefactory.cpp +++ b/kded/kctimefactory.cpp @@ -53,7 +53,7 @@ KCTimeInfo::save(TQDataStream &str) { KSycocaFactory::save(str); - m_dictOffset = str.tqdevice()->at(); + m_dictOffset = str.tqdevice()->tqat(); TQDictIterator<TQ_UINT32> it(ctimeDict); while( it.current()) { @@ -62,10 +62,10 @@ KCTimeInfo::save(TQDataStream &str) } str << TQString::null << (TQ_UINT32) 0; - int endOfFactoryData = str.tqdevice()->at(); + int endOfFactoryData = str.tqdevice()->tqat(); saveHeader(str); - str.tqdevice()->at(endOfFactoryData); + str.tqdevice()->tqat(endOfFactoryData); } void @@ -86,7 +86,7 @@ void KCTimeInfo::fillCTimeDict(TQDict<TQ_UINT32> &dict) { assert(m_str); - m_str->tqdevice()->at(m_dictOffset); + m_str->tqdevice()->tqat(m_dictOffset); TQString path; TQ_UINT32 ctime; while(true) diff --git a/kded/vfolder_menu.cpp b/kded/vfolder_menu.cpp index c2321cf39..ce938c7cb 100644 --- a/kded/vfolder_menu.cpp +++ b/kded/vfolder_menu.cpp @@ -1000,7 +1000,7 @@ VFolderMenu::loadApplications(const TQString &dir, const TQString &prefix) while( ( ep = readdir( dp ) ) != 0L ) { TQString fn( TQFile::decodeName(ep->d_name)); - if (fn == _dot || fn == _dotdot || TQChar(fn.at(fn.length() - 1)).latin1() == '~') + if (fn == _dot || fn == _dotdot || TQChar(fn.tqat(fn.length() - 1)).latin1() == '~') continue; TQString pathfn = dir + fn; @@ -1110,7 +1110,7 @@ kdDebug(7021) << "processLegacyDir(" << dir << ", " << relDir << ", " << prefix while( ( ep = readdir( dp ) ) != 0L ) { TQString fn( TQFile::decodeName(ep->d_name)); - if (fn == _dot || fn == _dotdot || TQChar(fn.at(fn.length() - 1)).latin1() == '~') + if (fn == _dot || fn == _dotdot || TQChar(fn.tqat(fn.length() - 1)).latin1() == '~') continue; TQString pathfn = dir + fn; |