LibreOffice Module cui (master) 1
|
#include <connpooloptions.hxx>
Public Member Functions | |
ConnectionPoolOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet) | |
virtual | ~ConnectionPoolOptionsPage () override |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *_rAttrSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
virtual bool | FillItemSet (SfxItemSet *_rSet) override |
virtual void | Reset (const SfxItemSet *_rSet) override |
virtual void | ActivatePage (const SfxItemSet &_rSet) override |
void | updateRow (size_t nRow) |
void | updateCurrentRow () |
void | UpdateDriverList (const DriverPoolingSettings &_rSettings) |
bool | isModifiedDriverList () const |
void | saveDriverList () |
DECL_LINK (OnEnabledDisabled, weld::Toggleable &, void) | |
DECL_LINK (OnSpinValueChanged, weld::SpinButton &, void) | |
DECL_LINK (OnDriverRowChanged, weld::TreeView &, void) | |
void | implInitControls (const SfxItemSet &_rSet) |
void | commitTimeoutField () |
Private Attributes | |
OUString | m_sYes |
OUString | m_sNo |
DriverPoolingSettings | m_aSettings |
DriverPoolingSettings | m_aSavedSettings |
std::unique_ptr< weld::CheckButton > | m_xEnablePooling |
std::unique_ptr< weld::Label > | m_xDriversLabel |
std::unique_ptr< weld::TreeView > | m_xDriverList |
std::unique_ptr< weld::Label > | m_xDriverLabel |
std::unique_ptr< weld::Label > | m_xDriver |
std::unique_ptr< weld::CheckButton > | m_xDriverPoolingEnabled |
std::unique_ptr< weld::Label > | m_xTimeoutLabel |
std::unique_ptr< weld::SpinButton > | m_xTimeout |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 28 of file connpooloptions.hxx.
offapp::ConnectionPoolOptionsPage::ConnectionPoolOptionsPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | _rAttrSet | ||
) |
Definition at line 47 of file connpooloptions.cxx.
References LINK, m_xDriverList, m_xDriverPoolingEnabled, m_xEnablePooling, and m_xTimeout.
|
overridevirtual |
Definition at line 124 of file connpooloptions.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 184 of file connpooloptions.cxx.
References SfxTabPage::ActivatePage(), and implInitControls().
|
private |
Definition at line 218 of file connpooloptions.cxx.
References m_aSettings, m_xDriverList, m_xTimeout, and updateCurrentRow().
Referenced by FillItemSet().
|
static |
Definition at line 128 of file connpooloptions.cxx.
Referenced by CreateGeneralTabPage().
|
private |
|
private |
|
private |
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 162 of file connpooloptions.cxx.
References commitTimeoutField(), isModifiedDriverList(), m_aSettings, m_xEnablePooling, SfxItemSet::Put(), SID_SB_DRIVER_TIMEOUTS, and SID_SB_POOLING_ENABLED.
|
private |
Definition at line 133 of file connpooloptions.cxx.
References SfxItemSet::GetItem(), offapp::DriverPoolingSettingsItem::getSettings(), SfxBoolItem::GetValue(), m_xEnablePooling, SAL_WARN, saveDriverList(), SID_SB_DRIVER_TIMEOUTS, SID_SB_POOLING_ENABLED, and UpdateDriverList().
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 31 of file connpooloptions.cxx.
References offapp::DriverPoolingSettings::begin(), m_aSavedSettings, m_aSettings, and offapp::DriverPoolingSettings::size().
Referenced by FillItemSet().
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 190 of file connpooloptions.cxx.
References implInitControls().
|
inlineprivate |
Definition at line 58 of file connpooloptions.hxx.
References m_aSavedSettings, and m_aSettings.
Referenced by implInitControls().
|
private |
Definition at line 94 of file connpooloptions.cxx.
References m_xDriverList, and updateRow().
Referenced by commitTimeoutField().
|
private |
Definition at line 102 of file connpooloptions.cxx.
References offapp::DriverPoolingSettings::empty(), i, m_aSettings, m_xDriverList, offapp::DriverPoolingSettings::size(), and updateRow().
Referenced by implInitControls().
|
private |
Definition at line 78 of file connpooloptions.cxx.
References m_aSettings, m_sNo, m_sYes, and m_xDriverList.
Referenced by updateCurrentRow(), and UpdateDriverList().
|
private |
Definition at line 33 of file connpooloptions.hxx.
Referenced by isModifiedDriverList(), and saveDriverList().
|
private |
Definition at line 32 of file connpooloptions.hxx.
Referenced by commitTimeoutField(), FillItemSet(), isModifiedDriverList(), saveDriverList(), UpdateDriverList(), and updateRow().
|
private |
Definition at line 31 of file connpooloptions.hxx.
Referenced by updateRow().
|
private |
Definition at line 30 of file connpooloptions.hxx.
Referenced by updateRow().
|
private |
Definition at line 39 of file connpooloptions.hxx.
|
private |
Definition at line 38 of file connpooloptions.hxx.
|
private |
Definition at line 37 of file connpooloptions.hxx.
Referenced by commitTimeoutField(), ConnectionPoolOptionsPage(), updateCurrentRow(), UpdateDriverList(), and updateRow().
|
private |
Definition at line 40 of file connpooloptions.hxx.
Referenced by ConnectionPoolOptionsPage().
|
private |
Definition at line 36 of file connpooloptions.hxx.
|
private |
Definition at line 35 of file connpooloptions.hxx.
Referenced by ConnectionPoolOptionsPage(), FillItemSet(), and implInitControls().
|
private |
Definition at line 42 of file connpooloptions.hxx.
Referenced by commitTimeoutField(), and ConnectionPoolOptionsPage().
|
private |
Definition at line 41 of file connpooloptions.hxx.