LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwRenameXNamedDlg Class Referencefinal

#include <swrenamexnameddlg.hxx>

Inheritance diagram for SwRenameXNamedDlg:
Collaboration diagram for SwRenameXNamedDlg:

Public Member Functions

 SwRenameXNamedDlg (weld::Widget *pParent, css::uno::Reference< css::container::XNamed > &xNamed, css::uno::Reference< css::container::XNameAccess > &xNameAccess)
void SetForbiddenChars (const OUString &rSet)
void SetAlternativeAccess (css::uno::Reference< css::container::XNameAccess > const &xSecond, css::uno::Reference< css::container::XNameAccess > const &xThird)
- 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 (TextFilterHdl, OUString &, bool)
 DECL_LINK (OkHdl, weld::Button &, void)
 DECL_LINK (ModifyHdl, weld::Entry &, void)

Private Attributes

css::uno::Reference< css::container::XNamed > & m_xNamed
css::uno::Reference< css::container::XNameAccess > & m_xNameAccess
css::uno::Reference< css::container::XNameAccess > m_xSecondAccess
css::uno::Reference< css::container::XNameAccess > m_xThirdAccess
TextFilter m_aTextFilter
std::unique_ptr< weld::Entrym_xNewNameED
std::unique_ptr< weld::Buttonm_xOk

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 swrenamexnameddlg.hxx.

Constructor & Destructor Documentation

◆ SwRenameXNamedDlg()

SwRenameXNamedDlg::SwRenameXNamedDlg ( weld::Widget pParent,
css::uno::Reference< css::container::XNamed > &  xNamed,
css::uno::Reference< css::container::XNameAccess > &  xNameAccess 

Member Function Documentation

◆ DECL_LINK() [1/3]

SwRenameXNamedDlg::DECL_LINK ( ModifyHdl  ,
weld::Entry ,

◆ DECL_LINK() [2/3]

SwRenameXNamedDlg::DECL_LINK ( OkHdl  ,
weld::Button ,

◆ DECL_LINK() [3/3]

SwRenameXNamedDlg::DECL_LINK ( TextFilterHdl  ,
OUString &  ,

◆ SetAlternativeAccess()

void SwRenameXNamedDlg::SetAlternativeAccess ( css::uno::Reference< css::container::XNameAccess > const &  xSecond,
css::uno::Reference< css::container::XNameAccess > const &  xThird 

Definition at line 52 of file swrenamexnameddlg.hxx.

References m_xSecondAccess, and m_xThirdAccess.

◆ SetForbiddenChars()

void SwRenameXNamedDlg::SetForbiddenChars ( const OUString &  rSet)

Definition at line 47 of file swrenamexnameddlg.hxx.

References m_aTextFilter, rSet, and TextFilter::SetForbiddenChars().

Member Data Documentation

◆ m_aTextFilter

TextFilter SwRenameXNamedDlg::m_aTextFilter

Definition at line 33 of file swrenamexnameddlg.hxx.

Referenced by SetForbiddenChars().

◆ m_xNameAccess

css::uno::Reference< css::container::XNameAccess >& SwRenameXNamedDlg::m_xNameAccess

Definition at line 29 of file swrenamexnameddlg.hxx.

◆ m_xNamed

css::uno::Reference< css::container::XNamed >& SwRenameXNamedDlg::m_xNamed

Definition at line 28 of file swrenamexnameddlg.hxx.

Referenced by SwRenameXNamedDlg().

◆ m_xNewNameED

std::unique_ptr<weld::Entry> SwRenameXNamedDlg::m_xNewNameED

Definition at line 35 of file swrenamexnameddlg.hxx.

Referenced by SwRenameXNamedDlg().

◆ m_xOk

std::unique_ptr<weld::Button> SwRenameXNamedDlg::m_xOk

Definition at line 36 of file swrenamexnameddlg.hxx.

Referenced by SwRenameXNamedDlg().

◆ m_xSecondAccess

css::uno::Reference< css::container::XNameAccess > SwRenameXNamedDlg::m_xSecondAccess

Definition at line 30 of file swrenamexnameddlg.hxx.

Referenced by SetAlternativeAccess().

◆ m_xThirdAccess

css::uno::Reference< css::container::XNameAccess > SwRenameXNamedDlg::m_xThirdAccess

Definition at line 31 of file swrenamexnameddlg.hxx.

Referenced by SetAlternativeAccess().

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