summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-20 10:28:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-20 15:31:55 +0200
commitf180554caf7d6088d3fc0da805f5c195f8972e6b (patch)
tree799d2185e4d2090d1a61d09681936761417f8f7f /cui/source
parent3f8e50f9b2fb35db190ce0204981f3f02d1d5ae6 (diff)
use toggle instead of click for RadioButton
Change-Id: I2a01d78e2e98b35d2cd24dd7d7d2efda41e35ca8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115863 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx18
-rw-r--r--cui/source/factory/dlgfact.cxx2
-rw-r--r--cui/source/factory/dlgfact.hxx2
-rw-r--r--cui/source/inc/hangulhanjadlg.hxx2
4 files changed, 12 insertions, 12 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 9ec24c5cb72e..713001004091 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -201,7 +201,7 @@ namespace svx
void set_active(bool active) { m_xControl->set_active(active); }
bool get_active() const { return m_xControl->get_active(); }
- void connect_clicked(const Link<weld::Button&, void>& rLink) { m_xControl->connect_clicked(rLink); }
+ void connect_toggled(const Link<weld::ToggleButton&, void>& rLink) { m_xControl->connect_toggled(rLink); }
private:
Size GetOptimalSize() const;
@@ -517,15 +517,15 @@ namespace svx
m_xFind->connect_clicked(rHdl);
}
- void HangulHanjaConversionDialog::SetConversionFormatChangedHdl( const Link<weld::Button&,void>& rHdl )
+ void HangulHanjaConversionDialog::SetConversionFormatChangedHdl( const Link<weld::ToggleButton&,void>& rHdl )
{
- m_xSimpleConversion->connect_clicked( rHdl );
- m_xHangulBracketed->connect_clicked( rHdl );
- m_xHanjaBracketed->connect_clicked( rHdl );
- m_xHanjaAbove->connect_clicked( rHdl );
- m_xHanjaBelow->connect_clicked( rHdl );
- m_xHangulAbove->connect_clicked( rHdl );
- m_xHangulBelow->connect_clicked( rHdl );
+ m_xSimpleConversion->connect_toggled( rHdl );
+ m_xHangulBracketed->connect_toggled( rHdl );
+ m_xHanjaBracketed->connect_toggled( rHdl );
+ m_xHanjaAbove->connect_toggled( rHdl );
+ m_xHanjaBelow->connect_toggled( rHdl );
+ m_xHangulAbove->connect_toggled( rHdl );
+ m_xHangulBelow->connect_toggled( rHdl );
}
void HangulHanjaConversionDialog::SetClickByCharacterHdl( const Link<weld::ToggleButton&,void>& _rHdl )
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index 6d0e9e31f77f..52ab08fb3a42 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -463,7 +463,7 @@ void AbstractHangulHanjaConversionDialog_Impl::SetClickByCharacterHdl( const Lin
m_xDlg->SetClickByCharacterHdl(_rHdl );
}
-void AbstractHangulHanjaConversionDialog_Impl::SetConversionFormatChangedHdl(const Link<weld::Button&,void>& rHdl)
+void AbstractHangulHanjaConversionDialog_Impl::SetConversionFormatChangedHdl(const Link<weld::ToggleButton&,void>& rHdl)
{
m_xDlg->SetConversionFormatChangedHdl(rHdl);
}
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx
index 1678d3c6349b..452bd08feba4 100644
--- a/cui/source/factory/dlgfact.hxx
+++ b/cui/source/factory/dlgfact.hxx
@@ -193,7 +193,7 @@ public:
virtual void SetChangeHdl( const Link<weld::Button&,void>& _rHdl ) override ;
virtual void SetChangeAllHdl( const Link<weld::Button&,void>& rHdl ) override ;
virtual void SetClickByCharacterHdl( const Link<weld::ToggleButton&,void>& rHdl ) override ;
- virtual void SetConversionFormatChangedHdl( const Link<weld::Button&,void>& _rHdl ) override ;
+ virtual void SetConversionFormatChangedHdl( const Link<weld::ToggleButton&,void>& _rHdl ) override ;
virtual void SetFindHdl( const Link<weld::Button&,void>& _rHdl ) override;
virtual bool GetUseBothDirections( ) const override;
virtual editeng::HangulHanjaConversion::ConversionDirection
diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx
index 716efa0827b8..f1344c800157 100644
--- a/cui/source/inc/hangulhanjadlg.hxx
+++ b/cui/source/inc/hangulhanjadlg.hxx
@@ -129,7 +129,7 @@ namespace svx
void SetChangeAllHdl( const Link<weld::Button&,void>& _rHdl );
void SetClickByCharacterHdl( const Link<weld::ToggleButton&,void>& _rHdl );
- void SetConversionFormatChangedHdl( const Link<weld::Button&,void>& _rHdl );
+ void SetConversionFormatChangedHdl( const Link<weld::ToggleButton&,void>& _rHdl );
void SetFindHdl( const Link<weld::Button&,void>& _rHdl );
OUString GetCurrentString( ) const;