summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/weather/weatherpluginwidget.cpp
authordrw <drw>2004-03-02 16:05:29 (UTC)
committer drw <drw>2004-03-02 16:05:29 (UTC)
commit49bee7ab52b819a07e9b6de4576eda467d632a66 (patch) (unidiff)
tree47ecafeed72340c945e88010aaff0d21a6a34964 /noncore/todayplugins/weather/weatherpluginwidget.cpp
parent31f776618b8615074b56dd2d3cdda3002fde671d (diff)
downloadopie-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.cpp6
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 @@
33#include <qpixmap.h> 33#include <qpixmap.h>
34#include <qtextstream.h> 34#include <qtextstream.h>
35 35
36#include <opie/oprocess.h> 36#include <opie2/oprocess.h>
37 37
38#include <qpe/config.h> 38#include <qpe/config.h>
39#include <qpe/resource.h> 39#include <qpe/resource.h>
@@ -85,7 +85,7 @@ void WeatherPluginWidget::retreiveData()
85 location = config.readEntry( "Location", "" ); 85 location = config.readEntry( "Location", "" );
86 useMetric = config.readBoolEntry( "Metric", TRUE ); 86 useMetric = config.readBoolEntry( "Metric", TRUE );
87 frequency = config.readNumEntry( "Frequency", 5 ); 87 frequency = config.readNumEntry( "Frequency", 5 );
88 88
89 startTimer( frequency * 60000 ); 89 startTimer( frequency * 60000 );
90 90
91 localFile = "/tmp/"; 91 localFile = "/tmp/";
@@ -114,7 +114,7 @@ void WeatherPluginWidget::displayWeather()
114 weatherData = QString::null; 114 weatherData = QString::null;
115 115
116 QFile file( localFile ); 116 QFile file( localFile );
117 117
118 if ( file.size() > 0 && file.open( IO_ReadOnly ) ) 118 if ( file.size() > 0 && file.open( IO_ReadOnly ) )
119 { 119 {
120 QTextStream data( &file ); 120 QTextStream data( &file );