summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/weather/weatherpluginwidget.h
authordrw <drw>2002-11-17 00:12:31 (UTC)
committer drw <drw>2002-11-17 00:12:31 (UTC)
commitd28c78c564f3c6ecad91506c50e2c80e66c1a718 (patch) (side-by-side diff)
tree08d930e4872f78a4651dccd51d920dadfaaf7f39 /noncore/todayplugins/weather/weatherpluginwidget.h
parentec642ffea22af16a924288dc64fe6a46413e49af (diff)
downloadopie-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.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
@@ -32,8 +32,7 @@
#include <qstring.h>
#include <qwidget.h>
-#include <unistd.h>
-
+class OProcess;
class QLabel;
class QTimer;
@@ -56,7 +55,7 @@ class WeatherPluginWidget : public QWidget {
QLabel *weatherLabel;
QLabel *weatherIcon;
-
+
void timerEvent( QTimerEvent * );
void retreiveData();
void displayWeather();
@@ -64,6 +63,9 @@ class WeatherPluginWidget : public QWidget {
void getWind( const QString & );
void getPressure( const QString & );
void getIcon( const QString & );
+
+ private slots:
+ void dataRetrieved( OProcess * );
};
#endif