summaryrefslogtreecommitdiffstats
path: root/kweather/stationdatabase.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 /kweather/stationdatabase.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 'kweather/stationdatabase.cpp')
-rw-r--r--kweather/stationdatabase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kweather/stationdatabase.cpp b/kweather/stationdatabase.cpp
index a30a1f2..0e2caac 100644
--- a/kweather/stationdatabase.cpp
+++ b/kweather/stationdatabase.cpp
@@ -76,7 +76,7 @@ TQString StationDatabase::stationNameFromID( const TQString & stationID )
{
TQString result;
- if ( theDB.tqfind( stationID ) == theDB.end() )
+ if ( theDB.find( stationID ) == theDB.end() )
{
if ( loadStation( stationID ) )
result = theDB[ stationID ].cityName;
@@ -98,7 +98,7 @@ TQString StationDatabase::stationLongitudeFromID( const TQString & stationID )
{
TQString result;
- if ( theDB.tqfind( stationID ) == theDB.end() )
+ if ( theDB.find( stationID ) == theDB.end() )
{
if ( loadStation( stationID ) )
result = theDB[ stationID ].longitude;
@@ -120,7 +120,7 @@ TQString StationDatabase::stationLatitudeFromID( const TQString & stationID )
{
TQString result;
- if ( theDB.tqfind( stationID ) == theDB.end() )
+ if ( theDB.find( stationID ) == theDB.end() )
{
if ( loadStation( stationID ) )
result = theDB[ stationID ].latitude;
@@ -142,7 +142,7 @@ TQString StationDatabase::stationCountryFromID( const TQString &stationID )
{
TQString result;
- if ( theDB.tqfind( stationID ) == theDB.end() )
+ if ( theDB.find( stationID ) == theDB.end() )
{
if ( loadStation( stationID ) )
result = theDB[ stationID ].country;