diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kded/kctimefactory.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kded/kctimefactory.cpp')
-rw-r--r-- | kded/kctimefactory.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kded/kctimefactory.cpp b/kded/kctimefactory.cpp index 15e43767a..25d78bab0 100644 --- a/kded/kctimefactory.cpp +++ b/kded/kctimefactory.cpp @@ -54,13 +54,13 @@ KCTimeInfo::save(TQDataStream &str) KSycocaFactory::save(str); m_dictOffset = str.device()->at(); - TQDictIterator<TQ_UINT32> it(ctimeDict); + TQDictIterator<Q_UINT32> it(ctimeDict); while( it.current()) { str << it.currentKey() << *(it.current()); ++it; } - str << TQString::null << (TQ_UINT32) 0; + str << TQString::null << (Q_UINT32) 0; int endOfFactoryData = str.device()->at(); @@ -69,31 +69,31 @@ KCTimeInfo::save(TQDataStream &str) } void -KCTimeInfo::addCTime(const TQString &path, TQ_UINT32 ctime) +KCTimeInfo::addCTime(const TQString &path, Q_UINT32 ctime) { assert(!path.isEmpty()); - ctimeDict.tqreplace(path, new TQ_UINT32(ctime)); + ctimeDict.replace(path, new Q_UINT32(ctime)); } -TQ_UINT32 +Q_UINT32 KCTimeInfo::ctime(const TQString &path) { - TQ_UINT32 *ctimeP = ctimeDict[path]; + Q_UINT32 *ctimeP = ctimeDict[path]; return ctimeP ? *ctimeP : 0; } void -KCTimeInfo::fillCTimeDict(TQDict<TQ_UINT32> &dict) +KCTimeInfo::fillCTimeDict(TQDict<Q_UINT32> &dict) { assert(m_str); m_str->device()->at(m_dictOffset); TQString path; - TQ_UINT32 ctime; + Q_UINT32 ctime; while(true) { KSycocaEntry::read(*m_str, path); (*m_str) >> ctime; if (path.isEmpty()) break; - dict.tqreplace(path, new TQ_UINT32(ctime)); + dict.replace(path, new Q_UINT32(ctime)); } } |