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 | 1d14c95a7737078a695e99442628f450354c00ff (patch) | |
tree | f8a566f01e7edd9974aa10a7af636296cabcb933 /kworldwatch | |
parent | 6537a93fb5bfe88e6a3e418f7445dd1202672f1d (diff) | |
download | tdetoys-1d14c95a7737078a695e99442628f450354c00ff.tar.gz tdetoys-1d14c95a7737078a695e99442628f450354c00ff.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kworldwatch')
-rw-r--r-- | kworldwatch/cities.cpp | 4 | ||||
-rw-r--r-- | kworldwatch/maploader.cpp | 4 | ||||
-rw-r--r-- | kworldwatch/mapwidget.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kworldwatch/cities.cpp b/kworldwatch/cities.cpp index a938ab6..6626beb 100644 --- a/kworldwatch/cities.cpp +++ b/kworldwatch/cities.cpp @@ -128,9 +128,9 @@ void CityList::readCityList(const TQString &fname) if (!c.isEmpty() && !n.isEmpty()) { double la, lo; - pos = c.tqfind("+", 1); + pos = c.find("+", 1); if (pos < 0) - pos = c.tqfind("-", 1); + pos = c.find("-", 1); if (pos > 0) { la = coordinate(c.left(pos)); diff --git a/kworldwatch/maploader.cpp b/kworldwatch/maploader.cpp index 8e1e830..62fc49a 100644 --- a/kworldwatch/maploader.cpp +++ b/kworldwatch/maploader.cpp @@ -75,10 +75,10 @@ void MapLoader::load(unsigned int width, const TQString &theme, unsigned int hei for (uint i=0; i<files.count(); ++i) { TQString f = files[i]; - int pos = f.tqfindRev("/"); + int pos = f.findRev("/"); if (pos >= 0) f = f.mid(pos+1); - pos = f.tqfindRev("."); + pos = f.findRev("."); if (pos >= 0) f = f.left(pos); sizes.append(f.toInt()); diff --git a/kworldwatch/mapwidget.cpp b/kworldwatch/mapwidget.cpp index ef359aa..88f63e5 100644 --- a/kworldwatch/mapwidget.cpp +++ b/kworldwatch/mapwidget.cpp @@ -353,10 +353,10 @@ void MapWidget::timeout() TQString MapWidget::cityTime(const TQString &city) { TQString result = i18n(city.latin1()); // Time zone translation - int pos = result.tqfind("/"); + int pos = result.find("/"); if (pos >= 0) result = result.mid(pos+1); - result.tqreplace(TQRegExp("_"), " "); + result.replace(TQRegExp("_"), " "); result.append(": "); char *initial_TZ = getenv("TZ"); |