summaryrefslogtreecommitdiff
path: root/noncore/todayplugins
Unidiff
Diffstat (limited to 'noncore/todayplugins') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/fortune/fortunepluginwidget.h3
-rw-r--r--noncore/todayplugins/fortune/opie-today-fortuneplugin.control2
2 files changed, 1 insertions, 4 deletions
diff --git a/noncore/todayplugins/fortune/fortunepluginwidget.h b/noncore/todayplugins/fortune/fortunepluginwidget.h
index dd3cd6f..302d046 100644
--- a/noncore/todayplugins/fortune/fortunepluginwidget.h
+++ b/noncore/todayplugins/fortune/fortunepluginwidget.h
@@ -12,38 +12,35 @@
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#ifndef FORTUNE_PLUGIN_WIDGET_H 17#ifndef FORTUNE_PLUGIN_WIDGET_H
18#define FORTUNE_PLUGIN_WIDGET_H 18#define FORTUNE_PLUGIN_WIDGET_H
19 19
20#include <qstring.h> 20#include <qstring.h>
21#include <qwidget.h> 21#include <qwidget.h>
22 22
23#include <opie/oticker.h> 23#include <opie/oticker.h>
24#include <opie/oprocess.h> 24#include <opie/oprocess.h>
25 25
26 26
27class FortunePluginWidget : public QWidget 27class FortunePluginWidget : public QWidget
28{ 28{
29 29
30 Q_OBJECT 30 Q_OBJECT
31 31
32public: 32public:
33 FortunePluginWidget( QWidget *parent, const char *name ); 33 FortunePluginWidget( QWidget *parent, const char *name );
34 ~FortunePluginWidget(); 34 ~FortunePluginWidget();
35 35
36protected slots:
37 void startFortune();
38
39private: 36private:
40 OTicker *fortune; 37 OTicker *fortune;
41 OProcess *fortuneProcess; 38 OProcess *fortuneProcess;
42 39
43 void getFortune(); 40 void getFortune();
44 41
45private slots: 42private slots:
46 void slotStdOut( OProcess*, char*, int ); 43 void slotStdOut( OProcess*, char*, int );
47}; 44};
48 45
49#endif 46#endif
diff --git a/noncore/todayplugins/fortune/opie-today-fortuneplugin.control b/noncore/todayplugins/fortune/opie-today-fortuneplugin.control
index 1a62afc..d5feb37 100644
--- a/noncore/todayplugins/fortune/opie-today-fortuneplugin.control
+++ b/noncore/todayplugins/fortune/opie-today-fortuneplugin.control
@@ -1,8 +1,8 @@
1Files: plugins/today/libtodayfortuneplugin.so* 1Files: plugins/today/libtodayfortuneplugin.so*
2Priority: optional 2Priority: optional
3Section: opie/applications 3Section: opie/applications
4Maintainer: Chris Larson <kergoth@handhelds.org> 4Maintainer: Chris Larson <kergoth@handhelds.org>
5Architecture: arm 5Architecture: arm
6Version: $QPE_VERSION-$SUB_VERSION 6Version: $QPE_VERSION-$SUB_VERSION
7Depends: qt-embedded (>=$QTE_VERSION), opie-today 7Depends: opie-today, fortune
8Description: 'fortune' plugin for today 8Description: 'fortune' plugin for today