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

#include <selectdbtabledialog.hxx>

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

Public Member Functions

 SwSelectDBTableDialog (weld::Window *pParent, css::uno::Reference< css::sdbc::XConnection > xConnection)
 
virtual ~SwSelectDBTableDialog () override
 
OUString GetSelectedTable (bool &bIsTable)
 
void SetSelectedTable (std::u16string_view rTable, bool bIsTable)
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

Private Member Functions

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

Private Attributes

css::uno::Reference< css::sdbc::XConnection > m_xConnection
 
std::unique_ptr< weld::TreeViewm_xTable
 
std::unique_ptr< weld::Buttonm_xPreviewPB
 

Detailed Description

Definition at line 26 of file selectdbtabledialog.hxx.

Constructor & Destructor Documentation

◆ SwSelectDBTableDialog()

SwSelectDBTableDialog::SwSelectDBTableDialog ( weld::Window pParent,
css::uno::Reference< css::sdbc::XConnection >  xConnection 
)

Definition at line 44 of file selectdbtabledialog.cxx.

References i, LINK, m_xConnection, m_xConnection, m_xPreviewPB, m_xTable, nPos, and SwResId().

◆ ~SwSelectDBTableDialog()

SwSelectDBTableDialog::~SwSelectDBTableDialog ( )
overridevirtual

Definition at line 88 of file selectdbtabledialog.cxx.

Member Function Documentation

◆ DECL_LINK()

SwSelectDBTableDialog::DECL_LINK ( PreviewHdl  ,
weld::Button ,
void   
)
private

◆ GetSelectedTable()

OUString SwSelectDBTableDialog::GetSelectedTable ( bool &  bIsTable)

Definition at line 120 of file selectdbtabledialog.cxx.

References m_xTable.

Referenced by SwAddressListDialog::DetectTablesAndQueries().

◆ SetSelectedTable()

void SwSelectDBTableDialog::SetSelectedTable ( std::u16string_view  rTable,
bool  bIsTable 
)

Definition at line 132 of file selectdbtabledialog.cxx.

References i, m_xTable, and nCount.

Referenced by SwAddressListDialog::DetectTablesAndQueries().

Member Data Documentation

◆ m_xConnection

css::uno::Reference<css::sdbc::XConnection> SwSelectDBTableDialog::m_xConnection
private

Definition at line 28 of file selectdbtabledialog.hxx.

Referenced by SwSelectDBTableDialog().

◆ m_xPreviewPB

std::unique_ptr<weld::Button> SwSelectDBTableDialog::m_xPreviewPB
private

Definition at line 31 of file selectdbtabledialog.hxx.

Referenced by SwSelectDBTableDialog().

◆ m_xTable

std::unique_ptr<weld::TreeView> SwSelectDBTableDialog::m_xTable
private

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