summaryrefslogtreecommitdiff
path: root/svx/source/unodialogs
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-12-06 09:48:44 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-12-07 11:15:03 +0100
commit57d532057b4dcc248b9332835df2d6b7f61dfd92 (patch)
tree7db12ecf16654394f88014810a87cd0dd63bd6d5 /svx/source/unodialogs
parent4b9bf0a2b9c0f2bcba1f4f8a7ba45f1e7672d77a (diff)
weld: Rename weld::Treeview selection signal/connect
Rename weld::TreeView member + methods to clarify that these are about selection changes: * m_aChangeHdl to m_aSelectionChangedHdl, * signal_changed to signal_selection_changed * connect_changed to connect_selection_changed In GtkInstanceTreeview, also rename the related methods calling signal_selection_changed accordingly for consistency. Change-Id: I299d7930484677395a0bdd0ff105df18688f2e04 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178023 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'svx/source/unodialogs')
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
index fc05f397693d..87aae3dc4543 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
@@ -68,7 +68,10 @@ public:
void set_size_request(int nWidth, int nHeight) { m_xControl->set_size_request(nWidth, nHeight); }
void hide() { m_xControl->hide(); }
void show() { m_xControl->show(); }
- void connect_changed(const Link<weld::TreeView&, void>& rLink) { m_xControl->connect_changed(rLink); }
+ void connect_changed(const Link<weld::TreeView&, void>& rLink)
+ {
+ m_xControl->connect_selection_changed(rLink);
+ }
void connect_column_clicked(const Link<int, void>& rLink) { m_xControl->connect_column_clicked(rLink); }
bool get_sort_order() const { return m_xControl->get_sort_order(); }
void set_sort_order(bool bAscending) { return m_xControl->set_sort_order(bAscending); }