From 1d14c95a7737078a695e99442628f450354c00ff Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kworldwatch/cities.cpp | 4 ++-- kworldwatch/maploader.cpp | 4 ++-- kworldwatch/mapwidget.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kworldwatch') 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= 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"); -- cgit v1.2.1