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

#include <retypepassdlg.hxx>

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

Public Member Functions

 ScRetypePassInputDlg ()=delete
 
 ScRetypePassInputDlg (weld::Window *pParent, ScPassHashProtectable *pProtected)
 
virtual ~ScRetypePassInputDlg () override
 
bool IsRemovePassword () const
 
OUString GetNewPassword () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void Init ()
 
void CheckPasswordInput ()
 
 DECL_LINK (OKHdl, weld::Button &, void)
 
 DECL_LINK (RadioBtnHdl, weld::Toggleable &, void)
 
 DECL_LINK (CheckBoxHdl, weld::Toggleable &, void)
 
 DECL_LINK (PasswordModifyHdl, weld::Entry &, void)
 

Private Attributes

ScPassHashProtectablem_pProtected
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
std::unique_ptr< weld::RadioButtonm_xBtnRetypePassword
 
std::unique_ptr< weld::Widgetm_xPasswordGrid
 
std::unique_ptr< weld::Entrym_xPassword1Edit
 
std::unique_ptr< weld::Entrym_xPassword2Edit
 
std::unique_ptr< weld::CheckButtonm_xBtnMatchOldPass
 
std::unique_ptr< weld::RadioButtonm_xBtnRemovePassword
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 93 of file retypepassdlg.hxx.

Constructor & Destructor Documentation

◆ ScRetypePassInputDlg() [1/2]

ScRetypePassInputDlg::ScRetypePassInputDlg ( )
delete

◆ ScRetypePassInputDlg() [2/2]

ScRetypePassInputDlg::ScRetypePassInputDlg ( weld::Window pParent,
ScPassHashProtectable pProtected 
)
explicit

Definition at line 267 of file retypepassdlg.cxx.

References Init().

◆ ~ScRetypePassInputDlg()

ScRetypePassInputDlg::~ScRetypePassInputDlg ( )
overridevirtual

Definition at line 282 of file retypepassdlg.cxx.

Member Function Documentation

◆ CheckPasswordInput()

void ScRetypePassInputDlg::CheckPasswordInput ( )
private

◆ DECL_LINK() [1/4]

ScRetypePassInputDlg::DECL_LINK ( CheckBoxHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/4]

ScRetypePassInputDlg::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

ScRetypePassInputDlg::DECL_LINK ( PasswordModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/4]

ScRetypePassInputDlg::DECL_LINK ( RadioBtnHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetNewPassword()

OUString ScRetypePassInputDlg::GetNewPassword ( ) const

Definition at line 286 of file retypepassdlg.cxx.

References m_xPassword1Edit.

Referenced by IMPL_LINK().

◆ Init()

void ScRetypePassInputDlg::Init ( void  )
private

◆ IsRemovePassword()

bool ScRetypePassInputDlg::IsRemovePassword ( ) const

Definition at line 284 of file retypepassdlg.cxx.

References m_xBtnRemovePassword.

Referenced by IMPL_LINK().

Member Data Documentation

◆ m_pProtected

ScPassHashProtectable* ScRetypePassInputDlg::m_pProtected
private

Definition at line 108 of file retypepassdlg.hxx.

Referenced by CheckPasswordInput().

◆ m_xBtnMatchOldPass

std::unique_ptr<weld::CheckButton> ScRetypePassInputDlg::m_xBtnMatchOldPass
private

Definition at line 118 of file retypepassdlg.hxx.

Referenced by CheckPasswordInput(), and Init().

◆ m_xBtnOk

std::unique_ptr<weld::Button> ScRetypePassInputDlg::m_xBtnOk
private

Definition at line 110 of file retypepassdlg.hxx.

Referenced by CheckPasswordInput(), and Init().

◆ m_xBtnRemovePassword

std::unique_ptr<weld::RadioButton> ScRetypePassInputDlg::m_xBtnRemovePassword
private

Definition at line 120 of file retypepassdlg.hxx.

Referenced by Init(), and IsRemovePassword().

◆ m_xBtnRetypePassword

std::unique_ptr<weld::RadioButton> ScRetypePassInputDlg::m_xBtnRetypePassword
private

Definition at line 112 of file retypepassdlg.hxx.

Referenced by Init().

◆ m_xPassword1Edit

std::unique_ptr<weld::Entry> ScRetypePassInputDlg::m_xPassword1Edit
private

Definition at line 115 of file retypepassdlg.hxx.

Referenced by CheckPasswordInput(), GetNewPassword(), and Init().

◆ m_xPassword2Edit

std::unique_ptr<weld::Entry> ScRetypePassInputDlg::m_xPassword2Edit
private

Definition at line 116 of file retypepassdlg.hxx.

Referenced by CheckPasswordInput(), and Init().

◆ m_xPasswordGrid

std::unique_ptr<weld::Widget> ScRetypePassInputDlg::m_xPasswordGrid
private

Definition at line 114 of file retypepassdlg.hxx.


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