summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/fortune
Side-by-side diff
Diffstat (limited to 'noncore/todayplugins/fortune') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/fortune/fortunepluginwidget.cpp6
-rw-r--r--noncore/todayplugins/fortune/fortunepluginwidget.h6
2 files changed, 7 insertions, 5 deletions
diff --git a/noncore/todayplugins/fortune/fortunepluginwidget.cpp b/noncore/todayplugins/fortune/fortunepluginwidget.cpp
index 3aa978c..c3ee546 100644
--- a/noncore/todayplugins/fortune/fortunepluginwidget.cpp
+++ b/noncore/todayplugins/fortune/fortunepluginwidget.cpp
@@ -27,4 +27,6 @@
#include <qlayout.h>
+using namespace Opie::Core;
+using namespace Opie::Ui;
FortunePluginWidget::FortunePluginWidget( QWidget *parent, const char* name )
: QWidget( parent, name )
@@ -62,6 +64,6 @@ void FortunePluginWidget::getFortune() {
*fortuneProcess << "fortune";
- connect(fortuneProcess, SIGNAL(receivedStdout(OProcess*,char*,int) ),
- this, SLOT(slotStdOut(OProcess*,char*,int) ) );
+ connect(fortuneProcess, SIGNAL(receivedStdout(Opie::Core::OProcess*,char*,int) ),
+ this, SLOT(slotStdOut(Opie::Core::OProcess*,char*,int) ) );
if(!fortuneProcess->start(OProcess::NotifyOnExit, OProcess::AllOutput) ) {
diff --git a/noncore/todayplugins/fortune/fortunepluginwidget.h b/noncore/todayplugins/fortune/fortunepluginwidget.h
index abb7bed..1b71430 100644
--- a/noncore/todayplugins/fortune/fortunepluginwidget.h
+++ b/noncore/todayplugins/fortune/fortunepluginwidget.h
@@ -34,11 +34,11 @@ public:
private:
- OTicker *fortune;
- OProcess *fortuneProcess;
+ Opie::Ui::OTicker *fortune;
+ Opie::Core::OProcess *fortuneProcess;
void getFortune();
private slots:
- void slotStdOut( OProcess*, char*, int );
+ void slotStdOut( Opie::Core::OProcess*, char*, int );
};