author | zecke <zecke> | 2004-03-14 15:12:59 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 15:12:59 (UTC) |
commit | a104a921518d4427bf3dc9edd2c968133420607c (patch) (side-by-side diff) | |
tree | 005a054e766250891039f9adf4bacf3d6f0486f0 /noncore/todayplugins/weather/weatherpluginwidget.cpp | |
parent | 8a243adc61fc9c8a48fa9061f0eba12c7b345d70 (diff) | |
download | opie-a104a921518d4427bf3dc9edd2c968133420607c.zip opie-a104a921518d4427bf3dc9edd2c968133420607c.tar.gz opie-a104a921518d4427bf3dc9edd2c968133420607c.tar.bz2 |
ODP changes
Diffstat (limited to 'noncore/todayplugins/weather/weatherpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/weather/weatherpluginwidget.cpp | 3 |
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 @@ -31,24 +31,25 @@ #include <qlabel.h> #include <qlayout.h> #include <qpixmap.h> #include <qtextstream.h> #include <opie2/oprocess.h> #include <qpe/config.h> #include <qpe/resource.h> #include "weatherpluginwidget.h" +using namespace Opie::Core; WeatherPluginWidget::WeatherPluginWidget( QWidget *parent, const char* name ) : QWidget( parent, name ) { QHBoxLayout *layout = new QHBoxLayout( this ); layout->setAutoAdd( TRUE ); layout->setSpacing( 2 ); weatherIcon = new QLabel( this ); weatherIcon->setMaximumWidth( 32 ); QImage logo1 = Resource::loadImage( "Clock" ); QPixmap pic; pic.convertFromImage( logo1 ); @@ -96,25 +97,25 @@ void WeatherPluginWidget::retreiveData() remoteFile.append( location ); remoteFile.append( ".TXT" ); QFile file( localFile ); if ( file.exists() ) { file.remove(); } OProcess *proc = new OProcess; *proc << "wget" << "-q" << remoteFile << "-O" << localFile; - connect( proc, SIGNAL( processExited(OProcess*) ), this, SLOT( dataRetrieved(OProcess*) ) ); + connect( proc, SIGNAL( processExited(Opie::Core::OProcess*) ), this, SLOT( dataRetrieved(Opie::Core::OProcess*) ) ); proc->start(); } void WeatherPluginWidget::displayWeather() { weatherData = QString::null; QFile file( localFile ); if ( file.size() > 0 && file.open( IO_ReadOnly ) ) { QTextStream data( &file ); |