diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | d8762de95349dc6edaa34db9bf699b367c1af6b1 (patch) | |
tree | 8c76a6ab8e4e92d13196cb11ddab2d0fb64ec680 /kgeography/src/map.cpp | |
parent | 03458c4e2ca2e92deafe078d0e09e1acd4c4765f (diff) | |
download | tdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.tar.gz tdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgeography/src/map.cpp')
-rw-r--r-- | kgeography/src/map.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kgeography/src/map.cpp b/kgeography/src/map.cpp index 57d79e9b..0ab2b85b 100644 --- a/kgeography/src/map.cpp +++ b/kgeography/src/map.cpp @@ -39,8 +39,8 @@ KGmap::~KGmap() bool KGmap::addDivision(division *c) { bool b; - if (p_nameMap.tqfind(c -> getName()) == p_nameMap.end() && - p_colorMap.tqfind(c -> getRGB()) == p_colorMap.end()) + if (p_nameMap.find(c -> getName()) == p_nameMap.end() && + p_colorMap.find(c -> getRGB()) == p_colorMap.end()) { p_colorMap.insert(c -> getRGB(), c); p_nameMap.insert(c -> getName(), c); @@ -129,7 +129,7 @@ TQString KGmap::getWhatIs(TQRgb c, bool all) const { // this is only asked from mapasker.cpp hence the true in canAsk TQMap<TQRgb, division*>::const_iterator it; - it = p_colorMap.tqfind(c); + it = p_colorMap.find(c); if (it == p_colorMap.end()) return "nothing"; else { |