summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
Unidiff
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
index a7f98be..8830472 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
@@ -28,7 +28,8 @@
28#include <qpe/timestring.h> 28#include <qpe/timestring.h>
29#include <qpe/qcopenvelope_qws.h> 29#include <qpe/qcopenvelope_qws.h>
30 30
31#include "ticker.h" 31#include <opie/oticker.h>
32//#include "ticker.h"
32 33
33extern "C" { 34extern "C" {
34#include "libstocks/stocks.h" 35#include "libstocks/stocks.h"
@@ -49,23 +50,16 @@ void StockTickerPluginWidget::init() {
49 50
50 QHBoxLayout* layout = new QHBoxLayout( this ); 51 QHBoxLayout* layout = new QHBoxLayout( this );
51 52
52 stocktickerTicker = new Ticker(this); 53 stocktickerTicker = new OTicker(this);
53 stocktickerTicker->setMinimumHeight(15); 54 stocktickerTicker->setMinimumHeight(15);
54 connect( stocktickerTicker, SIGNAL( mousePressed()), this, SLOT( doStocks() )); 55 connect( stocktickerTicker, SIGNAL( mousePressed()), this, SLOT( doStocks() ));
55 56
56 layout->addWidget( stocktickerTicker); 57 layout->addWidget( stocktickerTicker);
57// Config cfg( "stockticker");
58// cfg.setGroup("Timer");
59// timerDelay= cfg.readNumEntry("Delay",0);
60// if(timerDelay > 0 )
61// startTimer(timerDelay*60000);
62// qDebug("timer ^ set for %d",(timerDelay*60000)/60000);
63 58
64} 59}
65 60
66void StockTickerPluginWidget::doStocks() { 61void StockTickerPluginWidget::doStocks() {
67 Config cfg( "stockticker"); 62 Config cfg( "stockticker");
68
69 cfg.setGroup( "Symbols" ); 63 cfg.setGroup( "Symbols" );
70 QString symbollist; 64 QString symbollist;
71 symbollist = cfg.readEntry("Symbols", ""); 65 symbollist = cfg.readEntry("Symbols", "");