LibreOffice Module extensions (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
pcr::NewDataTypeDialog Class Reference

#include <newdatatype.hxx>

Inheritance diagram for pcr::NewDataTypeDialog:
[legend]
Collaboration diagram for pcr::NewDataTypeDialog:
[legend]

Public Member Functions

 NewDataTypeDialog (weld::Window *_pParent, std::u16string_view _rNameBase, const std::vector< OUString > &_rProhibitedNames)
 
virtual ~NewDataTypeDialog () override
 
OUString GetName () 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 (OnNameModified, weld::Entry &, void)
 

Private Attributes

std::set< OUString > m_aProhibitedNames
 
std::unique_ptr< weld::Entrym_xName
 
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 31 of file newdatatype.hxx.

Constructor & Destructor Documentation

◆ NewDataTypeDialog()

pcr::NewDataTypeDialog::NewDataTypeDialog ( weld::Window _pParent,
std::u16string_view  _rNameBase,
const std::vector< OUString > &  _rProhibitedNames 
)

Definition at line 29 of file newdatatype.cxx.

References begin, end, LINK, m_aProhibitedNames, and m_xName.

◆ ~NewDataTypeDialog()

pcr::NewDataTypeDialog::~NewDataTypeDialog ( )
overridevirtual

Definition at line 64 of file newdatatype.cxx.

Member Function Documentation

◆ DECL_LINK()

pcr::NewDataTypeDialog::DECL_LINK ( OnNameModified  ,
weld::Entry ,
void   
)
private

◆ GetName()

OUString pcr::NewDataTypeDialog::GetName ( ) const
inline

Member Data Documentation

◆ m_aProhibitedNames

std::set<OUString> pcr::NewDataTypeDialog::m_aProhibitedNames
private

Definition at line 34 of file newdatatype.hxx.

Referenced by NewDataTypeDialog().

◆ m_xName

std::unique_ptr<weld::Entry> pcr::NewDataTypeDialog::m_xName
private

Definition at line 36 of file newdatatype.hxx.

Referenced by GetName(), and NewDataTypeDialog().

◆ m_xOK

std::unique_ptr<weld::Button> pcr::NewDataTypeDialog::m_xOK
private

Definition at line 37 of file newdatatype.hxx.


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