summaryrefslogtreecommitdiffstats
path: root/kworldwatch
diff options
context:
space:
mode:
Diffstat (limited to 'kworldwatch')
-rw-r--r--kworldwatch/cities.cpp4
-rw-r--r--kworldwatch/maploader.cpp4
-rw-r--r--kworldwatch/mapwidget.cpp4
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");