From a1bd60b34891ccc77056c190d7871bc4b14fe654 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 21:31:21 +0000 Subject: 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 --- kweather/stationdatabase.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kweather/stationdatabase.cpp') diff --git a/kweather/stationdatabase.cpp b/kweather/stationdatabase.cpp index 0e2caac..a30a1f2 100644 --- a/kweather/stationdatabase.cpp +++ b/kweather/stationdatabase.cpp @@ -76,7 +76,7 @@ TQString StationDatabase::stationNameFromID( const TQString & stationID ) { TQString result; - if ( theDB.find( stationID ) == theDB.end() ) + if ( theDB.tqfind( stationID ) == theDB.end() ) { if ( loadStation( stationID ) ) result = theDB[ stationID ].cityName; @@ -98,7 +98,7 @@ TQString StationDatabase::stationLongitudeFromID( const TQString & stationID ) { TQString result; - if ( theDB.find( stationID ) == theDB.end() ) + if ( theDB.tqfind( stationID ) == theDB.end() ) { if ( loadStation( stationID ) ) result = theDB[ stationID ].longitude; @@ -120,7 +120,7 @@ TQString StationDatabase::stationLatitudeFromID( const TQString & stationID ) { TQString result; - if ( theDB.find( stationID ) == theDB.end() ) + if ( theDB.tqfind( stationID ) == theDB.end() ) { if ( loadStation( stationID ) ) result = theDB[ stationID ].latitude; @@ -142,7 +142,7 @@ TQString StationDatabase::stationCountryFromID( const TQString &stationID ) { TQString result; - if ( theDB.find( stationID ) == theDB.end() ) + if ( theDB.tqfind( stationID ) == theDB.end() ) { if ( loadStation( stationID ) ) result = theDB[ stationID ].country; -- cgit v1.2.1