Diffstat (limited to 'noncore/todayplugins/weather/weatherpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/weather/weatherpluginwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/todayplugins/weather/weatherpluginwidget.cpp b/noncore/todayplugins/weather/weatherpluginwidget.cpp index 15d1c6e..ad99a43 100644 --- a/noncore/todayplugins/weather/weatherpluginwidget.cpp +++ b/noncore/todayplugins/weather/weatherpluginwidget.cpp @@ -32,9 +32,9 @@ #include <qlayout.h> #include <qpixmap.h> #include <qtextstream.h> -#include <opie/oprocess.h> +#include <opie2/oprocess.h> #include <qpe/config.h> #include <qpe/resource.h> @@ -84,9 +84,9 @@ void WeatherPluginWidget::retreiveData() location = config.readEntry( "Location", "" ); useMetric = config.readBoolEntry( "Metric", TRUE ); frequency = config.readNumEntry( "Frequency", 5 ); - + startTimer( frequency * 60000 ); localFile = "/tmp/"; localFile.append( location ); @@ -113,9 +113,9 @@ void WeatherPluginWidget::displayWeather() { weatherData = QString::null; QFile file( localFile ); - + if ( file.size() > 0 && file.open( IO_ReadOnly ) ) { QTextStream data( &file ); while ( !data.eof() ) |