passworddialog.h
00001 /* passworddialog.h KPilot 00002 ** 00003 ** Copyright (c) 1997 by Michael Roth 00004 ** Taken from KPasswd 00005 ** 00006 ** This file is part of the popmail conduit, a conduit for KPilot that 00007 ** synchronises the Pilot's email application with the outside world, 00008 ** which currently means: 00009 ** -- sendmail or SMTP for outgoing mail 00010 ** -- POP or mbox for incoming mail 00011 */ 00012 00013 /* 00014 ** This program is free software; you can redistribute it and/or modify 00015 ** it under the terms of the GNU General Public License as published by 00016 ** the Free Software Foundation; either version 2 of the License, or 00017 ** (at your option) any later version. 00018 ** 00019 ** This program is distributed in the hope that it will be useful, 00020 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 ** GNU General Public License for more details. 00023 ** 00024 ** You should have received a copy of the GNU General Public License 00025 ** along with this program in a file called COPYING; if not, write to 00026 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00027 ** MA 02111-1307, USA. 00028 */ 00029 00030 /* 00031 ** Bug reports and questions can be sent to kde-pim@kde.org 00032 */ 00033 00034 #ifndef MRQPASSWD_H 00035 #define MRQPASSWD_H 00036 00037 #ifdef HAVE_CONFIG_H 00038 #include <config.h> 00039 #endif 00040 00041 #include <qdialog.h> 00042 #include <qlineedit.h> 00043 00044 class PasswordDialog : public QDialog 00045 { 00046 Q_OBJECT 00047 00048 public: 00049 PasswordDialog( QString head, QWidget* parent=0, const char* name=0, bool modal=false, WFlags f=0 ); 00050 00051 const char *password(); // Gibt das Paswort zurueck 00052 00053 private: 00054 QString _head; 00055 QLineEdit *_w_password; 00056 }; 00057 00058 #endif