summaryrefslogtreecommitdiff
path: root/core/opie-login/loginwindowimpl.cpp
Unidiff
Diffstat (limited to 'core/opie-login/loginwindowimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/opie-login/loginwindowimpl.cpp29
1 files changed, 28 insertions, 1 deletions
diff --git a/core/opie-login/loginwindowimpl.cpp b/core/opie-login/loginwindowimpl.cpp
index 3694513..fe2906a 100644
--- a/core/opie-login/loginwindowimpl.cpp
+++ b/core/opie-login/loginwindowimpl.cpp
@@ -1,6 +1,33 @@
1/*
2               =. This file is part of the OPIE Project
3             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-=
5 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .:
19 :     =  ...= . :.=- You should have received a copy of the GNU
20 -.   .:....=;==+<; General Public License along with this file;
21  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` Free Software Foundation, Inc.,
23 59 Temple Place - Suite 330,
24 Boston, MA 02111-1307, USA.
25
26*/
27
1#include <qapplication.h> 28#include <qapplication.h>
2#include <qpushbutton.h> 29#include <qpushbutton.h>
3#include <qlayout.h> 30#include <qlayout.h>
4#include <qframe.h> 31#include <qframe.h>
5#include <qlineedit.h> 32#include <qlineedit.h>
6#include <qtimer.h> 33#include <qtimer.h>
@@ -122,13 +149,13 @@ public:
122 QPixmap pix; 149 QPixmap pix;
123 pix. convertFromImage ( img ); 150 pix. convertFromImage ( img );
124 setPixmap ( pix ); 151 setPixmap ( pix );
125 setAlignment ( AlignCenter ); 152 setAlignment ( AlignCenter );
126 move ( 0, 0 ); 153 move ( 0, 0 );
127 resize ( qApp-> desktop ( )-> width ( ), qApp-> desktop ( )-> height ( )); 154 resize ( qApp-> desktop ( )-> width ( ), qApp-> desktop ( )-> height ( ));
128 155
129 m_visible = false; 156 m_visible = false;
130 show ( ); 157 show ( );
131 } 158 }
132 159
133 virtual void showEvent ( QShowEvent *e ) 160 virtual void showEvent ( QShowEvent *e )
134 { 161 {