diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kded/kctimefactory.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kded/kctimefactory.cpp')
-rw-r--r-- | kded/kctimefactory.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kded/kctimefactory.cpp b/kded/kctimefactory.cpp index bfc69af2c..25d78bab0 100644 --- a/kded/kctimefactory.cpp +++ b/kded/kctimefactory.cpp @@ -41,7 +41,7 @@ KCTimeInfo::~KCTimeInfo() } void -KCTimeInfo::saveHeader(QDataStream &str) +KCTimeInfo::saveHeader(TQDataStream &str) { KSycocaFactory::saveHeader(str); @@ -49,18 +49,18 @@ KCTimeInfo::saveHeader(QDataStream &str) } void -KCTimeInfo::save(QDataStream &str) +KCTimeInfo::save(TQDataStream &str) { KSycocaFactory::save(str); m_dictOffset = str.device()->at(); - QDictIterator<Q_UINT32> it(ctimeDict); + TQDictIterator<Q_UINT32> it(ctimeDict); while( it.current()) { str << it.currentKey() << *(it.current()); ++it; } - str << QString::null << (Q_UINT32) 0; + str << TQString::null << (Q_UINT32) 0; int endOfFactoryData = str.device()->at(); @@ -69,25 +69,25 @@ KCTimeInfo::save(QDataStream &str) } void -KCTimeInfo::addCTime(const QString &path, Q_UINT32 ctime) +KCTimeInfo::addCTime(const TQString &path, Q_UINT32 ctime) { assert(!path.isEmpty()); ctimeDict.replace(path, new Q_UINT32(ctime)); } Q_UINT32 -KCTimeInfo::ctime(const QString &path) +KCTimeInfo::ctime(const TQString &path) { Q_UINT32 *ctimeP = ctimeDict[path]; return ctimeP ? *ctimeP : 0; } void -KCTimeInfo::fillCTimeDict(QDict<Q_UINT32> &dict) +KCTimeInfo::fillCTimeDict(TQDict<Q_UINT32> &dict) { assert(m_str); m_str->device()->at(m_dictOffset); - QString path; + TQString path; Q_UINT32 ctime; while(true) { |