LibreOffice Module cui (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PasswordToOpenModifyDialog Class Reference

#include <passwdomdlg.hxx>

Inheritance diagram for PasswordToOpenModifyDialog:
[legend]
Collaboration diagram for PasswordToOpenModifyDialog:
[legend]

Public Member Functions

 PasswordToOpenModifyDialog (weld::Window *pParent, sal_uInt16 nMaxPasswdLen, bool bIsPasswordToModify)
 
OUString GetPasswordToOpen () const
 
OUString GetPasswordToModify () const
 
bool IsRecommendToOpenReadonly () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Member Functions

 DECL_LINK (OkBtnClickHdl, weld::Button &, void)
 
 DECL_LINK (ReadonlyOnOffHdl, weld::Button &, void)
 
 PasswordToOpenModifyDialog (const PasswordToOpenModifyDialog &)=delete
 
PasswordToOpenModifyDialogoperator= (const PasswordToOpenModifyDialog &)=delete
 

Private Attributes

std::unique_ptr< weld::Entrym_xPasswdToOpenED
 
std::unique_ptr< weld::Entrym_xReenterPasswdToOpenED
 
std::unique_ptr< weld::Expanderm_xOptionsExpander
 
std::unique_ptr< weld::Buttonm_xOk
 
std::unique_ptr< weld::CheckButtonm_xOpenReadonlyCB
 
std::unique_ptr< weld::Labelm_xPasswdToModifyFT
 
std::unique_ptr< weld::Entrym_xPasswdToModifyED
 
std::unique_ptr< weld::Labelm_xReenterPasswdToModifyFT
 
std::unique_ptr< weld::Entrym_xReenterPasswdToModifyED
 
OUString m_aOneMismatch
 
OUString m_aTwoMismatch
 
OUString m_aInvalidStateForOkButton
 
OUString m_aInvalidStateForOkButton_v2
 
bool m_bIsPasswordToModify
 

Detailed Description

Definition at line 25 of file passwdomdlg.hxx.

Constructor & Destructor Documentation

PasswordToOpenModifyDialog::PasswordToOpenModifyDialog ( const PasswordToOpenModifyDialog )
privatedelete
PasswordToOpenModifyDialog::PasswordToOpenModifyDialog ( weld::Window pParent,
sal_uInt16  nMaxPasswdLen,
bool  bIsPasswordToModify 
)

Member Function Documentation

PasswordToOpenModifyDialog::DECL_LINK ( OkBtnClickHdl  ,
weld::Button ,
void   
)
private
PasswordToOpenModifyDialog::DECL_LINK ( ReadonlyOnOffHdl  ,
weld::Button ,
void   
)
private
OUString PasswordToOpenModifyDialog::GetPasswordToModify ( ) const

Definition at line 118 of file passwdomdlg.cxx.

References m_xPasswdToModifyED, and m_xReenterPasswdToModifyED.

OUString PasswordToOpenModifyDialog::GetPasswordToOpen ( ) const

Definition at line 109 of file passwdomdlg.cxx.

References m_xPasswdToOpenED, and m_xReenterPasswdToOpenED.

bool PasswordToOpenModifyDialog::IsRecommendToOpenReadonly ( ) const

Definition at line 127 of file passwdomdlg.cxx.

References m_xOpenReadonlyCB.

PasswordToOpenModifyDialog& PasswordToOpenModifyDialog::operator= ( const PasswordToOpenModifyDialog )
privatedelete

Member Data Documentation

OUString PasswordToOpenModifyDialog::m_aInvalidStateForOkButton
private

Definition at line 39 of file passwdomdlg.hxx.

OUString PasswordToOpenModifyDialog::m_aInvalidStateForOkButton_v2
private

Definition at line 40 of file passwdomdlg.hxx.

OUString PasswordToOpenModifyDialog::m_aOneMismatch
private

Definition at line 37 of file passwdomdlg.hxx.

OUString PasswordToOpenModifyDialog::m_aTwoMismatch
private

Definition at line 38 of file passwdomdlg.hxx.

bool PasswordToOpenModifyDialog::m_bIsPasswordToModify
private

Definition at line 42 of file passwdomdlg.hxx.

std::unique_ptr<weld::Button> PasswordToOpenModifyDialog::m_xOk
private

Definition at line 30 of file passwdomdlg.hxx.

Referenced by PasswordToOpenModifyDialog().

std::unique_ptr<weld::CheckButton> PasswordToOpenModifyDialog::m_xOpenReadonlyCB
private

Definition at line 31 of file passwdomdlg.hxx.

Referenced by IsRecommendToOpenReadonly(), and PasswordToOpenModifyDialog().

std::unique_ptr<weld::Expander> PasswordToOpenModifyDialog::m_xOptionsExpander
private

Definition at line 29 of file passwdomdlg.hxx.

Referenced by PasswordToOpenModifyDialog().

std::unique_ptr<weld::Entry> PasswordToOpenModifyDialog::m_xPasswdToModifyED
private

Definition at line 33 of file passwdomdlg.hxx.

Referenced by GetPasswordToModify(), and PasswordToOpenModifyDialog().

std::unique_ptr<weld::Label> PasswordToOpenModifyDialog::m_xPasswdToModifyFT
private

Definition at line 32 of file passwdomdlg.hxx.

std::unique_ptr<weld::Entry> PasswordToOpenModifyDialog::m_xPasswdToOpenED
private

Definition at line 27 of file passwdomdlg.hxx.

Referenced by GetPasswordToOpen(), and PasswordToOpenModifyDialog().

std::unique_ptr<weld::Entry> PasswordToOpenModifyDialog::m_xReenterPasswdToModifyED
private

Definition at line 35 of file passwdomdlg.hxx.

Referenced by GetPasswordToModify(), and PasswordToOpenModifyDialog().

std::unique_ptr<weld::Label> PasswordToOpenModifyDialog::m_xReenterPasswdToModifyFT
private

Definition at line 34 of file passwdomdlg.hxx.

std::unique_ptr<weld::Entry> PasswordToOpenModifyDialog::m_xReenterPasswdToOpenED
private

Definition at line 28 of file passwdomdlg.hxx.

Referenced by GetPasswordToOpen(), and PasswordToOpenModifyDialog().


The documentation for this class was generated from the following files: