summaryrefslogtreecommitdiffstats
path: root/kweather/weatherservice.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /kweather/weatherservice.h
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-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/weatherservice.h')
-rw-r--r--kweather/weatherservice.h92
1 files changed, 46 insertions, 46 deletions
diff --git a/kweather/weatherservice.h b/kweather/weatherservice.h
index 1f3c781..6266087 100644
--- a/kweather/weatherservice.h
+++ b/kweather/weatherservice.h
@@ -22,14 +22,14 @@
#ifndef _WEATHER_SERVICE
#define _WEATHER_SERVICE
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <dcopobject.h>
-#include <qpixmap.h>
+#include <tqpixmap.h>
class WeatherLib;
class StationDatabase;
-class WeatherService : public QObject, public DCOPObject
+class WeatherService : public TQObject, public DCOPObject
{
Q_OBJECT
K_DCOP
@@ -38,56 +38,56 @@ class WeatherService : public QObject, public DCOPObject
WeatherLib *m_weatherLib;
private slots:
- void updated(const QString &stationID);
- void updating(const QString &stationID);
- void slotStationRemoved(const QString &stationID);
+ void updated(const TQString &stationID);
+ void updating(const TQString &stationID);
+ void slotStationRemoved(const TQString &stationID);
public:
- WeatherService(QObject *parent, const char *name);
+ WeatherService(TQObject *parent, const char *name);
~WeatherService();
k_dcop_signals:
- void fileUpdating(QString);
- void fileUpdate(QString);
- void stationRemoved(QString);
+ void fileUpdating(TQString);
+ void fileUpdate(TQString);
+ void stationRemoved(TQString);
k_dcop:
- QString temperature(const QString &stationID);
- QString dewPoint(const QString &stationID);
- QString relativeHumidity(const QString &stationID);
- QString heatIndex(const QString &stationID);
- QString windChill(const QString &stationID);
- QString wind(const QString &stationID);
- QString pressure(const QString &stationID);
- QPixmap currentIcon(const QString &stationID);
- QPixmap icon(const QString &stationID);
- QString currentIconString(const QString &stationID);
- QString iconFileName(const QString &stationID);
- QString date(const QString &stationID);
- QString visibility(const QString &stationID);
- QStringList cover(const QString &stationID);
- QStringList weather(const QString &stationID);
- bool stationNeedsMaintenance(const QString &stationID);
-
- QString stationName(const QString &stationID);
- QString stationCountry(const QString &stationID);
- QString longitude(const QString &stationID);
- QString latitude(const QString &stationID);
-
- QStringList findStations(float lon, float lat);
-
- QString sunRiseTime(const QString &stationID);
- QString sunSetTime(const QString &stationID);
- QString civilTwilightStart(const QString &stationID);
- QString civilTwilightEnd(const QString &stationID);
-
- void update(const QString &stationID);
+ TQString temperature(const TQString &stationID);
+ TQString dewPoint(const TQString &stationID);
+ TQString relativeHumidity(const TQString &stationID);
+ TQString heatIndex(const TQString &stationID);
+ TQString windChill(const TQString &stationID);
+ TQString wind(const TQString &stationID);
+ TQString pressure(const TQString &stationID);
+ TQPixmap currentIcon(const TQString &stationID);
+ TQPixmap icon(const TQString &stationID);
+ TQString currentIconString(const TQString &stationID);
+ TQString iconFileName(const TQString &stationID);
+ TQString date(const TQString &stationID);
+ TQString visibility(const TQString &stationID);
+ TQStringList cover(const TQString &stationID);
+ TQStringList weather(const TQString &stationID);
+ bool stationNeedsMaintenance(const TQString &stationID);
+
+ TQString stationName(const TQString &stationID);
+ TQString stationCountry(const TQString &stationID);
+ TQString longitude(const TQString &stationID);
+ TQString latitude(const TQString &stationID);
+
+ TQStringList findStations(float lon, float lat);
+
+ TQString sunRiseTime(const TQString &stationID);
+ TQString sunSetTime(const TQString &stationID);
+ TQString civilTwilightStart(const TQString &stationID);
+ TQString civilTwilightEnd(const TQString &stationID);
+
+ void update(const TQString &stationID);
void updateAll();
- void forceUpdate(const QString &stationID);
- void removeStation(const QString &stationID);
- void addStation(const QString &stationID);
- QStringList listStations();
- QString stationCode( const QString &stationName );
+ void forceUpdate(const TQString &stationID);
+ void removeStation(const TQString &stationID);
+ void addStation(const TQString &stationID);
+ TQStringList listStations();
+ TQString stationCode( const TQString &stationName );
void exit();
@@ -101,7 +101,7 @@ class WeatherService : public QObject, public DCOPObject
};
void saveSettings();
- QString getTime(const QString &stationID, TimeType timeType);
+ TQString getTime(const TQString &stationID, TimeType timeType);
StationDatabase *stationDB;
};
#endif