Diffstat (limited to 'noncore/settings/aqpkg/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/main.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/noncore/settings/aqpkg/main.cpp b/noncore/settings/aqpkg/main.cpp index 53c392e..15ef9d6 100644 --- a/noncore/settings/aqpkg/main.cpp +++ b/noncore/settings/aqpkg/main.cpp | |||
@@ -16,7 +16,4 @@ | |||
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include <iostream> | ||
19 | using namespace std; | ||
20 | |||
21 | #ifdef QWS | 18 | #ifdef QWS |
22 | #include <qpe/qpeapplication.h> | 19 | #include <qpe/qpeapplication.h> |
@@ -36,5 +33,5 @@ using namespace std; | |||
36 | int main(int argc, char *argv[]) | 33 | int main(int argc, char *argv[]) |
37 | { | 34 | { |
38 | cout << "Root dir = " << ROOT << endl; | 35 | // cout << "Root dir = " << ROOT << endl; |
39 | #ifdef QWS | 36 | #ifdef QWS |
40 | QPEApplication a( argc, argv ); | 37 | QPEApplication a( argc, argv ); |
@@ -45,5 +42,5 @@ int main(int argc, char *argv[]) | |||
45 | #ifdef QWS | 42 | #ifdef QWS |
46 | // Disable suspend mode | 43 | // Disable suspend mode |
47 | cout << "Disabling suspend mode" << endl; | 44 | // cout << "Disabling suspend mode" << endl; |
48 | QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::DisableSuspend; | 45 | QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::DisableSuspend; |
49 | #endif | 46 | #endif |
@@ -57,5 +54,5 @@ int main(int argc, char *argv[]) | |||
57 | #ifdef QWS | 54 | #ifdef QWS |
58 | // Reenable suspend mode | 55 | // Reenable suspend mode |
59 | cout << "Enabling suspend mode" << endl; | 56 | // cout << "Enabling suspend mode" << endl; |
60 | QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::Enable; | 57 | QCopEnvelope( "QPE/System", "setScreenSaverMode(int)" ) << QPEApplication::Enable; |
61 | #endif | 58 | #endif |