Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

loginwindowimpl.h

Go to the documentation of this file.
00001 /*
00002                =.            This file is part of the OPIE Project
00003              .=l.            Copyright (c)  2002 Robert Griebl <sandman@handhelds.org>
00004            .>+-=
00005  _;:,     .>    :=|.         This file is free software; you can
00006 .> <`_,   >  .   <=          redistribute it and/or modify it under
00007 :`=1 )Y*s>-.--   :           the terms of the GNU General Public
00008 .="- .-=="i,     .._         License as published by the Free Software
00009  - .   .-<_>     .<>         Foundation; either version 2 of the License,
00010      ._= =}       :          or (at your option) any later version.
00011     .%`+i>       _;_.
00012     .i_,=:_.      -<s.       This file is distributed in the hope that
00013      +  .  -:.       =       it will be useful, but WITHOUT ANY WARRANTY;
00014     : ..    .:,     . . .    without even the implied warranty of
00015     =_        +     =;=|`    MERCHANTABILITY or FITNESS FOR A
00016   _.=:.       :    :=>`:     PARTICULAR PURPOSE. See the GNU General
00017 ..}^=.=       =       ;      Public License for more details.
00018 ++=   -.     .`     .:
00019  :     =  ...= . :.=-        You should have received a copy of the GNU
00020  -.   .:....=;==+<;          General Public License along with this file;
00021   -_. . .   )=.  =           see the file COPYING. If not, write to the
00022     --        :-=`           Free Software Foundation, Inc.,
00023                              59 Temple Place - Suite 330,
00024                              Boston, MA 02111-1307, USA.
00025 
00026 */
00027 
00028 #ifndef __OPIE_LOGINWINDOW_IMPL_H__
00029 #define __OPIE_LOGINWINDOW_IMPL_H__
00030 
00031 #include "loginwindow.h"
00032 
00033 class InputMethods;
00034 
00035 class LoginWindowImpl : public LoginWindow {
00036         Q_OBJECT
00037 
00038 public:
00039         LoginWindowImpl ( );
00040         virtual ~LoginWindowImpl ( );
00041 
00042 protected slots:
00043         void restart ( );
00044         void quit ( );
00045         void showIM ( );
00046         void suspend ( );
00047         void backlight ( );
00048         void login ( );
00049         void toggleEchoMode ( bool );
00050         void calcMaxWindowRect ( );
00051         void receive ( const QCString &, const QByteArray & );
00052         void showPasswordDialog();
00053 
00054 protected:
00055         virtual void keyPressEvent ( QKeyEvent *e );
00056 
00057         QStringList getAllUsers ( );
00058         bool changeIdentity ( const char *user );
00059 
00060 private:
00061         InputMethods *m_input;
00062 };
00063 
00064 #endif

Generated on Sat Nov 5 16:15:45 2005 for OPIE by  doxygen 1.4.2