summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h
Side-by-side diff
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h16
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
@@ -18,6 +18,7 @@
#ifndef STOCKTICKERL_PLUGIN_WIDGET_H
#define STOCKTICKERL_PLUGIN_WIDGET_H
+#include <qsocket.h>
#include <qstring.h>
#include <qwidget.h>
#include <qlineedit.h>
@@ -33,12 +34,6 @@
#include <stdlib.h>
#include <string.h>
-//#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;
};