Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h | 16 |
1 files changed, 6 insertions, 10 deletions
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 @@ -19,4 +19,5 @@ #define STOCKTICKERL_PLUGIN_WIDGET_H +#include <qsocket.h> #include <qstring.h> #include <qwidget.h> @@ -34,10 +35,4 @@ #include <string.h> -//#include "ticker.h" - -/* extern "C" { */ -/* #include "stocks.h" */ -/* } */ - class QTimer; @@ -49,14 +44,15 @@ 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; |