Diffstat (limited to 'noncore/settings/aqpkg/main.cpp') (more/less context) (ignore 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 | |||
@@ -15,9 +15,6 @@ | |||
15 | * * | 15 | * * |
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> |
23 | #include <qpe/qcopenvelope_qws.h> | 20 | #include <qpe/qcopenvelope_qws.h> |
@@ -35,7 +32,7 @@ using namespace std; | |||
35 | 32 | ||
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 ); |
41 | #else | 38 | #else |
@@ -44,7 +41,7 @@ int main(int argc, char *argv[]) | |||
44 | 41 | ||
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 |
50 | 47 | ||
@@ -56,7 +53,7 @@ int main(int argc, char *argv[]) | |||
56 | 53 | ||
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 |
62 | #ifdef _DEBUG | 59 | #ifdef _DEBUG |