diff options
Diffstat (limited to 'kdecore/kconfig.cpp')
-rw-r--r-- | kdecore/kconfig.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/kconfig.cpp b/kdecore/kconfig.cpp index e40f23a19..2531034ee 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.tqfind(groupKey); + KEntryMapConstIterator aIt = aEntryMap.find(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.tqfind(aKey); + aIt = aEntryMap.find(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.tqfind(_key); + KEntryMapConstIterator aIt = aEntryMap.find(_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.tqfind(groupKey); + KEntryMapConstIterator aIt = aEntryMap.find(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.tqcontains(cfg_id)) + if (!ids.contains(cfg_id)) { TQStringList args; args << "--check" << updateFile; |