00001 /* 00002 =. This file is part of the OPIE Project 00003 .=l. Copyright (c) 2004 Holger Hans Peter Freyther <zecke@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 00029 #ifndef OPIE_LOGIN_PASSWORDIMPL_DIALOG_H 00030 #define OPIE_LOGIN_PASSWORDIMPL_DIALOG_H 00031 00032 #include "passworddialog.h" 00033 00034 00035 class QLineEdit; 00046 class PasswordDialogImpl : public PasswordDialog { 00047 Q_OBJECT 00048 public: 00049 PasswordDialogImpl( QWidget *parent ); 00050 ~PasswordDialogImpl(); 00051 static bool needDialog(); 00052 00053 protected slots: 00054 void done( int ); 00055 void slotToggleEcho( bool ); 00056 00057 private: 00058 void writePassword(); 00059 void writeShadow(); 00060 void error( const QString&, const QString& ); 00061 bool m_isSet : 1; 00062 }; 00063 00064 00065 #endif
1.4.2