summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/fortune/fortunepluginwidget.cpp
Side-by-side diff
Diffstat (limited to 'noncore/todayplugins/fortune/fortunepluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/fortune/fortunepluginwidget.cpp17
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 @@
+#include <qpe/config.h>
+#include <qpe/qcopenvelope_qws.h>
+
#include <qvaluelist.h>
@@ -25,8 +28,2 @@
-#include <qpe/config.h>
-#include <qpe/qcopenvelope_qws.h>
-
-#include <opie/oprocess.h>
-#include <opie/oticker.h>
-
FortunePluginWidget::FortunePluginWidget( QWidget *parent, const char* name )
@@ -65,6 +62,6 @@ void FortunePluginWidget::getFortune() {
*fortuneProcess << "fortune";
-
+
connect(fortuneProcess, SIGNAL(receivedStdout(OProcess*,char*,int) ),
this, SLOT(slotStdOut(OProcess*,char*,int) ) );
-
+
if(!fortuneProcess->start(OProcess::NotifyOnExit, OProcess::AllOutput) ) {
@@ -75,6 +72,6 @@ void FortunePluginWidget::getFortune() {
}
-
+
}
-void FortunePluginWidget::slotStdOut( OProcess* proc, char* buf, int len )
+void FortunePluginWidget::slotStdOut( OProcess* /*proc*/, char* buf, int len )
{