00001 /*************************************************************************** 00002 * Copyright (C) 2004 by Josep Burcion * 00003 * josep@burcion.com * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 ***************************************************************************/ 00015 #ifndef BPASSWD_H 00016 #define BPASSWD_H 00017 00018 #include <uipassword.h> 00019 #include <qlineedit.h> 00020 00024 class BPasswd : public UIPassword 00025 { 00026 Q_OBJECT 00027 public: 00028 BPasswd(QString * usuario, QString * passwd, QWidget * parent=0, const char * name=0, bool modal=FALSE, WFlags f=0); 00029 ~BPasswd(); 00030 00031 00032 private: 00033 QString * Usuario; 00034 QString * Password; 00035 00036 private slots: 00037 virtual void validar(); 00038 virtual void returnPressedOnUser(); 00039 virtual void returnPressedOnPasswd(); 00040 00041 }; 00042 00043 #endif