Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp index 3eaade4..6d53a91 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp @@ -23,4 +23,5 @@ #include <qlineedit.h> #include <qregexp.h> +#include <qtimer.h> #include <qpe/config.h> @@ -39,4 +40,5 @@ StockTickerPluginWidget::StockTickerPluginWidget( QWidget *parent, const char* : QWidget(parent, name ) { init(); + startTimer(1000); } @@ -238,2 +240,7 @@ void StockTickerPluginWidget::DefProxy(void) { } } + +void StockTickerPluginWidget::timerEvent( QTimerEvent *e ) { + killTimer(e->timerId()); + doStocks(); +} |