author | llornkcor <llornkcor> | 2002-11-03 19:45:33 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-03 19:45:33 (UTC) |
commit | fe933da66a39ae964f44d0f057fabece5bdf077b (patch) (unidiff) | |
tree | 8e2bb1cfb4f52da40da9efc8834f8967da4bf080 /noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h | |
parent | 88539c74ca4a6b6699df2b050a498a81d22a0793 (diff) | |
download | opie-fe933da66a39ae964f44d0f057fabece5bdf077b.zip opie-fe933da66a39ae964f44d0f057fabece5bdf077b.tar.gz opie-fe933da66a39ae964f44d0f057fabece5bdf077b.tar.bz2 |
moved ticker to oticker
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h index 8f3441d..26472fa 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h | |||
@@ -3,62 +3,63 @@ | |||
3 | * | 3 | * |
4 | * copyright : (c) 2002 by L.J. Potter | 4 | * copyright : (c) 2002 by L.J. Potter |
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 <qstring.h> | 21 | #include <qstring.h> |
22 | #include <qwidget.h> | 22 | #include <qwidget.h> |
23 | #include <qlineedit.h> | 23 | #include <qlineedit.h> |
24 | 24 | ||
25 | #include <opie/tododb.h> | 25 | #include <opie/tododb.h> |
26 | #include <opie/oclickablelabel.h> | 26 | #include <opie/oclickablelabel.h> |
27 | #include <opie/oticker.h> | ||
27 | 28 | ||
28 | #include <sys/types.h> | 29 | #include <sys/types.h> |
29 | #include <sys/uio.h> | 30 | #include <sys/uio.h> |
30 | #include <unistd.h> | 31 | #include <unistd.h> |
31 | #include <stdio.h> | 32 | #include <stdio.h> |
32 | #include <stdlib.h> | 33 | #include <stdlib.h> |
33 | #include <string.h> | 34 | #include <string.h> |
34 | 35 | ||
35 | #include "ticker.h" | 36 | //#include "ticker.h" |
36 | 37 | ||
37 | /* extern "C" { */ | 38 | /* extern "C" { */ |
38 | /* #include "stocks.h" */ | 39 | /* #include "stocks.h" */ |
39 | /* } */ | 40 | /* } */ |
40 | 41 | ||
41 | class QTimer; | 42 | class QTimer; |
42 | 43 | ||
43 | class StockTickerPluginWidget : public QWidget { | 44 | class StockTickerPluginWidget : public QWidget { |
44 | 45 | ||
45 | Q_OBJECT | 46 | Q_OBJECT |
46 | 47 | ||
47 | public: | 48 | public: |
48 | StockTickerPluginWidget( QWidget *parent, const char *name ); | 49 | StockTickerPluginWidget( QWidget *parent, const char *name ); |
49 | ~StockTickerPluginWidget(); | 50 | ~StockTickerPluginWidget(); |
50 | QString output; | 51 | QString output; |
51 | 52 | ||
52 | protected slots: | 53 | protected slots: |
53 | void doStocks(); | 54 | void doStocks(); |
54 | 55 | ||
55 | private: | 56 | private: |
56 | Ticker *stocktickerTicker; | 57 | OTicker *stocktickerTicker; |
57 | void timerEvent( QTimerEvent * ); | 58 | void timerEvent( QTimerEvent * ); |
58 | void init(); | 59 | void init(); |
59 | void getStocks( const char *stock_liste); | 60 | void getStocks( const char *stock_liste); |
60 | void DefProxy(void); | 61 | void DefProxy(void); |
61 | int timerDelay; | 62 | int timerDelay; |
62 | }; | 63 | }; |
63 | 64 | ||
64 | #endif | 65 | #endif |