LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OSaveAsDlg Class Reference

#include <dlgsave.hxx>

Inheritance diagram for dbaui::OSaveAsDlg:
[legend]
Collaboration diagram for dbaui::OSaveAsDlg:
[legend]

Public Member Functions

 OSaveAsDlg (weld::Window *pParent, sal_Int32 _rType, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const OUString &rDefault, const IObjectNameCheck &_rObjectNameCheck, SADFlags _nFlags)
 
 OSaveAsDlg (weld::Window *_pParent, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const OUString &_rDefault, const OUString &_sLabel, const IObjectNameCheck &_rObjectNameCheck, SADFlags _nFlags)
 
virtual ~OSaveAsDlg () override
 
const OUString & getName () const
 
OUString getCatalog () const
 
OUString getSchema () 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 (TextFilterHdl, OUString &, bool)
 
 DECL_LINK (ButtonClickHdl, weld::Button &, void)
 
 DECL_LINK (EditModifyHdl, weld::Entry &, void)
 
void implInitOnlyTitle (const OUString &_rLabel)
 
void implInit ()
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_aName
 
const IObjectNameCheckm_rObjectNameCheck
 
css::uno::Reference< css::sdbc::XDatabaseMetaData > m_xMetaData
 
sal_Int32 m_nType
 
SADFlags m_nFlags
 
OSQLNameChecker m_aChecker
 
std::unique_ptr< weld::Labelm_xDescription
 
std::unique_ptr< weld::Labelm_xCatalogLbl
 
std::unique_ptr< weld::ComboBoxm_xCatalog
 
std::unique_ptr< weld::Labelm_xSchemaLbl
 
std::unique_ptr< weld::ComboBoxm_xSchema
 
std::unique_ptr< weld::Labelm_xLabel
 
std::unique_ptr< weld::Entrym_xTitle
 
std::unique_ptr< weld::Buttonm_xPB_OK
 

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 48 of file dlgsave.hxx.

Constructor & Destructor Documentation

◆ OSaveAsDlg() [1/2]

dbaui::OSaveAsDlg::OSaveAsDlg ( weld::Window pParent,
sal_Int32  _rType,
const css::uno::Reference< css::uno::XComponentContext > &  _rxContext,
const css::uno::Reference< css::sdbc::XConnection > &  _xConnection,
const OUString &  rDefault,
const IObjectNameCheck _rObjectNameCheck,
SADFlags  _nFlags 
)

◆ OSaveAsDlg() [2/2]

dbaui::OSaveAsDlg::OSaveAsDlg ( weld::Window _pParent,
const css::uno::Reference< css::uno::XComponentContext > &  _rxContext,
const OUString &  _rDefault,
const OUString &  _sLabel,
const IObjectNameCheck _rObjectNameCheck,
SADFlags  _nFlags 
)

◆ ~OSaveAsDlg()

OSaveAsDlg::~OSaveAsDlg ( )
overridevirtual

Definition at line 213 of file dlgsave.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

dbaui::OSaveAsDlg::DECL_LINK ( ButtonClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/3]

dbaui::OSaveAsDlg::DECL_LINK ( EditModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/3]

dbaui::OSaveAsDlg::DECL_LINK ( TextFilterHdl  ,
OUString &  ,
bool   
)
private

◆ getCatalog()

OUString OSaveAsDlg::getCatalog ( ) const

◆ getName()

const OUString & OSaveAsDlg::getName ( ) const

◆ getSchema()

OUString OSaveAsDlg::getSchema ( ) const

◆ implInit()

void OSaveAsDlg::implInit ( )
private

◆ implInitOnlyTitle()

void OSaveAsDlg::implInitOnlyTitle ( const OUString &  _rLabel)
private

Member Data Documentation

◆ m_aChecker

OSQLNameChecker dbaui::OSaveAsDlg::m_aChecker
private

Definition at line 58 of file dlgsave.hxx.

Referenced by implInitOnlyTitle().

◆ m_aName

OUString dbaui::OSaveAsDlg::m_aName
private

Definition at line 52 of file dlgsave.hxx.

Referenced by getName(), and implInitOnlyTitle().

◆ m_nFlags

SADFlags dbaui::OSaveAsDlg::m_nFlags
private

Definition at line 56 of file dlgsave.hxx.

Referenced by implInit().

◆ m_nType

sal_Int32 dbaui::OSaveAsDlg::m_nType
private

Definition at line 55 of file dlgsave.hxx.

◆ m_rObjectNameCheck

const IObjectNameCheck& dbaui::OSaveAsDlg::m_rObjectNameCheck
private

Definition at line 53 of file dlgsave.hxx.

◆ m_xCatalog

std::unique_ptr<weld::ComboBox> dbaui::OSaveAsDlg::m_xCatalog
private

Definition at line 62 of file dlgsave.hxx.

Referenced by getCatalog(), and implInitOnlyTitle().

◆ m_xCatalogLbl

std::unique_ptr<weld::Label> dbaui::OSaveAsDlg::m_xCatalogLbl
private

Definition at line 61 of file dlgsave.hxx.

Referenced by implInitOnlyTitle().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > dbaui::OSaveAsDlg::m_xContext
private

Definition at line 51 of file dlgsave.hxx.

◆ m_xDescription

std::unique_ptr<weld::Label> dbaui::OSaveAsDlg::m_xDescription
private

Definition at line 60 of file dlgsave.hxx.

Referenced by implInit().

◆ m_xLabel

std::unique_ptr<weld::Label> dbaui::OSaveAsDlg::m_xLabel
private

Definition at line 65 of file dlgsave.hxx.

Referenced by implInitOnlyTitle().

◆ m_xMetaData

css::uno::Reference< css::sdbc::XDatabaseMetaData> dbaui::OSaveAsDlg::m_xMetaData
private

Definition at line 54 of file dlgsave.hxx.

◆ m_xPB_OK

std::unique_ptr<weld::Button> dbaui::OSaveAsDlg::m_xPB_OK
private

Definition at line 67 of file dlgsave.hxx.

Referenced by implInit().

◆ m_xSchema

std::unique_ptr<weld::ComboBox> dbaui::OSaveAsDlg::m_xSchema
private

Definition at line 64 of file dlgsave.hxx.

Referenced by getSchema(), and implInitOnlyTitle().

◆ m_xSchemaLbl

std::unique_ptr<weld::Label> dbaui::OSaveAsDlg::m_xSchemaLbl
private

Definition at line 63 of file dlgsave.hxx.

Referenced by implInitOnlyTitle().

◆ m_xTitle

std::unique_ptr<weld::Entry> dbaui::OSaveAsDlg::m_xTitle
private

Definition at line 66 of file dlgsave.hxx.

Referenced by implInit(), and implInitOnlyTitle().


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