diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 1d14c95a7737078a695e99442628f450354c00ff (patch) | |
tree | f8a566f01e7edd9974aa10a7af636296cabcb933 /kweather/sun.cpp | |
parent | 6537a93fb5bfe88e6a3e418f7445dd1202672f1d (diff) | |
download | tdetoys-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/sun.cpp')
-rw-r--r-- | kweather/sun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kweather/sun.cpp b/kweather/sun.cpp index 50b89f0..43809cb 100644 --- a/kweather/sun.cpp +++ b/kweather/sun.cpp @@ -176,7 +176,7 @@ static double latitudeToDouble( const TQString &latitude ) result = dd + (mm / 60); - if (latitude.tqcontains("S")) + if (latitude.contains("S")) result *= -1; return result; @@ -192,7 +192,7 @@ static double longitudeToDouble( const TQString &longitude ) result = ddd + (mm / 60); - if (longitude.tqcontains("W")) + if (longitude.contains("W")) result *= -1; return result; |