Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h new file mode 100644 index 0000000..6524ae4 --- a/dev/null +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h | |||
@@ -0,0 +1,62 @@ | |||
1 | /* | ||
2 | * stocktickerpluginwidget.h | ||
3 | * | ||
4 | * copyright : (c) 2002 by L.J. Potter | ||
5 | * email : lornkcor@handhelds.org | ||
6 | * | ||
7 | */ | ||
8 | /*************************************************************************** | ||
9 | * * | ||
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 * | ||
12 | * the Free Software Foundation; either version 2 of the License, or * | ||
13 | * (at your option) any later version. * | ||
14 | * * | ||
15 | ***************************************************************************/ | ||
16 | |||
17 | |||
18 | #ifndef STOCKTICKERL_PLUGIN_WIDGET_H | ||
19 | #define STOCKTICKERL_PLUGIN_WIDGET_H | ||
20 | |||
21 | #include <qstring.h> | ||
22 | #include <qwidget.h> | ||
23 | #include <qlineedit.h> | ||
24 | |||
25 | #include <opie/tododb.h> | ||
26 | #include <opie/oclickablelabel.h> | ||
27 | |||
28 | #include <sys/types.h> | ||
29 | #include <sys/uio.h> | ||
30 | #include <unistd.h> | ||
31 | #include <stdio.h> | ||
32 | #include <stdlib.h> | ||
33 | #include <string.h> | ||
34 | |||
35 | #include "ticker.h" | ||
36 | |||
37 | /* extern "C" { */ | ||
38 | /* #include "stocks.h" */ | ||
39 | /* } */ | ||
40 | |||
41 | class StockTickerPluginWidget : public QWidget { | ||
42 | |||
43 | Q_OBJECT | ||
44 | |||
45 | public: | ||
46 | StockTickerPluginWidget( QWidget *parent, const char *name ); | ||
47 | ~StockTickerPluginWidget(); | ||
48 | QString output; | ||
49 | |||
50 | protected slots: | ||
51 | void doStocks(); | ||
52 | |||
53 | private: | ||
54 | Ticker *stocktickerTicker; | ||
55 | |||
56 | void init(); | ||
57 | void getStocks( const char *stock_liste); | ||
58 | void DefProxy(void); | ||
59 | |||
60 | }; | ||
61 | |||
62 | #endif | ||