summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/weather/weatherpluginwidget.cpp
Unidiff
Diffstat (limited to 'noncore/todayplugins/weather/weatherpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/weather/weatherpluginwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/todayplugins/weather/weatherpluginwidget.cpp b/noncore/todayplugins/weather/weatherpluginwidget.cpp
index ad99a43..8e00c36 100644
--- a/noncore/todayplugins/weather/weatherpluginwidget.cpp
+++ b/noncore/todayplugins/weather/weatherpluginwidget.cpp
@@ -37,12 +37,13 @@
37 37
38#include <qpe/config.h> 38#include <qpe/config.h>
39#include <qpe/resource.h> 39#include <qpe/resource.h>
40 40
41#include "weatherpluginwidget.h" 41#include "weatherpluginwidget.h"
42 42
43using namespace Opie::Core;
43WeatherPluginWidget::WeatherPluginWidget( QWidget *parent, const char* name ) 44WeatherPluginWidget::WeatherPluginWidget( QWidget *parent, const char* name )
44 : QWidget( parent, name ) 45 : QWidget( parent, name )
45{ 46{
46 QHBoxLayout *layout = new QHBoxLayout( this ); 47 QHBoxLayout *layout = new QHBoxLayout( this );
47 layout->setAutoAdd( TRUE ); 48 layout->setAutoAdd( TRUE );
48 layout->setSpacing( 2 ); 49 layout->setSpacing( 2 );
@@ -102,13 +103,13 @@ void WeatherPluginWidget::retreiveData()
102 file.remove(); 103 file.remove();
103 } 104 }
104 105
105 OProcess *proc = new OProcess; 106 OProcess *proc = new OProcess;
106 107
107 *proc << "wget" << "-q" << remoteFile << "-O" << localFile; 108 *proc << "wget" << "-q" << remoteFile << "-O" << localFile;
108 connect( proc, SIGNAL( processExited(OProcess*) ), this, SLOT( dataRetrieved(OProcess*) ) ); 109 connect( proc, SIGNAL( processExited(Opie::Core::OProcess*) ), this, SLOT( dataRetrieved(Opie::Core::OProcess*) ) );
109 proc->start(); 110 proc->start();
110} 111}
111 112
112void WeatherPluginWidget::displayWeather() 113void WeatherPluginWidget::displayWeather()
113{ 114{
114 weatherData = QString::null; 115 weatherData = QString::null;