summaryrefslogtreecommitdiffstats
path: root/kworldwatch/mapwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit1d14c95a7737078a695e99442628f450354c00ff (patch)
treef8a566f01e7edd9974aa10a7af636296cabcb933 /kworldwatch/mapwidget.cpp
parent6537a93fb5bfe88e6a3e418f7445dd1202672f1d (diff)
downloadtdetoys-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/mapwidget.cpp')
-rw-r--r--kworldwatch/mapwidget.cpp4
1 files changed, 2 insertions, 2 deletions
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");