author | sandman <sandman> | 2002-09-30 21:37:26 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-30 21:37:26 (UTC) |
commit | 9208485864ccbd2a12160334cef302874b50043a (patch) (side-by-side diff) | |
tree | 14a6017f54a86c1be53c87a8ed2b277b62dbcef1 | |
parent | 3c6afa049f07c7e6311b3c88faf8a200827f3452 (diff) | |
download | opie-9208485864ccbd2a12160334cef302874b50043a.zip opie-9208485864ccbd2a12160334cef302874b50043a.tar.gz opie-9208485864ccbd2a12160334cef302874b50043a.tar.bz2 |
misc. cleanups
-rw-r--r-- | core/opie-login/loginwindowimpl.cpp | 3 | ||||
-rw-r--r-- | core/opie-login/main.cpp | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/core/opie-login/loginwindowimpl.cpp b/core/opie-login/loginwindowimpl.cpp index f24ebb3..63baaa6 100644 --- a/core/opie-login/loginwindowimpl.cpp +++ b/core/opie-login/loginwindowimpl.cpp @@ -36,2 +36,5 @@ extern "C" { +using namespace Opie; + + LoginWindowImpl::LoginWindowImpl ( ) : LoginWindow ( 0, "LOGIN-WINDOW", WStyle_Customize | WStyle_NoBorder | WDestructiveClose ) diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp index 718009a..df9451d 100644 --- a/core/opie-login/main.cpp +++ b/core/opie-login/main.cpp @@ -23,2 +23,4 @@ +using namespace Opie; + int login_main ( int argc, char **argv ); @@ -99,3 +101,3 @@ public: - setBacklight ( -1 ); + setBacklight ( -3 ); } @@ -191,7 +193,2 @@ int login_main ( int argc, char **argv ) - { - QCopEnvelope e("QPE/System", "setBacklight(int)" ); - e << -3; // Forced on - } - #if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX) @@ -205,3 +202,2 @@ int login_main ( int argc, char **argv ) - LoginScreenSaver *saver = new LoginScreenSaver; @@ -210,2 +206,3 @@ int login_main ( int argc, char **argv ) QWSServer::setScreenSaver ( saver ); + saver-> restore ( ); |