-rw-r--r-- | noncore/todayplugins/fortune/fortunepluginwidget.h | 3 | ||||
-rw-r--r-- | noncore/todayplugins/fortune/opie-today-fortuneplugin.control | 2 |
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 | |||
@@ -1,49 +1,46 @@ | |||
1 | /* | 1 | /* |
2 | * fortunepluginwidget.h | 2 | * fortunepluginwidget.h |
3 | * | 3 | * |
4 | * copyright : (c) 2002 by Chris Larson | 4 | * copyright : (c) 2002 by Chris Larson |
5 | * email : kergoth@handhelds.org | 5 | * email : kergoth@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 | #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 | ||
27 | class FortunePluginWidget : public QWidget | 27 | class FortunePluginWidget : public QWidget |
28 | { | 28 | { |
29 | 29 | ||
30 | Q_OBJECT | 30 | Q_OBJECT |
31 | 31 | ||
32 | public: | 32 | public: |
33 | FortunePluginWidget( QWidget *parent, const char *name ); | 33 | FortunePluginWidget( QWidget *parent, const char *name ); |
34 | ~FortunePluginWidget(); | 34 | ~FortunePluginWidget(); |
35 | 35 | ||
36 | protected slots: | ||
37 | void startFortune(); | ||
38 | |||
39 | private: | 36 | private: |
40 | OTicker *fortune; | 37 | OTicker *fortune; |
41 | OProcess *fortuneProcess; | 38 | OProcess *fortuneProcess; |
42 | 39 | ||
43 | void getFortune(); | 40 | void getFortune(); |
44 | 41 | ||
45 | private slots: | 42 | private 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 @@ | |||
1 | Files: plugins/today/libtodayfortuneplugin.so* | 1 | Files: plugins/today/libtodayfortuneplugin.so* |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: opie/applications | 3 | Section: opie/applications |
4 | Maintainer: Chris Larson <kergoth@handhelds.org> | 4 | Maintainer: Chris Larson <kergoth@handhelds.org> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: $QPE_VERSION-$SUB_VERSION | 6 | Version: $QPE_VERSION-$SUB_VERSION |
7 | Depends: qt-embedded (>=$QTE_VERSION), opie-today | 7 | Depends: opie-today, fortune |
8 | Description: 'fortune' plugin for today | 8 | Description: 'fortune' plugin for today |