From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/ksycocafactory.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kdecore/ksycocafactory.cpp') diff --git a/kdecore/ksycocafactory.cpp b/kdecore/ksycocafactory.cpp index e5816dc23..c224ebe79 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.... - Q_INT32 i; + TQ_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 << (Q_INT32) m_sycocaDictOffset; - str << (Q_INT32) m_beginEntryOffset; - str << (Q_INT32) m_endEntryOffset; + str << (TQ_INT32) m_sycocaDictOffset; + str << (TQ_INT32) m_beginEntryOffset; + str << (TQ_INT32) m_endEntryOffset; } void @@ -114,13 +114,13 @@ KSycocaFactory::save(TQDataStream &str) // Write indices... // Linear index - str << (Q_INT32) entryCount; + str << (TQ_INT32) entryCount; for(TQDictIterator it ( *m_entryDict ); it.current(); ++it) { KSycocaEntry *entry = (*it.current()); - str << (Q_INT32) entry->offset(); + str << (TQ_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); - Q_INT32 entryCount; + TQ_INT32 entryCount; (*m_str) >> entryCount; if (entryCount > 8192) @@ -179,7 +179,7 @@ KSycocaEntry::List KSycocaFactory::allEntries() return list; } - Q_INT32 *offsetList = new Q_INT32[entryCount]; + TQ_INT32 *offsetList = new TQ_INT32[entryCount]; for(int i = 0; i < entryCount; i++) { (*m_str) >> offsetList[i]; -- cgit v1.2.1