diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 21:31:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 21:31:21 +0000 |
commit | a1bd60b34891ccc77056c190d7871bc4b14fe654 (patch) | |
tree | 713f2f72c8f08a18df12f5bbeef7f9b61b19d4f1 /kworldwatch/cities.cpp | |
parent | 8d92c3c2a4131996726cc7b625d3cd3caec296de (diff) | |
download | tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.tar.gz tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.zip |
TQt4 port kdetoys
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1238103 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kworldwatch/cities.cpp')
-rw-r--r-- | kworldwatch/cities.cpp | 6 |
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) |