Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h') (more/less context) (ignore 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 @@ | |||
19 | #define STOCKTICKERL_PLUGIN_WIDGET_H | 19 | #define STOCKTICKERL_PLUGIN_WIDGET_H |
20 | 20 | ||
21 | #include <qsocket.h> | ||
21 | #include <qstring.h> | 22 | #include <qstring.h> |
22 | #include <qwidget.h> | 23 | #include <qwidget.h> |
@@ -34,10 +35,4 @@ | |||
34 | #include <string.h> | 35 | #include <string.h> |
35 | 36 | ||
36 | //#include "ticker.h" | ||
37 | |||
38 | /* extern "C" { */ | ||
39 | /* #include "stocks.h" */ | ||
40 | /* } */ | ||
41 | |||
42 | class QTimer; | 37 | class QTimer; |
43 | 38 | ||
@@ -49,14 +44,15 @@ public: | |||
49 | StockTickerPluginWidget( QWidget *parent, const char *name ); | 44 | StockTickerPluginWidget( QWidget *parent, const char *name ); |
50 | ~StockTickerPluginWidget(); | 45 | ~StockTickerPluginWidget(); |
51 | QString output; | ||
52 | 46 | ||
53 | protected slots: | 47 | protected slots: |
54 | void doStocks(); | 48 | void doStocks(); |
55 | 49 | void isConnected(); | |
50 | void socketError(int); | ||
51 | void checkConnection(); | ||
56 | private: | 52 | private: |
57 | OTicker *stocktickerTicker; | 53 | bool wasError; |
54 | QSocket *Sock; | ||
58 | void timerEvent( QTimerEvent * ); | 55 | void timerEvent( QTimerEvent * ); |
59 | void init(); | 56 | void init(); |
60 | void getStocks( const char *stock_liste); | ||
61 | void DefProxy(void); | 57 | void DefProxy(void); |
62 | int timerDelay; | 58 | int timerDelay; |