summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/weather/config.in2
-rw-r--r--noncore/todayplugins/weather/opie-today-weatherplugin.control2
-rw-r--r--noncore/todayplugins/weather/weather.pro2
-rw-r--r--noncore/todayplugins/weather/weatherconfig.cpp13
-rw-r--r--noncore/todayplugins/weather/weatherconfig.h2
-rw-r--r--noncore/todayplugins/weather/weatherplugin.h6
-rw-r--r--noncore/todayplugins/weather/weatherpluginimpl.h2
-rw-r--r--noncore/todayplugins/weather/weatherpluginwidget.cpp6
8 files changed, 17 insertions, 18 deletions
diff --git a/noncore/todayplugins/weather/config.in b/noncore/todayplugins/weather/config.in
index 7202983..ae35a59 100644
--- a/noncore/todayplugins/weather/config.in
+++ b/noncore/todayplugins/weather/config.in
@@ -2,3 +2,3 @@
boolean "opie-today-weatherplugin (current weather report)"
default "y"
- depends (LIBQPE || LIBQPE-X11) && LIBOPIE
+ depends (LIBQPE || LIBQPE-X11) && LIBOPIE2CORE && LIBOPIE2PIM
diff --git a/noncore/todayplugins/weather/opie-today-weatherplugin.control b/noncore/todayplugins/weather/opie-today-weatherplugin.control
index 80b7d2b..7dbd315 100644
--- a/noncore/todayplugins/weather/opie-today-weatherplugin.control
+++ b/noncore/todayplugins/weather/opie-today-weatherplugin.control
@@ -5,5 +5,5 @@ Section: opie/applications
Maintainer: Dan Williams <drw@handhelds.org>
Architecture: arm
-Depends: libqte2, opie-today
+Depends: libqte2, libopiecore2, libopiepim2, opie-today
Description: Weather plugin for Today
Displays current weather conditions.
diff --git a/noncore/todayplugins/weather/weather.pro b/noncore/todayplugins/weather/weather.pro
index 5ad14e1..d1f8edd 100644
--- a/noncore/todayplugins/weather/weather.pro
+++ b/noncore/todayplugins/weather/weather.pro
@@ -18,5 +18,5 @@ DEPENDPATH += $(OPIEDIR)/include \
../ ../library
-LIBS+= -lqpe -lopie
+LIBS+= -lqpe -lopiecore2 -lopiepim2
DESTDIR = $(OPIEDIR)/plugins/today
diff --git a/noncore/todayplugins/weather/weatherconfig.cpp b/noncore/todayplugins/weather/weatherconfig.cpp
index 99ee2a0..4663549 100644
--- a/noncore/todayplugins/weather/weatherconfig.cpp
+++ b/noncore/todayplugins/weather/weatherconfig.cpp
@@ -27,5 +27,9 @@
*/
-#include <stdlib.h>
+#include "weatherconfig.h"
+
+#include <qpe/config.h>
+#include <qpe/qpeapplication.h>
+#include <qpe/resource.h>
#include <qcheckbox.h>
@@ -40,10 +44,5 @@
#include <qwhatsthis.h>
-#include <qpe/config.h>
-#include <qpe/qpeapplication.h>
-#include <qpe/resource.h>
-#include <opie/todayconfigwidget.h>
-
-#include "weatherconfig.h"
+#include <stdlib.h>
WeatherPluginConfig::WeatherPluginConfig( QWidget *parent, const char* name)
diff --git a/noncore/todayplugins/weather/weatherconfig.h b/noncore/todayplugins/weather/weatherconfig.h
index d9ffec2..1780c7f 100644
--- a/noncore/todayplugins/weather/weatherconfig.h
+++ b/noncore/todayplugins/weather/weatherconfig.h
@@ -33,5 +33,5 @@
#include <qwidget.h>
-#include <opie/todayconfigwidget.h>
+#include <opie2/todayconfigwidget.h>
class QCheckBox;
diff --git a/noncore/todayplugins/weather/weatherplugin.h b/noncore/todayplugins/weather/weatherplugin.h
index 480d220..73e7104 100644
--- a/noncore/todayplugins/weather/weatherplugin.h
+++ b/noncore/todayplugins/weather/weatherplugin.h
@@ -30,10 +30,10 @@
#define WEATHER_PLUGIN_H
+#include <opie2/todayplugininterface.h>
+#include <opie2/todayconfigwidget.h>
+
#include <qstring.h>
#include <qwidget.h>
-#include <opie/todayplugininterface.h>
-#include <opie/todayconfigwidget.h>
-
class WeatherPlugin : public TodayPluginObject
{
diff --git a/noncore/todayplugins/weather/weatherpluginimpl.h b/noncore/todayplugins/weather/weatherpluginimpl.h
index eaaae1d..d1a7400 100644
--- a/noncore/todayplugins/weather/weatherpluginimpl.h
+++ b/noncore/todayplugins/weather/weatherpluginimpl.h
@@ -30,5 +30,5 @@
#define WEATHER_PLUGIN_IMPL_H
-#include <opie/todayplugininterface.h>
+#include <opie2/todayplugininterface.h>
class WeatherPlugin;
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
@@ -34,5 +34,5 @@
#include <qtextstream.h>
-#include <opie/oprocess.h>
+#include <opie2/oprocess.h>
#include <qpe/config.h>
@@ -86,5 +86,5 @@ void WeatherPluginWidget::retreiveData()
useMetric = config.readBoolEntry( "Metric", TRUE );
frequency = config.readNumEntry( "Frequency", 5 );
-
+
startTimer( frequency * 60000 );
@@ -115,5 +115,5 @@ void WeatherPluginWidget::displayWeather()
QFile file( localFile );
-
+
if ( file.size() > 0 && file.open( IO_ReadOnly ) )
{