summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/weather/weatherpluginwidget.h
Side-by-side diff
Diffstat (limited to 'noncore/todayplugins/weather/weatherpluginwidget.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/todayplugins/weather/weatherpluginwidget.h6
1 files changed, 4 insertions, 2 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
@@ -23,26 +23,25 @@
    --        :-=` Free Software Foundation, Inc.,
59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef WEATHER_PLUGIN_WIDGET_H
#define WEATHER_PLUGIN_WIDGET_H
#include <qstring.h>
#include <qwidget.h>
-#include <unistd.h>
-
+class OProcess;
class QLabel;
class QTimer;
class WeatherPluginWidget : public QWidget {
Q_OBJECT
public:
WeatherPluginWidget( QWidget *parent, const char *name );
~WeatherPluginWidget();
private:
@@ -55,15 +54,18 @@ class WeatherPluginWidget : public QWidget {
int frequency;
QLabel *weatherLabel;
QLabel *weatherIcon;
void timerEvent( QTimerEvent * );
void retreiveData();
void displayWeather();
void getTemp( const QString & );
void getWind( const QString & );
void getPressure( const QString & );
void getIcon( const QString & );
+
+ private slots:
+ void dataRetrieved( OProcess * );
};
#endif