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

#include <changedb.hxx>

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

Public Member Functions

 SwChangeDBDlg (SwView const &rVw)
 
virtual short run () override
 
virtual ~SwChangeDBDlg () override
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Member Functions

void TreeSelect ()
 
 DECL_LINK (TreeSelectHdl, weld::TreeView &, void)
 
 DECL_LINK (ButtonHdl, weld::Button &, void)
 
 DECL_LINK (AddDBHdl, weld::Button &, void)
 
void UpdateFields ()
 
void FillDBPopup ()
 
std::unique_ptr< weld::TreeIterInsert (const OUString &rDBName)
 
void ShowDBName (const SwDBData &rDBData)
 

Private Attributes

SwWrtShellpSh
 
std::unique_ptr< weld::TreeViewm_xUsedDBTLB
 
std::unique_ptr< SwDBTreeListm_xAvailDBTLB
 
std::unique_ptr< weld::Buttonm_xAddDBPB
 
std::unique_ptr< weld::Labelm_xDocDBNameFT
 
std::unique_ptr< weld::Buttonm_xDefineBT
 

Detailed Description

Definition at line 31 of file changedb.hxx.

Constructor & Destructor Documentation

SwChangeDBDlg::SwChangeDBDlg ( SwView const &  rVw)
SwChangeDBDlg::~SwChangeDBDlg ( )
overridevirtual

Definition at line 162 of file changedb.cxx.

Member Function Documentation

SwChangeDBDlg::DECL_LINK ( TreeSelectHdl  ,
weld::TreeView ,
void   
)
private
SwChangeDBDlg::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private
SwChangeDBDlg::DECL_LINK ( AddDBHdl  ,
weld::Button ,
void   
)
private
void SwChangeDBDlg::FillDBPopup ( )
private
std::unique_ptr< weld::TreeIter > SwChangeDBDlg::Insert ( const OUString &  rDBName)
private

Definition at line 118 of file changedb.cxx.

References DB_DELIM, and m_xUsedDBTLB.

Referenced by FillDBPopup().

short SwChangeDBDlg::run ( )
overridevirtual

Definition at line 166 of file changedb.cxx.

References RET_OK, and UpdateFields().

void SwChangeDBDlg::ShowDBName ( const SwDBData rDBData)
private

Definition at line 240 of file changedb.cxx.

References m_xDocDBNameFT, SwDBData::sCommand, SwDBData::sDataSource, sName, and SwResId().

Referenced by SwChangeDBDlg().

void SwChangeDBDlg::TreeSelect ( )
private

Definition at line 226 of file changedb.cxx.

References m_xAvailDBTLB, and m_xDefineBT.

Referenced by FillDBPopup(), and SwChangeDBDlg().

void SwChangeDBDlg::UpdateFields ( )
private

Member Data Documentation

std::unique_ptr<weld::Button> SwChangeDBDlg::m_xAddDBPB
private

Definition at line 37 of file changedb.hxx.

Referenced by SwChangeDBDlg().

std::unique_ptr<SwDBTreeList> SwChangeDBDlg::m_xAvailDBTLB
private

Definition at line 36 of file changedb.hxx.

Referenced by FillDBPopup(), SwChangeDBDlg(), TreeSelect(), and UpdateFields().

std::unique_ptr<weld::Button> SwChangeDBDlg::m_xDefineBT
private

Definition at line 39 of file changedb.hxx.

Referenced by SwChangeDBDlg(), and TreeSelect().

std::unique_ptr<weld::Label> SwChangeDBDlg::m_xDocDBNameFT
private

Definition at line 38 of file changedb.hxx.

Referenced by ShowDBName().

std::unique_ptr<weld::TreeView> SwChangeDBDlg::m_xUsedDBTLB
private

Definition at line 35 of file changedb.hxx.

Referenced by FillDBPopup(), Insert(), SwChangeDBDlg(), and UpdateFields().

SwWrtShell* SwChangeDBDlg::pSh
private

Definition at line 33 of file changedb.hxx.

Referenced by FillDBPopup(), SwChangeDBDlg(), and UpdateFields().


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