summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-11-04 15:53:27 (UTC)
committer kergoth <kergoth>2002-11-04 15:53:27 (UTC)
commita59b7fd669c53ece7d4eb56eb5b69d8b5f298048 (patch) (unidiff)
treecb8a26d2da36959b6961c30630be99fed54c5ea4
parent17a29825dcf56cb0e224848e71e24ee6a884890b (diff)
downloadopie-a59b7fd669c53ece7d4eb56eb5b69d8b5f298048.zip
opie-a59b7fd669c53ece7d4eb56eb5b69d8b5f298048.tar.gz
opie-a59b7fd669c53ece7d4eb56eb5b69d8b5f298048.tar.bz2
never code without caffeine.
Diffstat (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
@@ -4,46 +4,43 @@
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
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