summaryrefslogtreecommitdiffstats
path: root/kded/kbuildservicefactory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
commit374d939d8af431477ce2601815f0ba121b66871c (patch)
treead878478dcc0bedf51e3cffb2ed611ada422b290 /kded/kbuildservicefactory.cpp
parentf9279733bf71e446933b46f40cbe9c9b9f57b778 (diff)
downloadtdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz
tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip
Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kded/kbuildservicefactory.cpp')
-rw-r--r--kded/kbuildservicefactory.cpp14
1 files changed, 7 insertions, 7 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;