diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
commit | cfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch) | |
tree | e3219edf5f827eaa4db3feb509a17846a1a5a752 /kweather/stationdatabase.h | |
parent | a73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff) | |
download | tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kweather/stationdatabase.h')
-rw-r--r-- | kweather/stationdatabase.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kweather/stationdatabase.h b/kweather/stationdatabase.h index 1e020a9..f1fabe8 100644 --- a/kweather/stationdatabase.h +++ b/kweather/stationdatabase.h @@ -13,8 +13,8 @@ #ifndef STATIONDATABASE_H #define STATIONDATABASE_H -#include <qmap.h> -#include <qstring.h> +#include <tqmap.h> +#include <tqstring.h> #include <klocale.h> #include <kstandarddirs.h> @@ -30,25 +30,25 @@ class StationInfo; class StationDatabase { public: - StationDatabase(const QString path = locate("data", "kweatherservice/stations.dat")); + StationDatabase(const TQString path = locate("data", "kweatherservice/stations.dat")); ~StationDatabase(); - QString stationNameFromID(const QString& id); + TQString stationNameFromID(const TQString& id); - QString stationLongitudeFromID( const QString &stationID); + TQString stationLongitudeFromID( const TQString &stationID); - QString stationLatitudeFromID(const QString &stationID); + TQString stationLatitudeFromID(const TQString &stationID); - QString stationCountryFromID( const QString &stationID); + TQString stationCountryFromID( const TQString &stationID); - QString stationIDfromName( const QString &name ); + TQString stationIDfromName( const TQString &name ); private: - QMap<QString, StationInfo> theDB; + TQMap<TQString, StationInfo> theDB; - bool loadStation( const QString & stationID ); + bool loadStation( const TQString & stationID ); - const QString mPath; + const TQString mPath; }; #endif |