summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker
Side-by-side diff
Diffstat (limited to 'noncore/todayplugins/stockticker') (more/less context) (show whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stockticker/inputDialog.cpp18
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/config.in2
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro5
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp10
4 files changed, 18 insertions, 17 deletions
diff --git a/noncore/todayplugins/stockticker/stockticker/inputDialog.cpp b/noncore/todayplugins/stockticker/stockticker/inputDialog.cpp
index ce35256..ae219d7 100644
--- a/noncore/todayplugins/stockticker/stockticker/inputDialog.cpp
+++ b/noncore/todayplugins/stockticker/stockticker/inputDialog.cpp
@@ -1,3 +1,10 @@
#include "inputDialog.h"
+#include "helpwindow.h"
+
+/* OPIE */
+#include <opie2/odebug.h>
+#include <qpe/config.h>
+using namespace Opie::Core;
+/* QT */
#include <qapplication.h>
@@ -11,12 +18,7 @@
#include <qlayout.h>
-#include <qpe/config.h>
#include <qstringlist.h>
-using namespace Opie::Core;
-using namespace Opie::Core;
#include <qmainwindow.h>
-#include "helpwindow.h"
+/* STD */
#include <stdlib.h>
-// #include <sys/stat.h>
-// #include <unistd.h>
@@ -56,3 +58,3 @@ void InputDialog::doLookup() {
QString cmd = "wget -O "+tempHtml+" "+url;
- qDebug(cmd);
+ odebug << cmd << oendl;
@@ -78,3 +80,3 @@ void InputDialog::doLookup() {
void InputDialog::showBrowser(OProcess*) {
- qDebug("BLAH");
+ odebug << "BLAH" << oendl;
QString tempHtml = "/tmp/stockticker.html";
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/config.in b/noncore/todayplugins/stockticker/stocktickerlib/config.in
index 4d589f9..7dbe03a 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/config.in
+++ b/noncore/todayplugins/stockticker/stocktickerlib/config.in
@@ -3,2 +3,2 @@ config TODAY_STOCKTICKERLIB
default "y" if TODAY_STOCKTICKER
- depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2UI && LIBOPIE2PIM && TODAY
+ depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && LIBOPIE2UI && LIBOPIE2PIM && TODAY
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro
index e70d1c0..6dcf945 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro
@@ -1,3 +1,2 @@
TEMPLATE = lib
-CONFIG -= moc
CONFIG += qt plugin
@@ -22,4 +21,4 @@ DEPENDPATH += $(OPIEDIR)/include \
-LIBS+= -lqpe -lopieui2 -lopiepim2 -lpthread
-TMAKE_CFLAGS += -D__UNIX__
+LIBS += -lqpe -lopiecore2 -lopieui2 -lopiepim2 -lpthread
+DEFINES += __UNIX__
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
index aaeb5ee..4855ac6 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
@@ -47,3 +47,3 @@ void getStocks(char *blah) {
// char *stock_liste = (char *)blah->latin1();
- // qDebug("%s", stock_liste.data() );
+ // odebug << "" << stock_liste.data() << "" << oendl;
output = "";
@@ -280,3 +280,3 @@ void getStocks(char *blah) {
void StockTickerPluginWidget::checkConnection() {
- // qDebug("checking connection");
+ // odebug << "checking connection" << oendl;
// Sock = new QSocket( this );
@@ -291,3 +291,3 @@ void getStocks(char *blah) {
// } else {
- // qDebug("State is not Idle");
+ // odebug << "State is not Idle" << oendl;
isConnected();
@@ -297,3 +297,3 @@ void getStocks(char *blah) {
void StockTickerPluginWidget::isConnected() {
- // qDebug("We connect, so ok to grab stocks");
+ // odebug << "We connect, so ok to grab stocks" << oendl;
if(this->isVisible())
@@ -306,3 +306,3 @@ void getStocks(char *blah) {
startTimer(timerDelay*60000);
- // qDebug("timer set for %d",(timerDelay*60000)/60000);
+ // odebug << "timer set for " << (timerDelay*60000)/60000 << "" << oendl;
wasError = false;