summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/stocktickerlib
Side-by-side diff
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp26
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.h3
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro2
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h9
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp10
5 files changed, 25 insertions, 25 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp
index 915233a..009d390 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp
@@ -17,3 +17,4 @@
#include "stocktickerconfig.h"
-#include <opie/todayconfigwidget.h>
+
+#include <opie2/todayconfigwidget.h>
@@ -22,3 +23,2 @@
#include <qapplication.h>
-
#include <qlayout.h>
@@ -46,5 +46,5 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
// QWhatsThis::add( LineEdit1, tr("Enter the stock symbols you want to be shown here."));
-
+
layout->addMultiCellWidget( LineEdit1, 0, 0, 0, 4);
-
+
Config cfg( "stockticker");
@@ -54,3 +54,3 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
LineEdit1->setText(symbollist);
-
+
QLabel *label;
@@ -67,3 +67,3 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
QWhatsThis::add( timeCheck, tr("Toggles Time of current price field"));
-
+
dateCheck= new QCheckBox ( "Date", this );
@@ -72,3 +72,3 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
QWhatsThis::add(dateCheck, tr("Toggles date field"));
-
+
symbolCheck= new QCheckBox ( "Symbol", this );
@@ -125,3 +125,3 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
layout->addMultiCellWidget( timerDelaySpin , 6, 6, 0, 0);
-
+
QLabel *label2;
@@ -139,3 +139,3 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
layout->addMultiCellWidget( scrollSpeed , 7, 7, 0, 0);
-
+
QLabel *label3;
@@ -153,3 +153,3 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
layout->addMultiCellWidget( scrollLength , 8, 8, 0, 0);
-
+
QLabel *label4;
@@ -159,3 +159,3 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
layout->addMultiCellWidget( label4, 8, 8, 1, 2);
-
+
// lookupButton = new QPushButton(this, "LookupButton");
@@ -164,3 +164,3 @@ StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char*
// layout->addMultiCellWidget( lookupButton , 9, 9, 0, 0);
-
+
QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Expanding );
@@ -194,3 +194,3 @@ void StocktickerPluginConfig::writeConfig() {
cfg.writeEntry("ScrollSpeed",scrollSpeed->value());
-
+
cfg.write();
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.h
index 10f9678..3c852ce 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.h
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.h
@@ -19,4 +19,5 @@
+#include <opie2/todayconfigwidget.h>
+
#include <qwidget.h>
-#include <opie/todayconfigwidget.h>
#include <qstring.h>
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro
index bb22b4e..baf6430 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerlib.pro
@@ -22,3 +22,3 @@ DEPENDPATH += $(OPIEDIR)/include \
-LIBS+= -lqpe -lopie -lpthread
+LIBS+= -lqpe -lopiecore2 -lopiepim2 -lopieui2 -lpthread
TMAKE_CFLAGS += -D__UNIX__
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h
index e88c687..42af821 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h
@@ -20,2 +20,6 @@
+#include <opie2/oclickablelabel.h>
+#include <opie2/todayplugininterface.h>
+#include <opie2/todayconfigwidget.h>
+
#include <qstring.h>
@@ -23,7 +27,2 @@
-#include <opie/oclickablelabel.h>
-
-#include <opie/todayplugininterface.h>
-#include <opie/todayconfigwidget.h>
-
class StockTickerPlugin : public TodayPluginObject {
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
index fedc79c..51113ba 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
@@ -16,3 +16,3 @@
- #include <qlayout.h>
+ #include <opie2/oticker.h>
@@ -20,5 +20,5 @@
- #include <opie/oticker.h>
+ #include <qlayout.h>
- extern "C" {
+extern "C" {
#include "libstocks/stocks.h"
@@ -212,3 +212,3 @@ void getStocks(char *blah) {
- /* Simple function which help to browse in the stocks list */
+ /* Simple function which help to browse in the stocks list */
stocks_tmp = next_stock(stocks_tmp);
@@ -284,3 +284,3 @@ void getStocks(char *blah) {
- // if(Sock->state() == QSocket::Idle) {
+ // if(Sock->state() == QSocket::Idle) {
// Sock->connectToHost("finance.yahoo.com", 80);