summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h
Unidiff
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h
index 970a561..8776bff 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h
@@ -5,57 +5,58 @@
5 * email : lornkcor@handhelds.org 5 * email : lornkcor@handhelds.org
6 * 6 *
7 */ 7 */
8/*************************************************************************** 8/***************************************************************************
9 * * 9 * *
10 * This program is free software; you can redistribute it and/or modify * 10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by * 11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or * 12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. * 13 * (at your option) any later version. *
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
17 17
18#ifndef STOCKTICKERL_PLUGIN_WIDGET_H 18#ifndef STOCKTICKERL_PLUGIN_WIDGET_H
19#define STOCKTICKERL_PLUGIN_WIDGET_H 19#define STOCKTICKERL_PLUGIN_WIDGET_H
20 20
21#include <qsocket.h> 21#include <qsocket.h>
22#include <qstring.h> 22#include <qstring.h>
23#include <qwidget.h> 23#include <qwidget.h>
24#include <qlineedit.h> 24#include <qlineedit.h>
25 25
26#include <opie/tododb.h> 26#include <opie/tododb.h>
27#include <opie/oclickablelabel.h> 27#include <opie/oclickablelabel.h>
28#include <opie/oticker.h> 28#include <opie/oticker.h>
29 29
30#include <sys/types.h> 30#include <sys/types.h>
31#include <sys/uio.h> 31#include <sys/uio.h>
32#include <unistd.h> 32#include <unistd.h>
33#include <stdio.h> 33#include <stdio.h>
34#include <stdlib.h> 34#include <stdlib.h>
35#include <string.h> 35#include <string.h>
36 36
37class QTimer; 37class QTimer;
38 38
39class StockTickerPluginWidget : public QWidget { 39class StockTickerPluginWidget : public QWidget {
40 40
41 Q_OBJECT 41 Q_OBJECT
42 42
43public: 43public:
44 StockTickerPluginWidget( QWidget *parent, const char *name ); 44 StockTickerPluginWidget( QWidget *parent, const char *name );
45 ~StockTickerPluginWidget(); 45 ~StockTickerPluginWidget();
46 46
47protected slots: 47protected slots:
48 void doStocks(); 48 void doStocks();
49 void isConnected(); 49 void isConnected();
50 void socketError(int); 50 void socketError(int);
51 void checkConnection(); 51 void checkConnection();
52private: 52private:
53 QString symbollist;
53 bool wasError; 54 bool wasError;
54 QSocket *Sock; 55 QSocket *Sock;
55 void timerEvent( QTimerEvent * ); 56 void timerEvent( QTimerEvent * );
56 void init(); 57 void init();
57// void DefProxy(void); 58// void DefProxy(void);
58 int timerDelay; 59 int timerDelay;
59}; 60};
60 61
61#endif 62#endif