summaryrefslogtreecommitdiff
path: root/uui/source/passworddlg.hxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-09-06 10:02:33 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-09-06 10:02:33 +0200
commite70c93b5e54fab6a4eeb979fb9188a310b32c28e (patch)
tree4f05cfc54469a5784867af67b8d63abc751d852d /uui/source/passworddlg.hxx
parent6d1adcc602a92f31d5341cafa3cbfbc647b24733 (diff)
cws tl82: #i114160# SimplePasswordRequest and respective dialog
Diffstat (limited to 'uui/source/passworddlg.hxx')
-rwxr-xr-x[-rw-r--r--]uui/source/passworddlg.hxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/uui/source/passworddlg.hxx b/uui/source/passworddlg.hxx
index fe5fe7f2ef84..b94dbab82444 100644..100755
--- a/uui/source/passworddlg.hxx
+++ b/uui/source/passworddlg.hxx
@@ -37,21 +37,28 @@
#include <vcl/fixed.hxx>
//============================================================================
+
class PasswordDialog : public ModalDialog
{
FixedText aFTPassword;
Edit aEDPassword;
+ FixedText aFTConfirmPassword;
+ Edit aEDConfirmPassword;
OKButton aOKBtn;
CancelButton aCancelBtn;
HelpButton aHelpBtn;
FixedLine aFixedLine1;
+ USHORT nMinLen;
+ String aPasswdMismatch;
DECL_LINK( OKHdl_Impl, OKButton * );
public:
- PasswordDialog( Window* pParent, ::com::sun::star::task::PasswordRequestMode nDlgMode, ResMgr * pResMgr, ::rtl::OUString& aDocURL, bool bOpenToModify = false );
+ PasswordDialog( Window* pParent, ::com::sun::star::task::PasswordRequestMode nDlgMode, ResMgr * pResMgr, ::rtl::OUString& aDocURL,
+ bool bOpenToModify = false, bool bIsSimplePasswordRequest = false );
+ void SetMinLen( USHORT nMin ) { nMinLen = nMin; }
String GetPassword() const { return aEDPassword.GetText(); }
private:
@@ -60,3 +67,4 @@ private:
};
#endif // PASSWORDDLG_HXX
+