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 /kdecore/ksycocafactory.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 'kdecore/ksycocafactory.cpp')
-rw-r--r-- | kdecore/ksycocafactory.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdecore/ksycocafactory.cpp b/kdecore/ksycocafactory.cpp index c224ebe79..e5816dc23 100644 --- a/kdecore/ksycocafactory.cpp +++ b/kdecore/ksycocafactory.cpp @@ -38,7 +38,7 @@ KSycocaFactory::KSycocaFactory(KSycocaFactoryId factory_id) if (m_str) // Can be 0 in case of errors { // Read position of index tables.... - TQ_INT32 i; + Q_INT32 i; (*m_str) >> i; m_sycocaDictOffset = i; (*m_str) >> i; @@ -79,9 +79,9 @@ KSycocaFactory::saveHeader(TQDataStream &str) { // Write header str.device()->at(mOffset); - str << (TQ_INT32) m_sycocaDictOffset; - str << (TQ_INT32) m_beginEntryOffset; - str << (TQ_INT32) m_endEntryOffset; + str << (Q_INT32) m_sycocaDictOffset; + str << (Q_INT32) m_beginEntryOffset; + str << (Q_INT32) m_endEntryOffset; } void @@ -114,13 +114,13 @@ KSycocaFactory::save(TQDataStream &str) // Write indices... // Linear index - str << (TQ_INT32) entryCount; + str << (Q_INT32) entryCount; for(TQDictIterator<KSycocaEntry::Ptr> it ( *m_entryDict ); it.current(); ++it) { KSycocaEntry *entry = (*it.current()); - str << (TQ_INT32) entry->offset(); + str << (Q_INT32) entry->offset(); } // Dictionary index @@ -170,7 +170,7 @@ KSycocaEntry::List KSycocaFactory::allEntries() // Assume we're NOT building a database m_str->device()->at(m_endEntryOffset); - TQ_INT32 entryCount; + Q_INT32 entryCount; (*m_str) >> entryCount; if (entryCount > 8192) @@ -179,7 +179,7 @@ KSycocaEntry::List KSycocaFactory::allEntries() return list; } - TQ_INT32 *offsetList = new TQ_INT32[entryCount]; + Q_INT32 *offsetList = new Q_INT32[entryCount]; for(int i = 0; i < entryCount; i++) { (*m_str) >> offsetList[i]; |