00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __PasswdDlg_h_Incluced__
00010 #define __PasswdDlg_h_Incluced__
00011
00012 #include <kpassdlg.h>
00013
00014 class KDEpasswd1Dialog
00015 : public KPasswordDialog
00016 {
00017 Q_OBJECT
00018
00019 public:
00020 KDEpasswd1Dialog();
00021 ~KDEpasswd1Dialog();
00022
00023 static int getPassword(TQCString &password);
00024
00025 protected:
00026 bool checkPassword(const char *password);
00027 };
00028
00029
00030 class KDEpasswd2Dialog
00031 : public KPasswordDialog
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 KDEpasswd2Dialog(const char *oldpass, TQCString user);
00037 ~KDEpasswd2Dialog();
00038
00039 protected:
00040 bool checkPassword(const char *password);
00041
00042 private:
00043 const char *m_Pass;
00044 TQCString m_User;
00045 };
00046
00047
00048
00049 #endif // __PasswdDlg_h_Incluced__