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.h5
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
41class QTimer; 42class QTimer;
42 43
43class StockTickerPluginWidget : public QWidget { 44class StockTickerPluginWidget : public QWidget {
44 45
45 Q_OBJECT 46 Q_OBJECT
46 47
47public: 48public:
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
52protected slots: 53protected slots:
53 void doStocks(); 54 void doStocks();
54 55
55private: 56private:
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