author | drw <drw> | 2004-03-02 16:05:29 (UTC) |
---|---|---|
committer | drw <drw> | 2004-03-02 16:05:29 (UTC) |
commit | 49bee7ab52b819a07e9b6de4576eda467d632a66 (patch) (side-by-side diff) | |
tree | 47ecafeed72340c945e88010aaff0d21a6a34964 /noncore/todayplugins/weather/weatherpluginwidget.cpp | |
parent | 31f776618b8615074b56dd2d3cdda3002fde671d (diff) | |
download | opie-49bee7ab52b819a07e9b6de4576eda467d632a66.zip opie-49bee7ab52b819a07e9b6de4576eda467d632a66.tar.gz opie-49bee7ab52b819a07e9b6de4576eda467d632a66.tar.bz2 |
Today weather plugin: libopie -> libopie2
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 @@ -33,7 +33,7 @@ #include <qpixmap.h> #include <qtextstream.h> -#include <opie/oprocess.h> +#include <opie2/oprocess.h> #include <qpe/config.h> #include <qpe/resource.h> @@ -85,7 +85,7 @@ void WeatherPluginWidget::retreiveData() location = config.readEntry( "Location", "" ); useMetric = config.readBoolEntry( "Metric", TRUE ); frequency = config.readNumEntry( "Frequency", 5 ); - + startTimer( frequency * 60000 ); localFile = "/tmp/"; @@ -114,7 +114,7 @@ void WeatherPluginWidget::displayWeather() weatherData = QString::null; QFile file( localFile ); - + if ( file.size() > 0 && file.open( IO_ReadOnly ) ) { QTextStream data( &file ); |