author | kergoth <kergoth> | 2002-11-04 15:53:27 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-04 15:53:27 (UTC) |
commit | a59b7fd669c53ece7d4eb56eb5b69d8b5f298048 (patch) (unidiff) | |
tree | cb8a26d2da36959b6961c30630be99fed54c5ea4 /noncore/todayplugins | |
parent | 17a29825dcf56cb0e224848e71e24ee6a884890b (diff) | |
download | opie-a59b7fd669c53ece7d4eb56eb5b69d8b5f298048.zip opie-a59b7fd669c53ece7d4eb56eb5b69d8b5f298048.tar.gz opie-a59b7fd669c53ece7d4eb56eb5b69d8b5f298048.tar.bz2 |
never code without caffeine.
-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 | |||
@@ -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 | ||
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 |