summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/weather/weatherpluginwidget.h
Unidiff
Diffstat (limited to 'noncore/todayplugins/weather/weatherpluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/weather/weatherpluginwidget.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/todayplugins/weather/weatherpluginwidget.h b/noncore/todayplugins/weather/weatherpluginwidget.h
index 2c0238d..d2bbd8b 100644
--- a/noncore/todayplugins/weather/weatherpluginwidget.h
+++ b/noncore/todayplugins/weather/weatherpluginwidget.h
@@ -29,14 +29,13 @@
29#ifndef WEATHER_PLUGIN_WIDGET_H 29#ifndef WEATHER_PLUGIN_WIDGET_H
30#define WEATHER_PLUGIN_WIDGET_H 30#define WEATHER_PLUGIN_WIDGET_H
31 31
32#include <qstring.h> 32#include <qstring.h>
33#include <qwidget.h> 33#include <qwidget.h>
34 34
35#include <unistd.h> 35class OProcess;
36
37class QLabel; 36class QLabel;
38class QTimer; 37class QTimer;
39 38
40class WeatherPluginWidget : public QWidget { 39class WeatherPluginWidget : public QWidget {
41 40
42 Q_OBJECT 41 Q_OBJECT
@@ -53,17 +52,20 @@ class WeatherPluginWidget : public QWidget {
53 QString dataStr; 52 QString dataStr;
54 bool useMetric; 53 bool useMetric;
55 int frequency; 54 int frequency;
56 55
57 QLabel *weatherLabel; 56 QLabel *weatherLabel;
58 QLabel *weatherIcon; 57 QLabel *weatherIcon;
59 58
60 void timerEvent( QTimerEvent * ); 59 void timerEvent( QTimerEvent * );
61 void retreiveData(); 60 void retreiveData();
62 void displayWeather(); 61 void displayWeather();
63 void getTemp( const QString & ); 62 void getTemp( const QString & );
64 void getWind( const QString & ); 63 void getWind( const QString & );
65 void getPressure( const QString & ); 64 void getPressure( const QString & );
66 void getIcon( const QString & ); 65 void getIcon( const QString & );
66
67 private slots:
68 void dataRetrieved( OProcess * );
67}; 69};
68 70
69#endif 71#endif