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) (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 @@ -13,53 +13,49 @@ * (at your option) any later version. * * * ***************************************************************************/ #ifndef STOCKTICKERL_PLUGIN_WIDGET_H #define STOCKTICKERL_PLUGIN_WIDGET_H +#include <qsocket.h> #include <qstring.h> #include <qwidget.h> #include <qlineedit.h> #include <opie/tododb.h> #include <opie/oclickablelabel.h> #include <opie/oticker.h> #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -//#include "ticker.h" - -/* extern "C" { */ -/* #include "stocks.h" */ -/* } */ - class QTimer; class StockTickerPluginWidget : public QWidget { Q_OBJECT 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; }; #endif |