00001
00002
00003
00004
00005
00006
00007 #ifndef __SuDlg_h_Included__
00008 #define __SuDlg_h_Included__
00009
00010 #include <kpassdlg.h>
00011
00012 class KDEsuDialog
00013 : public KPasswordDialog
00014 {
00015 Q_OBJECT
00016
00017 public:
00018 KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep, const TQString& icon , bool withIgnoreButton=false);
00019 ~KDEsuDialog();
00020
00021 enum ResultCodes { AsUser = 10 };
00022
00023 protected:
00024 bool checkPassword(const char *password);
00025 void slotUser1();
00026
00027 private:
00028 TQCString m_User;
00029 };
00030
00031
00032 #endif // __SuDlg_h_Included__