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

#include <tsaurls.hxx>

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

Public Member Functions

 TSAURLsDialog (weld::Window *pParent)
 
virtual ~TSAURLsDialog () override
 
- 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 (AddHdl_Impl, weld::Button &, void)
 
 DECL_LINK (DeleteHdl_Impl, weld::Button &, void)
 
 DECL_LINK (OKHdl_Impl, weld::Button &, void)
 
 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
void AddTSAURL (const OUString &rURL)
 

Private Attributes

std::unique_ptr< weld::Buttonm_xAddBtn
 
std::unique_ptr< weld::Buttonm_xDeleteBtn
 
std::unique_ptr< weld::Buttonm_xOKBtn
 
std::unique_ptr< weld::TreeViewm_xURLListBox
 
std::unique_ptr< weld::Labelm_xEnterAUrl
 
std::set< OUString > m_aURLs
 

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 16 of file tsaurls.hxx.

Constructor & Destructor Documentation

◆ TSAURLsDialog()

TSAURLsDialog::TSAURLsDialog ( weld::Window pParent)
explicit

Definition at line 19 of file tsaurls.cxx.

References AddTSAURL(), LINK, m_xAddBtn, m_xDeleteBtn, m_xOKBtn, m_xURLListBox, and TOOLS_WARN_EXCEPTION.

◆ ~TSAURLsDialog()

TSAURLsDialog::~TSAURLsDialog ( )
overridevirtual

Definition at line 72 of file tsaurls.cxx.

Member Function Documentation

◆ AddTSAURL()

void TSAURLsDialog::AddTSAURL ( const OUString &  rURL)
private

Definition at line 74 of file tsaurls.cxx.

References m_aURLs, and m_xURLListBox.

Referenced by TSAURLsDialog().

◆ DECL_LINK() [1/4]

TSAURLsDialog::DECL_LINK ( AddHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

TSAURLsDialog::DECL_LINK ( DeleteHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

TSAURLsDialog::DECL_LINK ( OKHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

TSAURLsDialog::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

Member Data Documentation

◆ m_aURLs

std::set<OUString> TSAURLsDialog::m_aURLs
private

Definition at line 32 of file tsaurls.hxx.

Referenced by AddTSAURL().

◆ m_xAddBtn

std::unique_ptr<weld::Button> TSAURLsDialog::m_xAddBtn
private

Definition at line 19 of file tsaurls.hxx.

Referenced by TSAURLsDialog().

◆ m_xDeleteBtn

std::unique_ptr<weld::Button> TSAURLsDialog::m_xDeleteBtn
private

Definition at line 20 of file tsaurls.hxx.

Referenced by TSAURLsDialog().

◆ m_xEnterAUrl

std::unique_ptr<weld::Label> TSAURLsDialog::m_xEnterAUrl
private

Definition at line 23 of file tsaurls.hxx.

◆ m_xOKBtn

std::unique_ptr<weld::Button> TSAURLsDialog::m_xOKBtn
private

Definition at line 21 of file tsaurls.hxx.

Referenced by TSAURLsDialog().

◆ m_xURLListBox

std::unique_ptr<weld::TreeView> TSAURLsDialog::m_xURLListBox
private

Definition at line 22 of file tsaurls.hxx.

Referenced by AddTSAURL(), and TSAURLsDialog().


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