summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp
index 5dc2e79..14f251a 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp
@@ -349,2 +349,11 @@ void Wellenreiter::stopClicked()
+ #ifdef QWS
+ if ( WellenreiterConfigWindow::instance()->disablePM->isChecked() )
+ {
+ QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::Enable;
+ }
+ #else
+ #warning FIXME: setScreenSaverMode is not operational on the X11 build
+ #endif
+
// print out statistics
@@ -476,2 +485,12 @@ void Wellenreiter::startClicked()
sniffing = true;
+
+ #ifdef QWS
+ if ( WellenreiterConfigWindow::instance()->disablePM->isChecked() )
+ {
+ QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::Disable;
+ }
+ #else
+ #warning FIXME: setScreenSaverMode is not operational on the X11 build
+ #endif
+
emit( startedSniffing() );