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

#include <nameclashdlg.hxx>

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

Public Member Functions

 NameClashDialog (weld::Window *pParent, const std::locale &rLocale, OUString const &rTargetFolderURL, OUString const &rClashingName, OUString const &rProposedNewName, bool bAllowOverwrite)
 
virtual ~NameClashDialog () override
 
const OUString & getNewName () 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

 DECL_LINK (ButtonHdl_Impl, weld::Button &, void)
 

Private Attributes

OUString m_aSameName
 
OUString m_aNewName
 
std::unique_ptr< weld::Labelm_xFTMessage
 
std::unique_ptr< weld::Entrym_xEDNewName
 
std::unique_ptr< weld::Buttonm_xBtnOverwrite
 
std::unique_ptr< weld::Buttonm_xBtnRename
 
std::unique_ptr< weld::Buttonm_xBtnCancel
 

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 26 of file nameclashdlg.hxx.

Constructor & Destructor Documentation

◆ NameClashDialog()

NameClashDialog::NameClashDialog ( weld::Window pParent,
const std::locale &  rLocale,
OUString const &  rTargetFolderURL,
OUString const &  rClashingName,
OUString const &  rProposedNewName,
bool  bAllowOverwrite 
)

◆ ~NameClashDialog()

NameClashDialog::~NameClashDialog ( )
overridevirtual

Definition at line 98 of file nameclashdlg.cxx.

Member Function Documentation

◆ DECL_LINK()

NameClashDialog::DECL_LINK ( ButtonHdl_Impl  ,
weld::Button ,
void   
)
private

◆ getNewName()

const OUString & NameClashDialog::getNewName ( ) const
inline

Definition at line 46 of file nameclashdlg.hxx.

References m_aNewName.

Member Data Documentation

◆ m_aNewName

OUString NameClashDialog::m_aNewName
private

Definition at line 29 of file nameclashdlg.hxx.

Referenced by getNewName().

◆ m_aSameName

OUString NameClashDialog::m_aSameName
private

Definition at line 28 of file nameclashdlg.hxx.

Referenced by NameClashDialog().

◆ m_xBtnCancel

std::unique_ptr<weld::Button> NameClashDialog::m_xBtnCancel
private

Definition at line 35 of file nameclashdlg.hxx.

Referenced by NameClashDialog().

◆ m_xBtnOverwrite

std::unique_ptr<weld::Button> NameClashDialog::m_xBtnOverwrite
private

Definition at line 33 of file nameclashdlg.hxx.

Referenced by NameClashDialog().

◆ m_xBtnRename

std::unique_ptr<weld::Button> NameClashDialog::m_xBtnRename
private

Definition at line 34 of file nameclashdlg.hxx.

Referenced by NameClashDialog().

◆ m_xEDNewName

std::unique_ptr<weld::Entry> NameClashDialog::m_xEDNewName
private

Definition at line 32 of file nameclashdlg.hxx.

Referenced by NameClashDialog().

◆ m_xFTMessage

std::unique_ptr<weld::Label> NameClashDialog::m_xFTMessage
private

Definition at line 31 of file nameclashdlg.hxx.

Referenced by NameClashDialog().


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