Kaydet (Commit) 94aa2e50 authored tarafından Caolán McNamara's avatar Caolán McNamara

drop metric connect_changed, use connect_value_changed

Change-Id: Ic89b4185ee76567af807b3e6a56eca691b707a3f
Reviewed-on: https://gerrit.libreoffice.org/54094Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c82438da
......@@ -642,8 +642,6 @@ public:
m_aValueChangedHdl = rLink;
}
void connect_changed(const Link<Entry&, void>& rLink) { m_xSpinButton->connect_changed(rLink); }
int normalize(int nValue) const { return m_xSpinButton->normalize(nValue); }
int denormalize(int nValue) const { return m_xSpinButton->denormalize(nValue); }
void set_sensitive(bool sensitive) { m_xSpinButton->set_sensitive(sensitive); }
......@@ -721,8 +719,6 @@ public:
m_aValueChangedHdl = rLink;
}
void connect_changed(const Link<Entry&, void>& rLink) { m_xSpinButton->connect_changed(rLink); }
void set_sensitive(bool sensitive) { m_xSpinButton->set_sensitive(sensitive); }
bool get_sensitive() const { return m_xSpinButton->get_sensitive(); }
bool get_visible() const { return m_xSpinButton->get_visible(); }
......
......@@ -73,7 +73,7 @@ SdStartPresentationDlg::SdStartPresentationDlg(weld::Window* pWindow, const SfxI
m_xRbtWindow->connect_clicked( aLink );
m_xRbtAuto->connect_clicked( aLink );
m_xTmfPause->connect_changed( LINK( this, SdStartPresentationDlg, ChangePauseHdl ) );
m_xTmfPause->connect_value_changed( LINK( this, SdStartPresentationDlg, ChangePauseHdl ) );
// fill Listbox with page names
for (std::vector<OUString>::const_iterator pIter = rPageNames.begin(); pIter != rPageNames.end(); ++pIter)
......@@ -309,7 +309,7 @@ IMPL_LINK_NOARG(SdStartPresentationDlg, ClickWindowPresentationHdl, weld::Button
/**
* Handler: Enabled/Disabled Checkbox "AlwaysOnTop"
*/
IMPL_LINK_NOARG(SdStartPresentationDlg, ChangePauseHdl, weld::Entry&, void)
IMPL_LINK_NOARG(SdStartPresentationDlg, ChangePauseHdl, weld::TimeSpinButton&, void)
{
ChangePause();
}
......
......@@ -66,7 +66,7 @@ private:
DECL_LINK(ChangeRangeHdl, weld::Button&, void);
DECL_LINK(ClickWindowPresentationHdl, weld::Button&, void);
void ChangePause();
DECL_LINK(ChangePauseHdl, weld::Entry&, void);
DECL_LINK(ChangePauseHdl, weld::TimeSpinButton&, void);
void InitMonitorSettings();
enum DisplayType {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment