summaryrefslogtreecommitdiffstats
path: root/kworldwatch/cities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kworldwatch/cities.cpp')
-rw-r--r--kworldwatch/cities.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kworldwatch/cities.cpp b/kworldwatch/cities.cpp
index f723e97..a938ab6 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.find("+", 1);
+ pos = c.tqfind("+", 1);
if (pos < 0)
- pos = c.find("-", 1);
+ pos = c.tqfind("-", 1);
if (pos > 0)
{
la = coordinate(c.left(pos));
@@ -157,7 +157,7 @@ TQPoint CityList::getPosition(double la, double lo, int w, int h, int offset)
void CityList::paint(TQPainter *p, int width, int height, int offset)
{
- p->setPen(Qt::black);
+ p->setPen(TQt::black);
TQPtrListIterator<City> it(_cities);
for ( ; it.current(); ++it)