author | drw <drw> | 2004-03-02 16:46:08 (UTC) |
---|---|---|
committer | drw <drw> | 2004-03-02 16:46:08 (UTC) |
commit | 42008f6bc88cde6d0ed49187e4c2df14f178d1c0 (patch) (unidiff) | |
tree | ed62b583edc5dd9e1d6ece37153715ad60bee099 /noncore/todayplugins/fortune/fortunepluginwidget.cpp | |
parent | ef17e26cb4d883bf59171d2dcac808cfe2b1372e (diff) | |
download | opie-42008f6bc88cde6d0ed49187e4c2df14f178d1c0.zip opie-42008f6bc88cde6d0ed49187e4c2df14f178d1c0.tar.gz opie-42008f6bc88cde6d0ed49187e4c2df14f178d1c0.tar.bz2 |
Today fortune plugin: libopie -> libopie2
Diffstat (limited to 'noncore/todayplugins/fortune/fortunepluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/todayplugins/fortune/fortunepluginwidget.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/noncore/todayplugins/fortune/fortunepluginwidget.cpp b/noncore/todayplugins/fortune/fortunepluginwidget.cpp index e6a0d09..3aa978c 100644 --- a/noncore/todayplugins/fortune/fortunepluginwidget.cpp +++ b/noncore/todayplugins/fortune/fortunepluginwidget.cpp | |||
@@ -18,2 +18,5 @@ | |||
18 | 18 | ||
19 | #include <qpe/config.h> | ||
20 | #include <qpe/qcopenvelope_qws.h> | ||
21 | |||
19 | #include <qvaluelist.h> | 22 | #include <qvaluelist.h> |
@@ -25,8 +28,2 @@ | |||
25 | 28 | ||
26 | #include <qpe/config.h> | ||
27 | #include <qpe/qcopenvelope_qws.h> | ||
28 | |||
29 | #include <opie/oprocess.h> | ||
30 | #include <opie/oticker.h> | ||
31 | |||
32 | FortunePluginWidget::FortunePluginWidget( QWidget *parent, const char* name ) | 29 | FortunePluginWidget::FortunePluginWidget( QWidget *parent, const char* name ) |
@@ -65,6 +62,6 @@ void FortunePluginWidget::getFortune() { | |||
65 | *fortuneProcess << "fortune"; | 62 | *fortuneProcess << "fortune"; |
66 | 63 | ||
67 | connect(fortuneProcess, SIGNAL(receivedStdout(OProcess*,char*,int) ), | 64 | connect(fortuneProcess, SIGNAL(receivedStdout(OProcess*,char*,int) ), |
68 | this, SLOT(slotStdOut(OProcess*,char*,int) ) ); | 65 | this, SLOT(slotStdOut(OProcess*,char*,int) ) ); |
69 | 66 | ||
70 | if(!fortuneProcess->start(OProcess::NotifyOnExit, OProcess::AllOutput) ) { | 67 | if(!fortuneProcess->start(OProcess::NotifyOnExit, OProcess::AllOutput) ) { |
@@ -75,6 +72,6 @@ void FortunePluginWidget::getFortune() { | |||
75 | } | 72 | } |
76 | 73 | ||
77 | } | 74 | } |
78 | 75 | ||
79 | void FortunePluginWidget::slotStdOut( OProcess* proc, char* buf, int len ) | 76 | void FortunePluginWidget::slotStdOut( OProcess* /*proc*/, char* buf, int len ) |
80 | { | 77 | { |