diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /kded/kctimefactory.cpp | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase. If it does then it needs to be fixed!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kded/kctimefactory.cpp')
-rw-r--r-- | kded/kctimefactory.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kded/kctimefactory.cpp b/kded/kctimefactory.cpp index 25d78bab0..f268889c4 100644 --- a/kded/kctimefactory.cpp +++ b/kded/kctimefactory.cpp @@ -53,47 +53,47 @@ KCTimeInfo::save(TQDataStream &str) { KSycocaFactory::save(str); - m_dictOffset = str.device()->at(); - TQDictIterator<Q_UINT32> it(ctimeDict); + m_dictOffset = str.tqdevice()->at(); + TQDictIterator<TQ_UINT32> it(ctimeDict); while( it.current()) { str << it.currentKey() << *(it.current()); ++it; } - str << TQString::null << (Q_UINT32) 0; + str << TQString::null << (TQ_UINT32) 0; - int endOfFactoryData = str.device()->at(); + int endOfFactoryData = str.tqdevice()->at(); saveHeader(str); - str.device()->at(endOfFactoryData); + str.tqdevice()->at(endOfFactoryData); } void -KCTimeInfo::addCTime(const TQString &path, Q_UINT32 ctime) +KCTimeInfo::addCTime(const TQString &path, TQ_UINT32 ctime) { assert(!path.isEmpty()); - ctimeDict.replace(path, new Q_UINT32(ctime)); + ctimeDict.tqreplace(path, new TQ_UINT32(ctime)); } -Q_UINT32 +TQ_UINT32 KCTimeInfo::ctime(const TQString &path) { - Q_UINT32 *ctimeP = ctimeDict[path]; + TQ_UINT32 *ctimeP = ctimeDict[path]; return ctimeP ? *ctimeP : 0; } void -KCTimeInfo::fillCTimeDict(TQDict<Q_UINT32> &dict) +KCTimeInfo::fillCTimeDict(TQDict<TQ_UINT32> &dict) { assert(m_str); - m_str->device()->at(m_dictOffset); + m_str->tqdevice()->at(m_dictOffset); TQString path; - Q_UINT32 ctime; + TQ_UINT32 ctime; while(true) { KSycocaEntry::read(*m_str, path); (*m_str) >> ctime; if (path.isEmpty()) break; - dict.replace(path, new Q_UINT32(ctime)); + dict.tqreplace(path, new TQ_UINT32(ctime)); } } |