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, const css::uno::Reference< css::sdbc::XConnection > &xConnection)
 
virtual ~SwSelectDBTableDialog () override
 
OUString GetSelectedTable (bool &bIsTable)
 
void SetSelectedTable (const OUString &rTable, bool bIsTable)
 
- 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

 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 30 of file selectdbtabledialog.hxx.

Constructor & Destructor Documentation

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

Definition at line 45 of file selectdbtabledialog.cxx.

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

SwSelectDBTableDialog::~SwSelectDBTableDialog ( )
overridevirtual

Definition at line 92 of file selectdbtabledialog.cxx.

Member Function Documentation

SwSelectDBTableDialog::DECL_LINK ( PreviewHdl  ,
weld::Button ,
void   
)
private
OUString SwSelectDBTableDialog::GetSelectedTable ( bool &  bIsTable)

Definition at line 131 of file selectdbtabledialog.cxx.

References m_xTable.

void SwSelectDBTableDialog::SetSelectedTable ( const OUString &  rTable,
bool  bIsTable 
)

Definition at line 143 of file selectdbtabledialog.cxx.

References i, and m_xTable.

Member Data Documentation

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

Definition at line 32 of file selectdbtabledialog.hxx.

Referenced by SwSelectDBTableDialog().

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

Definition at line 35 of file selectdbtabledialog.hxx.

Referenced by SwSelectDBTableDialog().

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

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