summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/fortune/fortunepluginwidget.cpp
Unidiff
Diffstat (limited to 'noncore/todayplugins/fortune/fortunepluginwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/todayplugins/fortune/fortunepluginwidget.cpp11
1 files changed, 4 insertions, 7 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
@@ -16,6 +16,9 @@
16 16
17#include "fortunepluginwidget.h" 17#include "fortunepluginwidget.h"
18 18
19#include <qpe/config.h>
20#include <qpe/qcopenvelope_qws.h>
21
19#include <qvaluelist.h> 22#include <qvaluelist.h>
20#include <qtl.h> 23#include <qtl.h>
21#include <qstring.h> 24#include <qstring.h>
@@ -23,12 +26,6 @@
23#include <qobject.h> 26#include <qobject.h>
24#include <qlayout.h> 27#include <qlayout.h>
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
32FortunePluginWidget::FortunePluginWidget( QWidget *parent, const char* name ) 29FortunePluginWidget::FortunePluginWidget( QWidget *parent, const char* name )
33 : QWidget( parent, name ) 30 : QWidget( parent, name )
34{ 31{
@@ -76,7 +73,7 @@ void FortunePluginWidget::getFortune() {
76 73
77} 74}
78 75
79void FortunePluginWidget::slotStdOut( OProcess* proc, char* buf, int len ) 76void FortunePluginWidget::slotStdOut( OProcess* /*proc*/, char* buf, int len )
80{ 77{
81 QCString s( buf, len ); 78 QCString s( buf, len );
82 s.replace( QRegExp("\n"), "" ); 79 s.replace( QRegExp("\n"), "" );