summaryrefslogtreecommitdiffstats
path: root/kdecore/kconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
commitf7e71d47719ab6094cf4a9fafffa5ea351973522 (patch)
tree30834aa632d442019e14f88685001d94657d060b /kdecore/kconfig.cpp
parentb31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff)
downloadtdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz
tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kconfig.cpp')
-rw-r--r--kdecore/kconfig.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/kconfig.cpp b/kdecore/kconfig.cpp
index 2531034ee..e40f23a19 100644
--- a/kdecore/kconfig.cpp
+++ b/kdecore/kconfig.cpp
@@ -144,7 +144,7 @@ TQMap<TQString, TQString> KConfig::entryMap(const TQString &pGroup) const
KEntryKey groupKey( pGroup_utf, 0 );
TQMap<TQString, TQString> tmpMap;
- KEntryMapConstIterator aIt = aEntryMap.find(groupKey);
+ KEntryMapConstIterator aIt = aEntryMap.tqfind(groupKey);
if (aIt == aEntryMap.end())
return tmpMap;
++aIt; // advance past special group entry marker
@@ -183,7 +183,7 @@ KEntryMap KConfig::internalEntryMap(const TQString &pGroup) const
KEntryKey aKey(pGroup_utf, 0);
KEntryMap tmpEntryMap;
- aIt = aEntryMap.find(aKey);
+ aIt = aEntryMap.tqfind(aKey);
if (aIt == aEntryMap.end()) {
// the special group key is not in the map,
// so it must be an invalid group. Return
@@ -237,7 +237,7 @@ void KConfig::putData(const KEntryKey &_key, const KEntry &_data, bool _checkGro
KEntry KConfig::lookupData(const KEntryKey &_key) const
{
- KEntryMapConstIterator aIt = aEntryMap.find(_key);
+ KEntryMapConstIterator aIt = aEntryMap.tqfind(_key);
if (aIt != aEntryMap.end())
{
const KEntry &entry = *aIt;
@@ -255,7 +255,7 @@ bool KConfig::internalHasGroup(const TQCString &group) const
{
KEntryKey groupKey( group, 0);
- KEntryMapConstIterator aIt = aEntryMap.find(groupKey);
+ KEntryMapConstIterator aIt = aEntryMap.tqfind(groupKey);
KEntryMapConstIterator aEnd = aEntryMap.end();
if (aIt == aEnd)
@@ -290,7 +290,7 @@ void KConfig::checkUpdate(const TQString &id, const TQString &updateFile)
setGroup("$Version");
TQString cfg_id = updateFile+":"+id;
TQStringList ids = readListEntry("update_info");
- if (!ids.contains(cfg_id))
+ if (!ids.tqcontains(cfg_id))
{
TQStringList args;
args << "--check" << updateFile;