summaryrefslogtreecommitdiffstats
path: root/kded/kctimefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kded/kctimefactory.cpp')
-rw-r--r--kded/kctimefactory.cpp18
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));
}
}