author | llornkcor <llornkcor> | 2002-11-05 01:10:38 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-05 01:10:38 (UTC) |
commit | 9ac6d0a443c417158e3f2acf2de0629c51b6511c (patch) (side-by-side diff) | |
tree | e9791e964d950a49c43b05459e0710b5aa8d5dae /noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h | |
parent | 4efdcbfa9ae55ba42b10b5003c9e524b2e1f0eef (diff) | |
download | opie-9ac6d0a443c417158e3f2acf2de0629c51b6511c.zip opie-9ac6d0a443c417158e3f2acf2de0629c51b6511c.tar.gz opie-9ac6d0a443c417158e3f2acf2de0629c51b6511c.tar.bz2 |
pthread stuff.
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 @@ #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; |