From 9ac6d0a443c417158e3f2acf2de0629c51b6511c Mon Sep 17 00:00:00 2001 From: llornkcor Date: Tue, 05 Nov 2002 01:10:38 +0000 Subject: pthread stuff. --- (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h') diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h index 26472fa..c8de806 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h @@ -18,6 +18,7 @@ #ifndef STOCKTICKERL_PLUGIN_WIDGET_H #define STOCKTICKERL_PLUGIN_WIDGET_H +#include #include #include #include @@ -33,12 +34,6 @@ #include #include -//#include "ticker.h" - -/* extern "C" { */ -/* #include "stocks.h" */ -/* } */ - class QTimer; class StockTickerPluginWidget : public QWidget { @@ -48,16 +43,17 @@ class StockTickerPluginWidget : public QWidget { public: StockTickerPluginWidget( QWidget *parent, const char *name ); ~StockTickerPluginWidget(); - QString output; protected slots: void doStocks(); - + void isConnected(); + void socketError(int); + void checkConnection(); private: - OTicker *stocktickerTicker; + bool wasError; + QSocket *Sock; void timerEvent( QTimerEvent * ); void init(); - void getStocks( const char *stock_liste); void DefProxy(void); int timerDelay; }; -- cgit v0.9.0.2