summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/fortune/fortunepluginwidget.cpp
authordrw <drw>2004-03-02 16:46:08 (UTC)
committer drw <drw>2004-03-02 16:46:08 (UTC)
commit42008f6bc88cde6d0ed49187e4c2df14f178d1c0 (patch) (side-by-side diff)
treeed62b583edc5dd9e1d6ece37153715ad60bee099 /noncore/todayplugins/fortune/fortunepluginwidget.cpp
parentef17e26cb4d883bf59171d2dcac808cfe2b1372e (diff)
downloadopie-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) (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
@@ -13,25 +13,22 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include "fortunepluginwidget.h"
+#include <qpe/config.h>
+#include <qpe/qcopenvelope_qws.h>
+
#include <qvaluelist.h>
#include <qtl.h>
#include <qstring.h>
#include <qscrollview.h>
#include <qobject.h>
#include <qlayout.h>
-#include <qpe/config.h>
-#include <qpe/qcopenvelope_qws.h>
-
-#include <opie/oprocess.h>
-#include <opie/oticker.h>
-
FortunePluginWidget::FortunePluginWidget( QWidget *parent, const char* name )
: QWidget( parent, name )
{
fortune = NULL;
getFortune();
@@ -73,12 +70,12 @@ void FortunePluginWidget::getFortune() {
delete fortuneProcess;
fortuneProcess = 0;
}
}
-void FortunePluginWidget::slotStdOut( OProcess* proc, char* buf, int len )
+void FortunePluginWidget::slotStdOut( OProcess* /*proc*/, char* buf, int len )
{
QCString s( buf, len );
s.replace( QRegExp("\n"), "" );
fortune->setText( s );
}