author | drw <drw> | 2002-11-17 00:12:31 (UTC) |
---|---|---|
committer | drw <drw> | 2002-11-17 00:12:31 (UTC) |
commit | d28c78c564f3c6ecad91506c50e2c80e66c1a718 (patch) (unidiff) | |
tree | 08d930e4872f78a4651dccd51d920dadfaaf7f39 /noncore/todayplugins/weather/weatherpluginwidget.h | |
parent | ec642ffea22af16a924288dc64fe6a46413e49af (diff) | |
download | opie-d28c78c564f3c6ecad91506c50e2c80e66c1a718.zip opie-d28c78c564f3c6ecad91506c50e2c80e66c1a718.tar.gz opie-d28c78c564f3c6ecad91506c50e2c80e66c1a718.tar.bz2 |
Use OProcess instead of popen/pclose and re-read config upon data re-fresh
Diffstat (limited to 'noncore/todayplugins/weather/weatherpluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/weather/weatherpluginwidget.h | 8 |
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 | |||
@@ -32,8 +32,7 @@ | |||
32 | #include <qstring.h> | 32 | #include <qstring.h> |
33 | #include <qwidget.h> | 33 | #include <qwidget.h> |
34 | 34 | ||
35 | #include <unistd.h> | 35 | class OProcess; |
36 | |||
37 | class QLabel; | 36 | class QLabel; |
38 | class QTimer; | 37 | class QTimer; |
39 | 38 | ||
@@ -56,7 +55,7 @@ class WeatherPluginWidget : public QWidget { | |||
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(); |
@@ -64,6 +63,9 @@ class WeatherPluginWidget : public QWidget { | |||
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 |