basctl/source/basicide/ColorSchemeDialog.cxx                          |    2 
 basctl/source/basicide/baside2b.cxx                                   |    4 -
 basctl/source/basicide/macrodlg.cxx                                   |    2 
 basctl/source/basicide/moduldl2.cxx                                   |    2 
 basctl/source/dlged/managelang.cxx                                    |    2 
 basctl/source/inc/bastype2.hxx                                        |    5 +-
 chart2/source/controller/dialogs/res_BarGeometry.cxx                  |    2 
 chart2/source/controller/dialogs/tp_ChartType.cxx                     |    2 
 chart2/source/controller/dialogs/tp_DataSource.cxx                    |    5 +-
 cui/source/customize/SvxMenuConfigPage.cxx                            |    2 
 cui/source/customize/SvxToolbarConfigPage.cxx                         |    2 
 cui/source/customize/acccfg.cxx                                       |    4 -
 cui/source/customize/cfg.cxx                                          |    4 -
 cui/source/customize/macropg.cxx                                      |    2 
 cui/source/dialogs/cuigaldlg.cxx                                      |    2 
 cui/source/dialogs/dlgname.cxx                                        |    2 
 cui/source/dialogs/hangulhanjadlg.cxx                                 |    6 +-
 cui/source/dialogs/linkdlg.cxx                                        |    2 
 cui/source/dialogs/multipat.cxx                                       |    4 -
 cui/source/dialogs/pastedlg.cxx                                       |    2 
 cui/source/dialogs/scriptdlg.cxx                                      |    2 
 cui/source/dialogs/thesdlg.cxx                                        |    3 -
 cui/source/inc/MacroManagerDialog.hxx                                 |    4 -
 cui/source/inc/cfgutil.hxx                                            |   10 
+++-
 cui/source/options/connpooloptions.cxx                                |    3 -
 cui/source/options/dbregister.cxx                                     |    2 
 cui/source/options/fontsubs.cxx                                       |    2 
 cui/source/options/optdict.cxx                                        |    4 -
 cui/source/options/optjava.cxx                                        |    6 +-
 cui/source/options/optlingu.cxx                                       |    8 
+--
 cui/source/options/optpath.cxx                                        |    2 
 cui/source/options/treeopt.cxx                                        |    2 
 cui/source/options/tsaurls.cxx                                        |    2 
 cui/source/options/webconninfo.cxx                                    |    3 -
 cui/source/tabpages/autocdlg.cxx                                      |   10 
++--
 cui/source/tabpages/chardlg.cxx                                       |    4 -
 cui/source/tabpages/macroass.cxx                                      |    2 
 cui/source/tabpages/numfmt.cxx                                        |    4 -
 cui/source/tabpages/numpages.cxx                                      |    4 -
 dbaccess/source/ui/app/AppDetailView.cxx                              |    2 
 dbaccess/source/ui/control/dbtreelistbox.cxx                          |    2 
 dbaccess/source/ui/dlg/adtabdlg.cxx                                   |    4 -
 dbaccess/source/ui/dlg/dbfindex.cxx                                   |    6 +-
 dbaccess/source/ui/dlg/indexdialog.cxx                                |    2 
 dbaccess/source/ui/dlg/paramdialog.cxx                                |    3 -
 dbaccess/source/ui/dlg/sqlmessage.cxx                                 |    3 -
 dbaccess/source/ui/inc/WTypeSelect.hxx                                |    2 
 dbaccess/source/ui/misc/WNameMatch.cxx                                |    4 -
 desktop/source/deployment/gui/dp_gui_updatedialog.cxx                 |    2 
 extensions/source/abpilot/tableselectionpage.cxx                      |    2 
 extensions/source/dbpilots/commonpagesdbp.cxx                         |    5 +-
 extensions/source/dbpilots/gridwizard.cxx                             |    5 +-
 extensions/source/dbpilots/groupboxwiz.cxx                            |    5 +-
 extensions/source/dbpilots/listcombowizard.cxx                        |    6 +-
 extensions/source/propctrlr/selectlabeldialog.cxx                     |    2 
 extensions/source/scanner/sanedlg.cxx                                 |    2 
 filter/source/pdf/impdialog.cxx                                       |    2 
 filter/source/xsltdialog/xmlfiltersettingsdialog.cxx                  |    3 -
 formula/source/ui/dlg/funcpage.cxx                                    |    2 
 formula/source/ui/dlg/structpg.cxx                                    |    2 
 fpicker/source/office/PlacesListBox.cxx                               |    2 
 fpicker/source/office/fileview.cxx                                    |    5 +-
 fpicker/source/office/foldertree.hxx                                  |    5 +-
 include/svx/txencbox.hxx                                              |    5 +-
 include/vcl/jsdialog/executor.hxx                                     |    2 
 include/vcl/weld.hxx                                                  |    9 
++-
 reportdesign/source/ui/dlg/AddField.cxx                               |    2 
 reportdesign/source/ui/dlg/Navigator.cxx                              |    2 
 sc/source/ui/cctrl/checklistmenu.cxx                                  |    8 
++-
 sc/source/ui/dbgui/consdlg.cxx                                        |    2 
 sc/source/ui/dbgui/tpsubt.cxx                                         |    4 -
 sc/source/ui/dialogs/searchresults.cxx                                |    2 
 sc/source/ui/formdlg/dwfunctr.cxx                                     |    2 
 sc/source/ui/inc/namemgrtable.hxx                                     |    5 +-
 sc/source/ui/miscdlgs/acredlin.cxx                                    |    2 
 sc/source/ui/miscdlgs/conflictsdlg.cxx                                |    2 
 sc/source/ui/miscdlgs/crnrdlg.cxx                                     |    2 
 sc/source/ui/miscdlgs/instbdlg.cxx                                    |    2 
 sc/source/ui/miscdlgs/linkarea.cxx                                    |    2 
 sc/source/ui/miscdlgs/scuiautofmt.cxx                                 |    2 
 sc/source/ui/miscdlgs/solveroptions.cxx                               |    2 
 sc/source/ui/navipi/scenwnd.cxx                                       |    2 
 sc/source/ui/optdlg/tpusrlst.cxx                                      |    2 
 sc/source/ui/xmlsource/xmlsourcedlg.cxx                               |    2 
 sd/source/ui/animations/CustomAnimationList.cxx                       |    2 
 sd/source/ui/animations/CustomAnimationPane.cxx                       |    2 
 sd/source/ui/dlg/BulletAndPositionDlg.cxx                             |    2 
 sd/source/ui/dlg/PhotoAlbumDialog.cxx                                 |    2 
 sd/source/ui/dlg/SelectLayerDlg.cxx                                   |    2 
 sd/source/ui/dlg/custsdlg.cxx                                         |    6 +-
 sd/source/ui/dlg/sdtreelb.cxx                                         |    2 
 sfx2/source/appl/newhelp.cxx                                          |    2 
 sfx2/source/control/templatedlglocalview.cxx                          |    2 
 sfx2/source/devtools/DevelopmentToolDockingWindow.cxx                 |    2 
 sfx2/source/devtools/ObjectInspectorTreeHandler.cxx                   |    8 
+--
 sfx2/source/dialog/StyleList.cxx                                      |    4 -
 sfx2/source/dialog/versdlg.cxx                                        |    2 
 sfx2/source/doc/new.cxx                                               |    4 -
 sfx2/source/doc/saveastemplatedlg.cxx                                 |    3 -
 sfx2/source/doc/templatedlg.cxx                                       |    3 -
 svx/source/form/datanavi.cxx                                          |    4 -
 svx/source/form/filtnav.cxx                                           |    2 
 svx/source/form/navigatortree.cxx                                     |    2 
 svx/source/gallery2/galbrws1.cxx                                      |    4 -
 svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx |    5 +-
 sw/source/ui/chrdlg/swuiccoll.cxx                                     |    4 -
 sw/source/ui/config/optload.cxx                                       |    2 
 sw/source/ui/dbui/addresslistdialog.cxx                               |    2 
 sw/source/ui/dbui/customizeaddresslistdialog.cxx                      |    3 -
 sw/source/ui/dbui/dbinsdlg.cxx                                        |    6 +-
 sw/source/ui/dbui/mmaddressblockpage.cxx                              |    3 -
 sw/source/ui/dialog/uiregionsw.cxx                                    |    2 
 sw/source/ui/fldui/DropDownFormFieldDialog.cxx                        |    3 -
 sw/source/ui/fldui/changedb.cxx                                       |    2 
 sw/source/ui/fldui/flddb.cxx                                          |    2 
 sw/source/ui/fldui/flddinf.cxx                                        |    4 -
 sw/source/ui/fldui/flddok.cxx                                         |    8 
+--
 sw/source/ui/fldui/fldfunc.cxx                                        |    6 +-
 sw/source/ui/fldui/fldref.cxx                                         |    9 
++-
 sw/source/ui/fldui/fldvar.cxx                                         |    4 -
 sw/source/ui/inc/bookmark.hxx                                         |    2 
 sw/source/ui/index/cnttab.cxx                                         |    6 +-
 sw/source/ui/index/multmrk.cxx                                        |    2 
 sw/source/ui/misc/contentcontroldlg.cxx                               |    2 
 sw/source/ui/misc/glosbib.cxx                                         |    2 
 sw/source/ui/misc/glossary.cxx                                        |    2 
 sw/source/ui/misc/num.cxx                                             |    2 
 sw/source/ui/misc/outline.cxx                                         |    4 -
 sw/source/ui/table/convert.cxx                                        |    2 
 sw/source/ui/table/instable.cxx                                       |    2 
 sw/source/ui/table/tautofmt.cxx                                       |    2 
 sw/source/uibase/inc/dbtree.hxx                                       |    5 +-
 sw/source/uibase/misc/redlndlg.cxx                                    |    6 +-
 sw/source/uibase/sidebar/QuickFindPanel.cxx                           |    2 
 sw/source/uibase/utlui/content.cxx                                    |    2 
 sw/source/uibase/utlui/glbltree.cxx                                   |    2 
 sw/source/uibase/utlui/gloslst.cxx                                    |    2 
 sw/source/uibase/utlui/numfmtlb.cxx                                   |    2 
 vcl/qt5/QtInstanceTreeView.cxx                                        |   24 
++++++++--
 vcl/source/app/salvtables.cxx                                         |    4 -
 vcl/source/window/builder.cxx                                         |    2 
 vcl/unx/generic/print/prtsetup.cxx                                    |    4 -
 vcl/unx/gtk3/gtkinst.cxx                                              |   16 
+++---
 xmlsecurity/source/dialogs/certificatechooser.cxx                     |    2 
 xmlsecurity/source/dialogs/certificateviewer.cxx                      |    5 +-
 xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx                |    3 -
 xmlsecurity/source/dialogs/macrosecurity.cxx                          |    6 +-
 147 files changed, 295 insertions(+), 221 deletions(-)

New commits:
commit 634e226c6b0b0fea7c620395a4e84c4701179a86
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Dec 6 09:59:32 2024 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Sat Dec 7 11:15:10 2024 +0100

    tdf#130857 qt weld: Implement getting/setting cursor
    
    This is independent of the selection.
    (For selection, there is weld::TreeView::select
    and weld::TreeView::get_selected_index instead.)
    
    Change-Id: I3698a080cebaf4411740b0e7a95c54743e84d881
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178024
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/vcl/qt5/QtInstanceTreeView.cxx b/vcl/qt5/QtInstanceTreeView.cxx
index 2644ac9fdce1..e2d28af9932c 100644
--- a/vcl/qt5/QtInstanceTreeView.cxx
+++ b/vcl/qt5/QtInstanceTreeView.cxx
@@ -248,11 +248,27 @@ bool QtInstanceTreeView::is_selected(int) const
 
 int QtInstanceTreeView::get_cursor_index() const
 {
-    assert(false && "Not implemented yet");
-    return -1;
+    SolarMutexGuard g;
+
+    int nIndex = -1;
+    GetQtInstance().RunInMainThread([&] {
+        const QModelIndex aCurrentIndex = m_pSelectionModel->currentIndex();
+        if (aCurrentIndex.isValid())
+            nIndex = aCurrentIndex.row();
+
+    });
+
+    return nIndex;
 }
 
-void QtInstanceTreeView::set_cursor(int) { assert(false && "Not implemented 
yet"); }
+void QtInstanceTreeView::set_cursor(int nPos)
+{
+    SolarMutexGuard g;
+
+    GetQtInstance().RunInMainThread([&] {
+        m_pSelectionModel->setCurrentIndex(m_pModel->index(nPos, 0), 
QItemSelectionModel::NoUpdate);
+    });
+}
 
 int QtInstanceTreeView::find_text(const OUString& rText) const
 {
commit 57d532057b4dcc248b9332835df2d6b7f61dfd92
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Dec 6 09:48:44 2024 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Sat Dec 7 11:15:03 2024 +0100

    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.wegh...@posteo.de>

diff --git a/basctl/source/basicide/ColorSchemeDialog.cxx 
b/basctl/source/basicide/ColorSchemeDialog.cxx
index ca3eeca9cbef..c61f2071ae1e 100644
--- a/basctl/source/basicide/ColorSchemeDialog.cxx
+++ b/basctl/source/basicide/ColorSchemeDialog.cxx
@@ -58,7 +58,7 @@ void ColorSchemeDialog::Init()
     m_xOk->connect_clicked(LINK(this, ColorSchemeDialog, BtnOkHdl));
     m_xUseAppCollors->connect_toggled(LINK(this, ColorSchemeDialog, 
OptionHdl));
     m_xUseScheme->connect_toggled(LINK(this, ColorSchemeDialog, OptionHdl));
-    m_xSchemeList->connect_changed(LINK(this, ColorSchemeDialog, SelectHdl));
+    m_xSchemeList->connect_selection_changed(LINK(this, ColorSchemeDialog, 
SelectHdl));
 
     // Populate the list with available color schemes
     for (auto const& rName : m_pColorConfig->GetColorSchemeNames())
diff --git a/basctl/source/basicide/baside2b.cxx 
b/basctl/source/basicide/baside2b.cxx
index b7b75b958183..93e36ab34061 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1740,7 +1740,7 @@ WatchWindow::WatchWindow(Layout* pParent)
     m_xTreeListBox->set_help_id(HID_BASICIDE_WATCHWINDOW_LIST);
     m_xTreeListBox->connect_editing(LINK(this, WatchWindow, EditingEntryHdl),
                                     LINK(this, WatchWindow, EditedEntryHdl));
-    m_xTreeListBox->connect_changed( LINK( this, WatchWindow, TreeListHdl ) );
+    m_xTreeListBox->connect_selection_changed(LINK(this, WatchWindow, 
TreeListHdl));
     m_xTreeListBox->connect_expanding(LINK(this, WatchWindow, 
RequestingChildrenHdl));
 
     // VarTabWidth, ValueTabWidth, TypeTabWidth
@@ -2864,7 +2864,7 @@ CodeCompleteWindow::CodeCompleteWindow(EditorWindow* pPar)
     , m_xListBox(m_xBuilder->weld_tree_view(u"treeview"_ustr))
 {
     m_xListBox->connect_row_activated(LINK(this, CodeCompleteWindow, 
ImplDoubleClickHdl));
-    m_xListBox->connect_changed(LINK(this, CodeCompleteWindow, ImplSelectHdl));
+    m_xListBox->connect_selection_changed(LINK(this, CodeCompleteWindow, 
ImplSelectHdl));
     m_xListBox->connect_key_press(LINK(this, CodeCompleteWindow, KeyInputHdl));
     m_xListBox->make_sorted();
     m_xListBox->set_direction(false);
diff --git a/basctl/source/basicide/macrodlg.cxx 
b/basctl/source/basicide/macrodlg.cxx
index 18ab8e2290f9..89becb241d45 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -100,7 +100,7 @@ MacroChooser::MacroChooser(weld::Window* pParnt, const 
Reference< frame::XFrame
     m_xBasicBox->connect_changed( LINK( this, MacroChooser, BasicSelectHdl ) );
 
     m_xMacroBox->connect_row_activated( LINK( this, MacroChooser, 
MacroDoubleClickHdl ) );
-    m_xMacroBox->connect_changed( LINK( this, MacroChooser, MacroSelectHdl ) );
+    m_xMacroBox->connect_selection_changed(LINK(this, MacroChooser, 
MacroSelectHdl));
     m_xMacroBox->connect_popup_menu( LINK( this, MacroChooser, ContextMenuHdl 
) );
 
     m_xBasicBox->SetMode( BrowseMode::Modules );
diff --git a/basctl/source/basicide/moduldl2.cxx 
b/basctl/source/basicide/moduldl2.cxx
index 49cf87a2d0d8..259957a48c89 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -246,7 +246,7 @@ LibPage::LibPage(weld::Container* pParent, OrganizeDialog* 
pDialog)
     m_xExportButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) );
     m_xInsertLibButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) );
     m_xDelButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) );
-    m_xLibBox->connect_changed( LINK( this, LibPage, TreeListHighlightHdl ) );
+    m_xLibBox->connect_selection_changed(LINK(this, LibPage, 
TreeListHighlightHdl));
 
     m_xBasicsBox->connect_changed( LINK( this, LibPage, BasicSelectHdl ) );
 
diff --git a/basctl/source/dlged/managelang.cxx 
b/basctl/source/dlged/managelang.cxx
index c014ca05f1de..3222733ebc10 100644
--- a/basctl/source/dlged/managelang.cxx
+++ b/basctl/source/dlged/managelang.cxx
@@ -88,7 +88,7 @@ void ManageLanguageDialog::Init()
     m_xAddPB->connect_clicked( LINK( this, ManageLanguageDialog, AddHdl ) );
     m_xDeletePB->connect_clicked( LINK( this, ManageLanguageDialog, DeleteHdl 
) );
     m_xMakeDefPB->connect_clicked( LINK( this, ManageLanguageDialog, 
MakeDefHdl ) );
-    m_xLanguageLB->connect_changed( LINK( this, ManageLanguageDialog, 
SelectHdl ) );
+    m_xLanguageLB->connect_selection_changed(LINK(this, ManageLanguageDialog, 
SelectHdl));
 
     m_xLanguageLB->set_selection_mode(SelectionMode::Multiple);
 }
diff --git a/basctl/source/inc/bastype2.hxx b/basctl/source/inc/bastype2.hxx
index 292d59b3ea8a..49731333680f 100644
--- a/basctl/source/inc/bastype2.hxx
+++ b/basctl/source/inc/bastype2.hxx
@@ -227,7 +227,10 @@ public:
                   std::unique_ptr<Entry>&& rUserData,
                   weld::TreeIter* pRet = nullptr);
 
-    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);
+    }
     std::unique_ptr<weld::TreeIter> make_iterator(const weld::TreeIter* pIter 
= nullptr) const { return m_xControl->make_iterator(pIter); }
     void copy_iterator(const weld::TreeIter& rSource, weld::TreeIter& rDest) 
const { m_xControl->copy_iterator(rSource, rDest); }
     bool get_selected(weld::TreeIter* pIter) const { return 
m_xControl->get_selected(pIter); }
diff --git a/chart2/source/controller/dialogs/res_BarGeometry.cxx 
b/chart2/source/controller/dialogs/res_BarGeometry.cxx
index cf25d970e99d..927906b06915 100644
--- a/chart2/source/controller/dialogs/res_BarGeometry.cxx
+++ b/chart2/source/controller/dialogs/res_BarGeometry.cxx
@@ -34,7 +34,7 @@ BarGeometryResources::BarGeometryResources(weld::Builder* 
pBuilder)
 
 void BarGeometryResources::connect_changed(const Link<weld::TreeView&, void>& 
rLink)
 {
-    m_xLB_Geometry->connect_changed(rLink);
+    m_xLB_Geometry->connect_selection_changed(rLink);
 }
 
 void BarGeometryResources::set_visible(bool bShow)
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx 
b/chart2/source/controller/dialogs/tp_ChartType.cxx
index 12fa0325cef4..45f5b277ef7e 100644
--- a/chart2/source/controller/dialogs/tp_ChartType.cxx
+++ b/chart2/source/controller/dialogs/tp_ChartType.cxx
@@ -71,7 +71,7 @@ ChartTypeTabPage::ChartTypeTabPage(weld::Container* pPage, 
weld::DialogControlle
 
     SetPageTitle(SchResId(STR_PAGE_CHARTTYPE));
 
-    m_xMainTypeList->connect_changed(LINK(this, ChartTypeTabPage, 
SelectMainTypeHdl));
+    m_xMainTypeList->connect_selection_changed(LINK(this, ChartTypeTabPage, 
SelectMainTypeHdl));
     m_xSubTypeList->SetSelectHdl( LINK( this, ChartTypeTabPage, 
SelectSubTypeHdl ) );
 
     m_xSubTypeList->SetStyle(m_xSubTypeList->GetStyle() |
diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx 
b/chart2/source/controller/dialogs/tp_DataSource.cxx
index 577ef29c6b63..4cc12689ebc9 100644
--- a/chart2/source/controller/dialogs/tp_DataSource.cxx
+++ b/chart2/source/controller/dialogs/tp_DataSource.cxx
@@ -184,8 +184,9 @@ DataSourceTabPage::DataSourceTabPage(weld::Container* 
pPage, weld::DialogControl
     SetPageTitle(SchResId(STR_OBJECT_DATASERIES_PLURAL));
 
     // set handlers
-    m_xLB_SERIES->connect_changed(LINK(this, DataSourceTabPage, 
SeriesSelectionChangedHdl));
-    m_xLB_ROLE->connect_changed(LINK(this, DataSourceTabPage, 
RoleSelectionChangedHdl));
+    m_xLB_SERIES->connect_selection_changed(
+        LINK(this, DataSourceTabPage, SeriesSelectionChangedHdl));
+    m_xLB_ROLE->connect_selection_changed(LINK(this, DataSourceTabPage, 
RoleSelectionChangedHdl));
 
     m_xIMB_RANGE_MAIN->connect_clicked(LINK(this, DataSourceTabPage, 
MainRangeButtonClickedHdl));
     m_xIMB_RANGE_CAT->connect_clicked(LINK(this, DataSourceTabPage, 
CategoriesRangeButtonClickedHdl));
diff --git a/cui/source/customize/SvxMenuConfigPage.cxx 
b/cui/source/customize/SvxMenuConfigPage.cxx
index 2a75181ae95a..d8d1d86387d2 100644
--- a/cui/source/customize/SvxMenuConfigPage.cxx
+++ b/cui/source/customize/SvxMenuConfigPage.cxx
@@ -54,7 +54,7 @@ SvxMenuConfigPage::SvxMenuConfigPage(weld::Container* pPage, 
weld::DialogControl
     rTreeView.set_vexpand(true);
     rTreeView.show();
 
-    rTreeView.connect_changed(LINK(this, SvxMenuConfigPage, SelectMenuEntry));
+    rTreeView.connect_selection_changed(LINK(this, SvxMenuConfigPage, 
SelectMenuEntry));
     rTreeView.connect_popup_menu(LINK(this, SvxMenuConfigPage, 
ContentContextMenuHdl));
 
     m_xFunctions->get_widget().connect_popup_menu(
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx 
b/cui/source/customize/SvxToolbarConfigPage.cxx
index a1ba639f0e27..95afc2e12359 100644
--- a/cui/source/customize/SvxToolbarConfigPage.cxx
+++ b/cui/source/customize/SvxToolbarConfigPage.cxx
@@ -64,7 +64,7 @@ SvxToolbarConfigPage::SvxToolbarConfigPage(weld::Container* 
pPage,
     rTreeView.set_help_id(HID_SVX_CONFIG_TOOLBAR_CONTENTS);
     rTreeView.show();
 
-    rTreeView.connect_changed(LINK(this, SvxToolbarConfigPage, 
SelectToolbarEntry));
+    rTreeView.connect_selection_changed(LINK(this, SvxToolbarConfigPage, 
SelectToolbarEntry));
     rTreeView.connect_popup_menu(LINK(this, SvxToolbarConfigPage, 
ContentContextMenuHdl));
 
     m_xFunctions->get_widget().connect_popup_menu(
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index a83cc24e520e..49e714146bf5 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -892,11 +892,11 @@ 
SfxAcceleratorConfigPage::SfxAcceleratorConfigPage(weld::Container* pPage,
     // install handler functions
     m_xChangeButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, 
ChangeHdl));
     m_xRemoveButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, 
RemoveHdl));
-    m_xEntriesBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, 
SelectHdl));
+    m_xEntriesBox->connect_selection_changed(LINK(this, 
SfxAcceleratorConfigPage, SelectHdl));
     m_xEntriesBox->connect_key_press(LINK(this, SfxAcceleratorConfigPage, 
KeyInputHdl));
     m_xGroupLBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, 
SelectHdl));
     m_xFunctionBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, 
SelectHdl));
-    m_xKeyBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, 
SelectHdl));
+    m_xKeyBox->connect_selection_changed(LINK(this, SfxAcceleratorConfigPage, 
SelectHdl));
     m_xLoadButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Load));
     m_xSaveButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Save));
     m_xResetButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, 
Default));
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 3aaa07d6bb15..0bd6b44ede66 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1041,7 +1041,7 @@ SvxConfigPage::SvxConfigPage(weld::Container* pPage, 
weld::DialogController* pCo
     m_xSearchEdit->connect_focus_out(LINK(this, SvxConfigPage, FocusOut_Impl));
 
     rTreeView.connect_row_activated(LINK(this, SvxConfigPage, 
FunctionDoubleClickHdl));
-    rTreeView.connect_changed(LINK(this, SvxConfigPage, SelectFunctionHdl));
+    rTreeView.connect_selection_changed(LINK(this, SvxConfigPage, 
SelectFunctionHdl));
 }
 
 IMPL_LINK_NOARG(SvxConfigPage, SelectElementHdl, weld::ComboBox&, void)
@@ -1838,7 +1838,7 @@ SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog(
         m_xDialog->set_title(CuiResId(RID_CUISTR_MOVE_MENU));
     }
 
-    m_xMenuListBox->connect_changed(LINK(this, SvxMainMenuOrganizerDialog, 
SelectHdl));
+    m_xMenuListBox->connect_selection_changed(LINK(this, 
SvxMainMenuOrganizerDialog, SelectHdl));
 
     m_xMoveUpButton->connect_clicked(LINK( this, SvxMainMenuOrganizerDialog, 
MoveHdl));
     m_xMoveDownButton->connect_clicked(LINK( this, SvxMainMenuOrganizerDialog, 
MoveHdl));
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index 60824e011f00..a6b13d5ff5c1 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -561,7 +561,7 @@ void SvxMacroTabPage_::InitAndSetHandler( const Reference< 
container::XNameRepla
     if( mpImpl->xAssignComponentPB )
         mpImpl->xAssignComponentPB->connect_clicked( aLnk );
     mpImpl->xEventLB->connect_row_activated( LINK(this, SvxMacroTabPage_, 
DoubleClickHdl_Impl ) );
-    mpImpl->xEventLB->connect_changed( LINK( this, SvxMacroTabPage_, 
SelectEvent_Impl ));
+    mpImpl->xEventLB->connect_selection_changed(LINK(this, SvxMacroTabPage_, 
SelectEvent_Impl));
 
     std::vector<int> aWidths
     {
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index 1bf026e7d865..026abd399608 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -610,7 +610,7 @@ void TPGalleryThemeProperties::SetXChgData( ExchangeData* 
_pData )
     m_xCbxPreview->connect_toggled(LINK(this, TPGalleryThemeProperties, 
ClickPreviewHdl));
     m_xCbbFileType->connect_changed(LINK(this, TPGalleryThemeProperties, 
SelectFileTypeHdl));
     m_xLbxFound->connect_row_activated(LINK(this, TPGalleryThemeProperties, 
DClickFoundHdl));
-    m_xLbxFound->connect_changed(LINK(this, TPGalleryThemeProperties, 
SelectFoundHdl));
+    m_xLbxFound->connect_selection_changed(LINK(this, 
TPGalleryThemeProperties, SelectFoundHdl));
     m_xLbxFound->append_text(CuiResId(RID_CUISTR_GALLERY_NOFILES));
     m_xLbxFound->show();
 
diff --git a/cui/source/dialogs/dlgname.cxx b/cui/source/dialogs/dlgname.cxx
index 8067e29bb7c7..5e0cdacbf599 100644
--- a/cui/source/dialogs/dlgname.cxx
+++ b/cui/source/dialogs/dlgname.cxx
@@ -160,7 +160,7 @@ SvxListDialog::SvxListDialog(weld::Window* pParent)
     m_xAddBtn->connect_clicked(LINK(this, SvxListDialog, AddHdl_Impl));
     m_xRemoveBtn->connect_clicked(LINK(this, SvxListDialog, RemoveHdl_Impl));
     m_xEditBtn->connect_clicked(LINK(this, SvxListDialog, EditHdl_Impl));
-    m_xList->connect_changed(LINK(this, SvxListDialog, SelectHdl_Impl));
+    m_xList->connect_selection_changed(LINK(this, SvxListDialog, 
SelectHdl_Impl));
     m_xList->connect_row_activated(LINK(this, SvxListDialog, 
DblClickHdl_Impl));
 
     SelectionChanged();
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx 
b/cui/source/dialogs/hangulhanjadlg.cxx
index 576055575751..66a3643e3b01 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -294,7 +294,8 @@ namespace svx
         , m_xListBox(rBuilder.weld_tree_view(u"listbox"_ustr))
     {
         m_xValueSet->SetSelectHdl( LINK( this, SuggestionDisplay, 
SelectSuggestionValueSetHdl ) );
-        m_xListBox->connect_changed( LINK( this, SuggestionDisplay, 
SelectSuggestionListBoxHdl ) );
+        m_xListBox->connect_selection_changed(
+            LINK(this, SuggestionDisplay, SelectSuggestionListBoxHdl));
 
         m_xValueSet->SetLineCount( LINE_CNT );
         m_xValueSet->SetStyle( m_xValueSet->GetStyle() | WB_ITEMBORDER | 
WB_VSCROLL );
@@ -894,7 +895,8 @@ namespace svx
 
         m_xDictsLB->enable_toggle_buttons(weld::ColumnToggleType::Check);
 
-        m_xDictsLB->connect_changed( LINK( this, HangulHanjaOptionsDialog, 
DictsLB_SelectHdl ) );
+        m_xDictsLB->connect_selection_changed(
+            LINK(this, HangulHanjaOptionsDialog, DictsLB_SelectHdl));
 
         m_xOkPB->connect_clicked( LINK( this, HangulHanjaOptionsDialog, OkHdl 
) );
         m_xNewPB->connect_clicked( LINK( this, HangulHanjaOptionsDialog, 
NewDictHdl ) );
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index e0ff180e1235..d78dd2bbc6d6 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -115,7 +115,7 @@ SvBaseLinksDlg::SvBaseLinksDlg(weld::Window * pParent, 
LinkManager* pMgr, bool b
     aUpdateIdle.SetInvokeHandler( LINK( this, SvBaseLinksDlg, UpdateWaitingHdl 
) );
     aUpdateIdle.SetPriority( TaskPriority::LOWEST );
 
-    m_xTbLinks->connect_changed( LINK( this, SvBaseLinksDlg, LinksSelectHdl ) 
);
+    m_xTbLinks->connect_selection_changed(LINK(this, SvBaseLinksDlg, 
LinksSelectHdl));
     m_xTbLinks->connect_row_activated( LINK( this, SvBaseLinksDlg, 
LinksDoubleClickHdl ) );
     m_xRbAutomatic->connect_toggled( LINK( this, SvBaseLinksDlg, ToggleHdl ) );
     m_xRbManual->connect_toggled( LINK( this, SvBaseLinksDlg, ToggleHdl ) );
diff --git a/cui/source/dialogs/multipat.cxx b/cui/source/dialogs/multipat.cxx
index abd8d56411fb..03ba230df8f1 100644
--- a/cui/source/dialogs/multipat.cxx
+++ b/cui/source/dialogs/multipat.cxx
@@ -196,7 +196,7 @@ SvxMultiPathDialog::SvxMultiPathDialog(weld::Window* 
pParent)
                                  m_xRadioLB->get_text_height() * 10);
     m_xRadioLB->enable_toggle_buttons(weld::ColumnToggleType::Radio);
     m_xRadioLB->connect_toggled(LINK(this, SvxMultiPathDialog, CheckHdl_Impl));
-    m_xRadioLB->connect_changed(LINK(this, SvxMultiPathDialog, 
SelectHdl_Impl));
+    m_xRadioLB->connect_selection_changed(LINK(this, SvxMultiPathDialog, 
SelectHdl_Impl));
 
     m_xAddBtn->connect_clicked(LINK(this, SvxMultiPathDialog, AddHdl_Impl));
     m_xDelBtn->connect_clicked(LINK(this, SvxMultiPathDialog, DelHdl_Impl));
@@ -213,7 +213,7 @@ SvxPathSelectDialog::SvxPathSelectDialog(weld::Window* 
pParent)
     m_xPathLB->set_size_request(m_xPathLB->get_approximate_digit_width() * 60,
                                 m_xPathLB->get_text_height() * 10);
 
-    m_xPathLB->connect_changed(LINK(this, SvxPathSelectDialog, 
SelectHdl_Impl));
+    m_xPathLB->connect_selection_changed(LINK(this, SvxPathSelectDialog, 
SelectHdl_Impl));
     m_xAddBtn->connect_clicked(LINK(this, SvxPathSelectDialog, AddHdl_Impl));
     m_xDelBtn->connect_clicked(LINK(this, SvxPathSelectDialog, DelHdl_Impl));
 
diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx
index 91e91bf0dcec..4c5a010466f8 100644
--- a/cui/source/dialogs/pastedlg.cxx
+++ b/cui/source/dialogs/pastedlg.cxx
@@ -39,7 +39,7 @@ SvPasteObjectDialog::SvPasteObjectDialog(weld::Window* 
pParent)
                                       m_xLbInsertList->get_height_rows(6));
     m_xOKButton->set_sensitive(false);
 
-    ObjectLB().connect_changed(LINK(this, SvPasteObjectDialog, SelectHdl));
+    ObjectLB().connect_selection_changed(LINK(this, SvPasteObjectDialog, 
SelectHdl));
     ObjectLB().connect_row_activated(LINK( this, SvPasteObjectDialog, 
DoubleClickHdl));
 }
 
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index bdde6fbeaef1..c67be62cc6b8 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -399,7 +399,7 @@ SvxScriptOrgDialog::SvxScriptOrgDialog(weld::Window* 
pParent, OUString language)
     
m_xScriptsBox->set_size_request(m_xScriptsBox->get_approximate_digit_width() * 
45,
                                     m_xScriptsBox->get_height_rows(12));
 
-    m_xScriptsBox->connect_changed( LINK( this, SvxScriptOrgDialog, 
ScriptSelectHdl ) );
+    m_xScriptsBox->connect_selection_changed(LINK(this, SvxScriptOrgDialog, 
ScriptSelectHdl));
     m_xScriptsBox->connect_expanding(LINK( this, SvxScriptOrgDialog, 
ExpandingHdl ) );
     m_xRunButton->connect_clicked( LINK( this, SvxScriptOrgDialog, ButtonHdl ) 
);
     m_xCloseButton->connect_clicked( LINK( this, SvxScriptOrgDialog, ButtonHdl 
) );
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index d1c284b65b82..07eef25be0dd 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -259,7 +259,8 @@ SvxThesaurusDialog::SvxThesaurusDialog(
     m_xWordCB->set_entry_completion(false);
     m_xWordCB->connect_changed( LINK( this, SvxThesaurusDialog, 
WordSelectHdl_Impl ) );
     m_xLangLB->connect_changed( LINK( this, SvxThesaurusDialog, 
LanguageHdl_Impl ) );
-    m_xAlternativesCT->connect_changed( LINK( this, SvxThesaurusDialog, 
AlternativesSelectHdl_Impl ));
+    m_xAlternativesCT->connect_selection_changed(
+        LINK(this, SvxThesaurusDialog, AlternativesSelectHdl_Impl));
     m_xAlternativesCT->connect_row_activated( LINK( this, SvxThesaurusDialog, 
AlternativesDoubleClickHdl_Impl ));
     m_xAlternativesCT->connect_key_press(LINK(this, SvxThesaurusDialog, 
KeyInputHdl));
 
diff --git a/cui/source/inc/MacroManagerDialog.hxx 
b/cui/source/inc/MacroManagerDialog.hxx
index 25b24c1b6c8e..757728386e59 100644
--- a/cui/source/inc/MacroManagerDialog.hxx
+++ b/cui/source/inc/MacroManagerDialog.hxx
@@ -71,7 +71,7 @@ public:
 
     void connect_changed(const Link<weld::TreeView&, void>& rLink)
     {
-        m_xTreeView->connect_changed(rLink);
+        m_xTreeView->connect_selection_changed(rLink);
     }
     void connect_popup_menu(const Link<const CommandEvent&, bool>& rLink)
     {
@@ -149,7 +149,7 @@ public:
 
     void connect_changed(const Link<weld::TreeView&, void>& rLink)
     {
-        m_xTreeView->connect_changed(rLink);
+        m_xTreeView->connect_selection_changed(rLink);
     }
     weld::TreeView& get_widget() { return *m_xTreeView; }
     void ClearAll();
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index ce409c98e72d..0dd4e1f86a58 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -116,7 +116,10 @@ class CuiConfigFunctionListBox
 public:
     CuiConfigFunctionListBox(std::unique_ptr<weld::TreeView> xTreeView);
     void set_sensitive(bool bSensitive) { 
m_xTreeView->set_sensitive(bSensitive); }
-    void connect_changed(const Link<weld::TreeView&, void>& rLink) { 
m_xTreeView->connect_changed(rLink); }
+    void connect_changed(const Link<weld::TreeView&, void>& rLink)
+    {
+        m_xTreeView->connect_selection_changed(rLink);
+    }
     void connect_popup_menu(const Link<const CommandEvent&, bool>& rLink) { 
m_xTreeView->connect_popup_menu(rLink); }
     void connect_row_activated(const Link<weld::TreeView&, bool>& rLink) { 
m_xTreeView->connect_row_activated(rLink); }
     void freeze() { m_xTreeView->freeze(); }
@@ -210,7 +213,10 @@ class CuiConfigGroupListBox
 public:
     CuiConfigGroupListBox(std::unique_ptr<weld::TreeView> xTreeView);
     void set_sensitive(bool bSensitive) { 
m_xTreeView->set_sensitive(bSensitive); }
-    void connect_changed(const Link<weld::TreeView&, void>& rLink) { 
m_xTreeView->connect_changed(rLink); }
+    void connect_changed(const Link<weld::TreeView&, void>& rLink)
+    {
+        m_xTreeView->connect_selection_changed(rLink);
+    }
     void set_size_request(int nWidth, int nHeight) { 
m_xTreeView->set_size_request(nWidth, nHeight); }
     weld::TreeView& get_widget() { return *m_xTreeView; }
     ~CuiConfigGroupListBox();
diff --git a/cui/source/options/connpooloptions.cxx 
b/cui/source/options/connpooloptions.cxx
index 557f6cae0fab..2fe1a6982bc5 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -79,7 +79,8 @@ namespace offapp
         m_xEnablePooling->connect_toggled( LINK(this, 
ConnectionPoolOptionsPage, OnEnabledDisabled) );
         m_xDriverPoolingEnabled->connect_toggled( LINK(this, 
ConnectionPoolOptionsPage, OnEnabledDisabled) );
 
-        m_xDriverList->connect_changed(LINK(this, ConnectionPoolOptionsPage, 
OnDriverRowChanged));
+        m_xDriverList->connect_selection_changed(
+            LINK(this, ConnectionPoolOptionsPage, OnDriverRowChanged));
         m_xTimeout->connect_value_changed(LINK(this, 
ConnectionPoolOptionsPage, OnSpinValueChanged));
     }
 
diff --git a/cui/source/options/dbregister.cxx 
b/cui/source/options/dbregister.cxx
index b345614fa857..45c8398d23a6 100644
--- a/cui/source/options/dbregister.cxx
+++ b/cui/source/options/dbregister.cxx
@@ -112,7 +112,7 @@ 
DbRegistrationOptionsPage::DbRegistrationOptionsPage(weld::Container* pPage, wel
 
     m_xPathBox->make_sorted();
     m_xPathBox->connect_row_activated( LINK( this, DbRegistrationOptionsPage, 
PathBoxDoubleClickHdl ) );
-    m_xPathBox->connect_changed( LINK( this, DbRegistrationOptionsPage, 
PathSelect_Impl ) );
+    m_xPathBox->connect_selection_changed(LINK(this, 
DbRegistrationOptionsPage, PathSelect_Impl));
 
     m_xPathBox->set_help_id(HID_DBPATH_CTL_PATH);
 }
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 2f9d44c0b497..ad7e4e8d8011 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -72,7 +72,7 @@ SvxFontSubstTabPage::SvxFontSubstTabPage(weld::Container* 
pPage, weld::DialogCon
     Link<weld::ComboBox&,void> aLink2(LINK(this, SvxFontSubstTabPage, 
SelectComboBoxHdl));
     Link<weld::Button&,void> aClickLink(LINK(this, SvxFontSubstTabPage, 
ClickHdl));
 
-    m_xCheckLB->connect_changed(LINK(this, SvxFontSubstTabPage, 
TreeListBoxSelectHdl));
+    m_xCheckLB->connect_selection_changed(LINK(this, SvxFontSubstTabPage, 
TreeListBoxSelectHdl));
     m_xCheckLB->connect_column_clicked(LINK(this, SvxFontSubstTabPage, 
HeaderBarClick));
     m_xUseTableCB->connect_toggled(LINK(this, SvxFontSubstTabPage, ToggleHdl));
     m_xFont1CB->connect_changed(aLink2);
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index f383280e5bc9..04dbd2ff801b 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -243,8 +243,8 @@ 
SvxEditDictionaryDialog::SvxEditDictionaryDialog(weld::Window* pParent, std::u16
     if (LinguMgr::GetDictionaryList().is())
         aDics = LinguMgr::GetDictionaryList()->getDictionaries();
 
-    m_xSingleColumnLB->connect_changed(LINK(this, SvxEditDictionaryDialog, 
SelectHdl));
-    m_xDoubleColumnLB->connect_changed(LINK(this, SvxEditDictionaryDialog, 
SelectHdl));
+    m_xSingleColumnLB->connect_selection_changed(LINK(this, 
SvxEditDictionaryDialog, SelectHdl));
+    m_xDoubleColumnLB->connect_selection_changed(LINK(this, 
SvxEditDictionaryDialog, SelectHdl));
 
     std::vector<int> aWidths
     {
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index e0124974ebfa..4a4ea15ff695 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -89,7 +89,7 @@ SvxJavaOptionsPage::SvxJavaOptionsPage(weld::Container* 
pPage, weld::DialogContr
 
     m_xJavaList->enable_toggle_buttons(weld::ColumnToggleType::Radio);
     m_xJavaList->connect_toggled( LINK( this, SvxJavaOptionsPage, 
CheckHdl_Impl ) );
-    m_xJavaList->connect_changed( LINK( this, SvxJavaOptionsPage, 
SelectHdl_Impl ) );
+    m_xJavaList->connect_selection_changed(LINK(this, SvxJavaOptionsPage, 
SelectHdl_Impl));
 
     std::vector<int> aWidths
     {
@@ -653,7 +653,7 @@ SvxJavaParameterDlg::SvxJavaParameterDlg(weld::Window* 
pParent)
     m_xAssignBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, 
AssignHdl_Impl ) );
     m_xRemoveBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, 
RemoveHdl_Impl ) );
     m_xEditBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, EditHdl_Impl 
) );
-    m_xAssignedList->connect_changed( LINK( this, SvxJavaParameterDlg, 
SelectHdl_Impl ) );
+    m_xAssignedList->connect_selection_changed(LINK(this, SvxJavaParameterDlg, 
SelectHdl_Impl));
     m_xAssignedList->connect_row_activated( LINK( this, SvxJavaParameterDlg, 
DblClickHdl_Impl ) );
 
     ModifyHdl_Impl(*m_xParameterEdit);
@@ -814,7 +814,7 @@ SvxJavaClassPathDlg::SvxJavaClassPathDlg(weld::Window* 
pParent)
     m_xAddArchiveBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, 
AddArchiveHdl_Impl ) );
     m_xAddPathBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, 
AddPathHdl_Impl ) );
     m_xRemoveBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, 
RemoveHdl_Impl ) );
-    m_xPathList->connect_changed( LINK( this, SvxJavaClassPathDlg, 
SelectHdl_Impl ) );
+    m_xPathList->connect_selection_changed(LINK(this, SvxJavaClassPathDlg, 
SelectHdl_Impl));
 
     // set initial focus to path list
     m_xPathList->grab_focus();
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index c07ab32a1d85..2d6e77ffed07 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -815,21 +815,21 @@ SvxLinguTabPage::SvxLinguTabPage(weld::Container* pPage, 
weld::DialogController*
     m_xLinguDicsCLB->enable_toggle_buttons(weld::ColumnToggleType::Check);
     m_xLinguOptionsCLB->enable_toggle_buttons(weld::ColumnToggleType::Check);
 
-    m_xLinguModulesCLB->connect_changed( LINK( this, SvxLinguTabPage, 
SelectHdl_Impl ));
+    m_xLinguModulesCLB->connect_selection_changed(LINK(this, SvxLinguTabPage, 
SelectHdl_Impl));
     m_xLinguModulesCLB->connect_row_activated(LINK(this, SvxLinguTabPage, 
BoxDoubleClickHdl_Impl));
     m_xLinguModulesCLB->connect_toggled(LINK(this, SvxLinguTabPage, 
ModulesBoxCheckButtonHdl_Impl));
 
     m_xLinguModulesEditPB->connect_clicked( LINK( this, SvxLinguTabPage, 
ClickHdl_Impl ));
     m_xLinguOptionsEditPB->connect_clicked( LINK( this, SvxLinguTabPage, 
ClickHdl_Impl ));
 
-    m_xLinguDicsCLB->connect_changed( LINK( this, SvxLinguTabPage, 
SelectHdl_Impl ));
+    m_xLinguDicsCLB->connect_selection_changed(LINK(this, SvxLinguTabPage, 
SelectHdl_Impl));
     m_xLinguDicsCLB->connect_toggled(LINK(this, SvxLinguTabPage, 
DicsBoxCheckButtonHdl_Impl));
 
     m_xLinguDicsNewPB->connect_clicked( LINK( this, SvxLinguTabPage, 
ClickHdl_Impl ));
     m_xLinguDicsEditPB->connect_clicked( LINK( this, SvxLinguTabPage, 
ClickHdl_Impl ));
     m_xLinguDicsDelPB->connect_clicked( LINK( this, SvxLinguTabPage, 
ClickHdl_Impl ));
 
-    m_xLinguOptionsCLB->connect_changed( LINK( this, SvxLinguTabPage, 
SelectHdl_Impl ));
+    m_xLinguOptionsCLB->connect_selection_changed(LINK(this, SvxLinguTabPage, 
SelectHdl_Impl));
     m_xLinguOptionsCLB->connect_row_activated(LINK(this, SvxLinguTabPage, 
BoxDoubleClickHdl_Impl));
 
     m_xMoreDictsLink->connect_activate_link(LINK(this, SvxLinguTabPage, 
OnLinkClick));
@@ -1579,7 +1579,7 @@ SvxEditModulesDlg::SvxEditModulesDlg(weld::Window* 
pParent, SvxLinguData_Impl& r
 
     pDefaultLinguData.reset( new SvxLinguData_Impl( rLinguData ) );
 
-    m_xModulesCLB->connect_changed( LINK( this, SvxEditModulesDlg, 
SelectHdl_Impl ));
+    m_xModulesCLB->connect_selection_changed(LINK(this, SvxEditModulesDlg, 
SelectHdl_Impl));
     m_xModulesCLB->connect_toggled(LINK(this, SvxEditModulesDlg, 
BoxCheckButtonHdl_Impl));
 
     m_xClosePB->connect_clicked( LINK( this, SvxEditModulesDlg, ClickHdl_Impl 
));
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 97f9c5535cb8..29c554fe8ffb 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -192,7 +192,7 @@ SvxPathTabPage::SvxPathTabPage(weld::Container* pPage, 
weld::DialogController* p
 
     m_xPathBox->connect_row_activated( LINK( this, SvxPathTabPage, 
DoubleClickPathHdl_Impl ) );
     m_xPathBox->connect_column_clicked(LINK(this, SvxPathTabPage, 
HeaderBarClick));
-    m_xPathBox->connect_changed( LINK( this, SvxPathTabPage, PathSelect_Impl ) 
);
+    m_xPathBox->connect_selection_changed(LINK(this, SvxPathTabPage, 
PathSelect_Impl));
     m_xPathBox->set_selection_mode(SelectionMode::Multiple);
 
     xDialogListener->SetDialogClosedLink( LINK( this, SvxPathTabPage, 
DialogClosedHdl ) );
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index f5d6a9eaf040..32dd79d90a5c 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -481,7 +481,7 @@ OfaTreeOptionsDialog::OfaTreeOptionsDialog(weld::Window* 
pParent, bool fromExten
 
     // Init tree and handler
     xTreeLB->set_help_id(HID_OFADLG_TREELISTBOX);
-    xTreeLB->connect_changed(LINK(this, OfaTreeOptionsDialog, 
ShowPageHdl_Impl));
+    xTreeLB->connect_selection_changed(LINK(this, OfaTreeOptionsDialog, 
ShowPageHdl_Impl));
     xBackPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, BackHdl_Impl));
     xApplyPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, ApplyHdl_Impl));
     xOkPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, ApplyHdl_Impl));
diff --git a/cui/source/options/tsaurls.cxx b/cui/source/options/tsaurls.cxx
index 925dafbccf21..81a3130852cd 100644
--- a/cui/source/options/tsaurls.cxx
+++ b/cui/source/options/tsaurls.cxx
@@ -31,7 +31,7 @@ TSAURLsDialog::TSAURLsDialog(weld::Window* pParent)
     m_xAddBtn->connect_clicked(LINK(this, TSAURLsDialog, AddHdl_Impl));
     m_xDeleteBtn->connect_clicked(LINK(this, TSAURLsDialog, DeleteHdl_Impl));
     m_xOKBtn->connect_clicked(LINK(this, TSAURLsDialog, OKHdl_Impl));
-    m_xURLListBox->connect_changed(LINK(this, TSAURLsDialog, SelectHdl));
+    m_xURLListBox->connect_selection_changed(LINK(this, TSAURLsDialog, 
SelectHdl));
 
     try
     {
diff --git a/cui/source/options/webconninfo.cxx 
b/cui/source/options/webconninfo.cxx
index 4ad32400ebe5..bb55e8dcfa49 100644
--- a/cui/source/options/webconninfo.cxx
+++ b/cui/source/options/webconninfo.cxx
@@ -57,7 +57,8 @@ 
WebConnectionInfoDialog::WebConnectionInfoDialog(weld::Window* pParent)
     m_xRemoveBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, 
RemovePasswordHdl ) );
     m_xRemoveAllBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, 
RemoveAllPasswordsHdl ) );
     m_xChangeBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, 
ChangePasswordHdl ) );
-    m_xPasswordsLB->connect_changed( LINK( this, WebConnectionInfoDialog, 
EntrySelectedHdl ) );
+    m_xPasswordsLB->connect_selection_changed(
+        LINK(this, WebConnectionInfoDialog, EntrySelectedHdl));
 
     m_xRemoveBtn->set_sensitive( false );
     m_xChangeBtn->set_sensitive( false );
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index ba3998445cf5..31e77373a644 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -382,7 +382,7 @@ 
OfaSwAutoFmtOptionsPage::OfaSwAutoFmtOptionsPage(weld::Container* pPage, weld::D
     , m_xCheckLB(m_xBuilder->weld_tree_view(u"list"_ustr))
     , m_xEditPB(m_xBuilder->weld_button(u"edit"_ustr))
 {
-    m_xCheckLB->connect_changed(LINK(this, OfaSwAutoFmtOptionsPage, 
SelectHdl));
+    m_xCheckLB->connect_selection_changed(LINK(this, OfaSwAutoFmtOptionsPage, 
SelectHdl));
     m_xCheckLB->connect_row_activated(LINK(this, OfaSwAutoFmtOptionsPage, 
DoubleClickEditHdl));
 
     std::vector<int> aWidths
@@ -728,7 +728,7 @@ 
OfaAutocorrReplacePage::OfaAutocorrReplacePage(weld::Container* pPage, weld::Dia
     m_aReplaceFixedWidths.push_back(nColWidth);
     m_aReplaceFixedWidths.push_back(nColWidth);
 
-    m_xReplaceTLB->connect_changed( LINK(this, OfaAutocorrReplacePage, 
SelectHdl) );
+    m_xReplaceTLB->connect_selection_changed(LINK(this, 
OfaAutocorrReplacePage, SelectHdl));
     m_xNewReplacePB->connect_clicked( LINK(this, OfaAutocorrReplacePage, 
NewDelButtonHdl) );
     m_xDeleteReplacePB->connect_clicked( LINK(this, OfaAutocorrReplacePage, 
NewDelButtonHdl) );
     m_xShortED->connect_changed( LINK(this, OfaAutocorrReplacePage, ModifyHdl) 
);
@@ -1241,8 +1241,8 @@ 
OfaAutocorrExceptPage::OfaAutocorrExceptPage(weld::Container* pPage, weld::Dialo
     m_xNewDoublePB->connect_clicked(LINK(this, OfaAutocorrExceptPage, 
NewDelButtonHdl));
     m_xDelDoublePB->connect_clicked(LINK(this, OfaAutocorrExceptPage, 
NewDelButtonHdl));
 
-    m_xAbbrevLB->connect_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl));
-    m_xDoubleCapsLB->connect_changed(LINK(this, OfaAutocorrExceptPage, 
SelectHdl));
+    m_xAbbrevLB->connect_selection_changed(LINK(this, OfaAutocorrExceptPage, 
SelectHdl));
+    m_xDoubleCapsLB->connect_selection_changed(LINK(this, 
OfaAutocorrExceptPage, SelectHdl));
     m_xAbbrevED->connect_changed(LINK(this, OfaAutocorrExceptPage, ModifyHdl));
     m_xDoubleCapsED->connect_changed(LINK(this, OfaAutocorrExceptPage, 
ModifyHdl));
 
@@ -2180,7 +2180,7 @@ 
OfaSmartTagOptionsTabPage::OfaSmartTagOptionsTabPage(weld::Container* pPage, wel
     // set the handlers:
     m_xMainCB->connect_toggled(LINK(this, OfaSmartTagOptionsTabPage, 
CheckHdl));
     m_xPropertiesPB->connect_clicked(LINK(this, OfaSmartTagOptionsTabPage, 
ClickHdl));
-    m_xSmartTagTypesLB->connect_changed(LINK(this, OfaSmartTagOptionsTabPage, 
SelectHdl));
+    m_xSmartTagTypesLB->connect_selection_changed(LINK(this, 
OfaSmartTagOptionsTabPage, SelectHdl));
 }
 
 OfaSmartTagOptionsTabPage::~OfaSmartTagOptionsTabPage()
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index a8d4f716ca3b..1a8a6630aae1 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -3078,8 +3078,8 @@ void SvxCharTwoLinesPage::Initialize()
     m_xTwoLinesBtn->connect_toggled(LINK(this, SvxCharTwoLinesPage, 
TwoLinesHdl_Impl));
 
     Link<weld::TreeView&,void> aLink = LINK(this, SvxCharTwoLinesPage, 
CharacterMapHdl_Impl);
-    m_xStartBracketLB->connect_changed(aLink);
-    m_xEndBracketLB->connect_changed(aLink);
+    m_xStartBracketLB->connect_selection_changed(aLink);
+    m_xEndBracketLB->connect_selection_changed(aLink);
 
     SvxFont& rFont = GetPreviewFont();
     SvxFont& rCJKFont = GetPreviewCJKFont();
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index c0442e7fceaa..afbacb30ad54 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -332,7 +332,7 @@ void SfxMacroTabPage::InitAndSetHandler()
     mpImpl->m_xAssignPB->connect_clicked(LINK(this, SfxMacroTabPage, 
AssignDeleteClickHdl_Impl));
     rListBox.connect_row_activated(aLnk);
 
-    rListBox.connect_changed(LINK(this, SfxMacroTabPage, SelectEvent_Impl));
+    rListBox.connect_selection_changed(LINK(this, SfxMacroTabPage, 
SelectEvent_Impl));
     mpImpl->m_xGroupLB->connect_changed(LINK(this, SfxMacroTabPage, 
SelectGroup_Impl));
     mpImpl->m_xMacroLB->connect_changed(LINK(this, SfxMacroTabPage, 
SelectMacro_Impl));
 
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index ab05111e7b95..059c148713c4 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -275,9 +275,9 @@ void SvxNumberFormatTabPage::Init_Impl()
 
     Link<weld::TreeView&,void> aLink2 = LINK(this, SvxNumberFormatTabPage, 
SelFormatTreeListBoxHdl_Impl);
     Link<weld::ComboBox&,void> aLink3 = LINK(this, SvxNumberFormatTabPage, 
SelFormatListBoxHdl_Impl);
-    m_xLbCategory->connect_changed(aLink2);
+    m_xLbCategory->connect_selection_changed(aLink2);
     m_xLbCategory->connect_focus_in(LINK(this, SvxNumberFormatTabPage, 
LostFocusHdl_Impl));
-    m_xLbFormat->connect_changed(aLink2);
+    m_xLbFormat->connect_selection_changed(aLink2);
     m_xLbFormat->connect_focus_in(LINK(this, SvxNumberFormatTabPage, 
LostFocusHdl_Impl));
     m_xLbLanguage->connect_changed(aLink3);
     m_xLbLanguage->connect_focus_in(LINK(this, SvxNumberFormatTabPage, 
LostFocusHdl_Impl));
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index c2309176784f..2dccf21d04e2 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -1170,7 +1170,7 @@ 
SvxNumOptionsTabPage::SvxNumOptionsTabPage(weld::Container* pPage, weld::DialogC
     m_xBitmapMB->connect_selected(LINK(this, SvxNumOptionsTabPage, 
GraphicHdl_Impl));
     m_xBitmapMB->connect_toggled(LINK(this, SvxNumOptionsTabPage, 
PopupActivateHdl_Impl));
     m_xLevelLB->set_selection_mode(SelectionMode::Multiple);
-    m_xLevelLB->connect_changed(LINK(this, SvxNumOptionsTabPage, 
LevelHdl_Impl));
+    m_xLevelLB->connect_selection_changed(LINK(this, SvxNumOptionsTabPage, 
LevelHdl_Impl));
     m_xCharFmtLB->connect_changed(LINK(this, SvxNumOptionsTabPage, 
CharFmtHdl_Impl));
     m_xWidthMF->connect_value_changed(LINK(this, SvxNumOptionsTabPage, 
SizeHdl_Impl));
     m_xHeightMF->connect_value_changed(LINK(this, SvxNumOptionsTabPage, 
SizeHdl_Impl));
@@ -2328,7 +2328,7 @@ 
SvxNumPositionTabPage::SvxNumPositionTabPage(weld::Container* pPage, weld::Dialo
     m_xIndentAtMF->connect_value_changed(LINK(this, SvxNumPositionTabPage, 
IndentAtHdl_Impl));
 
     m_xLevelLB->set_selection_mode(SelectionMode::Multiple);
-    m_xLevelLB->connect_changed(LINK(this, SvxNumPositionTabPage, 
LevelHdl_Impl));
+    m_xLevelLB->connect_selection_changed(LINK(this, SvxNumPositionTabPage, 
LevelHdl_Impl));
     m_xRelativeCB->connect_toggled(LINK(this, SvxNumPositionTabPage, 
RelativeHdl_Impl));
     m_xStandardPB->connect_clicked(LINK(this, SvxNumPositionTabPage, 
StandardHdl_Impl));
 
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx 
b/dbaccess/source/ui/app/AppDetailView.cxx
index a9613e1b4b36..68b47ae89539 100644
--- a/dbaccess/source/ui/app/AppDetailView.cxx
+++ b/dbaccess/source/ui/app/AppDetailView.cxx
@@ -118,7 +118,7 @@ OTasksWindow::OTasksWindow(weld::Container* pParent, 
OApplicationDetailView* pDe
 
     m_xTreeView->set_help_id(HID_APP_CREATION_LIST);
     m_xTreeView->connect_row_activated(LINK(this, OTasksWindow, onSelected));
-    m_xTreeView->connect_changed(LINK(this, OTasksWindow, OnEntrySelectHdl));
+    m_xTreeView->connect_selection_changed(LINK(this, OTasksWindow, 
OnEntrySelectHdl));
     m_xTreeView->connect_focus_in(LINK(this, OTasksWindow, FocusInHdl));
     m_xTreeView->connect_focus_out(LINK(this, OTasksWindow, FocusOutHdl));
     // an arbitrary small size it's allowed to shrink to
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx 
b/dbaccess/source/ui/control/dbtreelistbox.cxx
index c0ebd91ef87a..92e6f2e7d659 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -113,7 +113,7 @@ TreeListBox::TreeListBox(std::unique_ptr<weld::TreeView> 
xTreeView, bool bSQLTyp
     , m_aTimer("dbaccess TreeListBox m_aTimer")
 {
     m_xTreeView->connect_key_press(LINK(this, TreeListBox, KeyInputHdl));
-    m_xTreeView->connect_changed(LINK(this, TreeListBox, SelectHdl));
+    m_xTreeView->connect_selection_changed(LINK(this, TreeListBox, SelectHdl));
     m_xTreeView->connect_query_tooltip(LINK(this, TreeListBox, 
QueryTooltipHdl));
     m_xTreeView->connect_popup_menu(LINK(this, TreeListBox, CommandHdl));
 
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx 
b/dbaccess/source/ui/dlg/adtabdlg.cxx
index 9c06085cb2e0..ade72252fda1 100644
--- a/dbaccess/source/ui/dlg/adtabdlg.cxx
+++ b/dbaccess/source/ui/dlg/adtabdlg.cxx
@@ -344,9 +344,9 @@ OAddTableDlg::OAddTableDlg(weld::Window* pParent, 
IAddTableDialogContext& _rCont
     m_xAddButton->connect_clicked( LINK( this, OAddTableDlg, AddClickHdl ) );
     m_xCloseButton->connect_clicked( LINK( this, OAddTableDlg, CloseClickHdl ) 
);
     rTableList.connect_row_activated( LINK( this, OAddTableDlg, 
TableListDoubleClickHdl ) );
-    rTableList.connect_changed( LINK( this, OAddTableDlg, TableListSelectHdl ) 
);
+    rTableList.connect_selection_changed(LINK(this, OAddTableDlg, 
TableListSelectHdl));
     m_xQueryList->connect_row_activated( LINK( this, OAddTableDlg, 
TableListDoubleClickHdl ) );
-    m_xQueryList->connect_changed( LINK( this, OAddTableDlg, 
TableListSelectHdl ) );
+    m_xQueryList->connect_selection_changed(LINK(this, OAddTableDlg, 
TableListSelectHdl));
 
     rTableList.set_selection_mode(SelectionMode::Single);
     m_xTableList->SuppressEmptyFolders();
diff --git a/dbaccess/source/ui/dlg/dbfindex.cxx 
b/dbaccess/source/ui/dlg/dbfindex.cxx
index bb6f685ce0c1..77f974648369 100644
--- a/dbaccess/source/ui/dlg/dbfindex.cxx
+++ b/dbaccess/source/ui/dlg/dbfindex.cxx
@@ -65,8 +65,10 @@ ODbaseIndexDialog::ODbaseIndexDialog(weld::Window * pParent, 
OUString aDataSrcNa
     m_xRemoveAll->connect_clicked( LINK(this, ODbaseIndexDialog, 
RemoveAllClickHdl) );
     m_xPB_OK->connect_clicked( LINK(this, ODbaseIndexDialog, OKClickHdl) );
 
-    m_xLB_FreeIndexes->connect_changed( LINK(this, ODbaseIndexDialog, 
OnListEntrySelected) );
-    m_xLB_TableIndexes->connect_changed( LINK(this, ODbaseIndexDialog, 
OnListEntrySelected) );
+    m_xLB_FreeIndexes->connect_selection_changed(
+        LINK(this, ODbaseIndexDialog, OnListEntrySelected));
+    m_xLB_TableIndexes->connect_selection_changed(
+        LINK(this, ODbaseIndexDialog, OnListEntrySelected));
 
     Init();
     SetCtrls();
diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx 
b/dbaccess/source/ui/dlg/indexdialog.cxx
index 738b9c07df3b..160eafa192ec 100644
--- a/dbaccess/source/ui/dlg/indexdialog.cxx
+++ b/dbaccess/source/ui/dlg/indexdialog.cxx
@@ -92,7 +92,7 @@ namespace dbaui
 
         m_xActions->connect_clicked(LINK(this, DbaIndexDialog, OnIndexAction));
 
-        m_xIndexList->connect_changed(LINK(this, DbaIndexDialog, 
OnIndexSelected));
+        m_xIndexList->connect_selection_changed(LINK(this, DbaIndexDialog, 
OnIndexSelected));
         m_xIndexList->connect_editing(LINK(this, DbaIndexDialog, 
OnEntryEditing),
                                       LINK(this, DbaIndexDialog, 
OnEntryEdited));
 
diff --git a/dbaccess/source/ui/dlg/paramdialog.cxx 
b/dbaccess/source/ui/dlg/paramdialog.cxx
index ad1c23baa9f4..299ab8454594 100644
--- a/dbaccess/source/ui/dlg/paramdialog.cxx
+++ b/dbaccess/source/ui/dlg/paramdialog.cxx
@@ -109,7 +109,8 @@ namespace dbaui
 
     void OParameterDialog::Construct()
     {
-        m_xAllParams->connect_changed(LINK(this, OParameterDialog, 
OnEntryListBoxSelected));
+        m_xAllParams->connect_selection_changed(
+            LINK(this, OParameterDialog, OnEntryListBoxSelected));
         m_xParam->connect_focus_out(LINK(this, OParameterDialog, 
OnValueLoseFocusHdl));
         m_xParam->connect_changed(LINK(this, OParameterDialog, 
OnValueModified));
         m_xTravelNext->connect_clicked(LINK(this, OParameterDialog, 
OnButtonClicked));
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx 
b/dbaccess/source/ui/dlg/sqlmessage.cxx
index 0e539a34cb38..60b533f90c19 100644
--- a/dbaccess/source/ui/dlg/sqlmessage.cxx
+++ b/dbaccess/source/ui/dlg/sqlmessage.cxx
@@ -290,7 +290,8 @@ OExceptionChainDialog::OExceptionChainDialog(weld::Window* 
pParent, ExceptionDis
     m_sStatusLabel = DBA_RES( STR_EXCEPTION_STATUS );
     m_sErrorCodeLabel = DBA_RES( STR_EXCEPTION_ERRORCODE );
 
-    m_xExceptionList->connect_changed(LINK(this, OExceptionChainDialog, 
OnExceptionSelected));
+    m_xExceptionList->connect_selection_changed(
+        LINK(this, OExceptionChainDialog, OnExceptionSelected));
 
     bool bHave22018 = false;
     size_t elementPos = 0;
diff --git a/dbaccess/source/ui/inc/WTypeSelect.hxx 
b/dbaccess/source/ui/inc/WTypeSelect.hxx
index 56af0e355d1a..dfda5f6937c0 100644
--- a/dbaccess/source/ui/inc/WTypeSelect.hxx
+++ b/dbaccess/source/ui/inc/WTypeSelect.hxx
@@ -87,7 +87,7 @@ namespace dbaui
         void connect_changed(const Link<weld::TreeView&, void>& rLink)
         {
             m_aChangeHdl = rLink;
-            m_xControl->connect_changed(rLink);
+            m_xControl->connect_selection_changed(rLink);
         }
     };
 
diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx 
b/dbaccess/source/ui/misc/WNameMatch.cxx
index 0d6c3c835163..5eba2844b625 100644
--- a/dbaccess/source/ui/misc/WNameMatch.cxx
+++ b/dbaccess/source/ui/misc/WNameMatch.cxx
@@ -60,8 +60,8 @@ OWizNameMatching::OWizNameMatching(weld::Container* pPage, 
OCopyTableWizard* pWi
 
     m_xCTRL_LEFT->enable_toggle_buttons(weld::ColumnToggleType::Check);
 
-    
m_xCTRL_LEFT->connect_changed(LINK(this,OWizNameMatching,TableListClickHdl));
-    
m_xCTRL_RIGHT->connect_changed(LINK(this,OWizNameMatching,TableListRightSelectHdl));
+    m_xCTRL_LEFT->connect_selection_changed(LINK(this, OWizNameMatching, 
TableListClickHdl));
+    m_xCTRL_RIGHT->connect_selection_changed(LINK(this, OWizNameMatching, 
TableListRightSelectHdl));
 
     m_sSourceText = m_xTABLE_LEFT->get_label() + "
";
     m_sDestText   = m_xTABLE_RIGHT->get_label() + "
";
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx 
b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
index 9117fdfd1048..da576ee07b52 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
@@ -462,7 +462,7 @@ UpdateDialog::UpdateDialog(
 
     m_xExtensionManager = deployment::ExtensionManager::get( context );
 
-    m_xUpdates->connect_changed(LINK(this, UpdateDialog, selectionHandler));
+    m_xUpdates->connect_selection_changed(LINK(this, UpdateDialog, 
selectionHandler));
     m_xUpdates->connect_toggled(LINK(this, UpdateDialog, entryToggled));
     m_xAll->connect_toggled(LINK(this, UpdateDialog, allHandler));
     m_xOk->connect_clicked(LINK(this, UpdateDialog, okHandler));
diff --git a/extensions/source/abpilot/tableselectionpage.cxx 
b/extensions/source/abpilot/tableselectionpage.cxx
index 1df2ef092e31..31f88d35a446 100644
--- a/extensions/source/abpilot/tableselectionpage.cxx
+++ b/extensions/source/abpilot/tableselectionpage.cxx
@@ -31,7 +31,7 @@ namespace abp
         : AddressBookSourcePage(pPage, pController, 
u"modules/sabpilot/ui/selecttablepage.ui"_ustr, u"SelectTablePage"_ustr)
         , m_xTableList(m_xBuilder->weld_tree_view(u"table"_ustr))
     {
-        m_xTableList->connect_changed( LINK( this, TableSelectionPage, 
OnTableSelected ) );
+        m_xTableList->connect_selection_changed(LINK(this, TableSelectionPage, 
OnTableSelected));
         m_xTableList->connect_row_activated( LINK( this, TableSelectionPage, 
OnTableDoubleClicked ) );
     }
 
diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx 
b/extensions/source/dbpilots/commonpagesdbp.cxx
index 9aea1855f199..f3007dcea177 100644
--- a/extensions/source/dbpilots/commonpagesdbp.cxx
+++ b/extensions/source/dbpilots/commonpagesdbp.cxx
@@ -71,8 +71,9 @@ namespace dbp
             OSL_FAIL("OTableSelectionPage::OTableSelectionPage: could not 
collect the data source names!");
         }
 
-        m_xDatasource->connect_changed(LINK(this, OTableSelectionPage, 
OnListboxSelection));
-        m_xTable->connect_changed(LINK(this, OTableSelectionPage, 
OnListboxSelection));
+        m_xDatasource->connect_selection_changed(
+            LINK(this, OTableSelectionPage, OnListboxSelection));
+        m_xTable->connect_selection_changed(LINK(this, OTableSelectionPage, 
OnListboxSelection));
         m_xTable->connect_row_activated(LINK(this, OTableSelectionPage, 
OnListboxDoubleClicked));
         m_xSearchDatabase->connect_clicked(LINK(this, OTableSelectionPage, 
OnSearchClicked));
     }
diff --git a/extensions/source/dbpilots/gridwizard.cxx 
b/extensions/source/dbpilots/gridwizard.cxx
index edf5f9090afe..5bb9625773e2 100644
--- a/extensions/source/dbpilots/gridwizard.cxx
+++ b/extensions/source/dbpilots/gridwizard.cxx
@@ -292,8 +292,9 @@ namespace dbp
         m_xDeselectOne->connect_clicked(LINK(this, OGridFieldsSelection, 
OnMoveOneEntry));
         m_xDeselectAll->connect_clicked(LINK(this, OGridFieldsSelection, 
OnMoveAllEntries));
 
-        m_xExistFields->connect_changed(LINK(this, OGridFieldsSelection, 
OnEntrySelected));
-        m_xSelFields->connect_changed(LINK(this, OGridFieldsSelection, 
OnEntrySelected));
+        m_xExistFields->connect_selection_changed(
+            LINK(this, OGridFieldsSelection, OnEntrySelected));
+        m_xSelFields->connect_selection_changed(LINK(this, 
OGridFieldsSelection, OnEntrySelected));
         m_xExistFields->connect_row_activated(LINK(this, OGridFieldsSelection, 
OnEntryDoubleClicked));
         m_xSelFields->connect_row_activated(LINK(this, OGridFieldsSelection, 
OnEntryDoubleClicked));
     }
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx 
b/extensions/source/dbpilots/groupboxwiz.cxx
index 46d6ad1db75f..9ad3e234336f 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -180,7 +180,8 @@ namespace dbp
         m_xMoveLeft->connect_clicked(LINK(this, ORadioSelectionPage, 
OnMoveEntry));
         m_xMoveRight->connect_clicked(LINK(this, ORadioSelectionPage, 
OnMoveEntry));
         m_xRadioName->connect_changed(LINK(this, ORadioSelectionPage, 
OnNameModified));
-        m_xExistingRadios->connect_changed(LINK(this, ORadioSelectionPage, 
OnEntrySelected));
+        m_xExistingRadios->connect_selection_changed(
+            LINK(this, ORadioSelectionPage, OnEntrySelected));
 
         implCheckMoveButtons();
         m_xExistingRadios->set_selection_mode(SelectionMode::Multiple);
@@ -341,7 +342,7 @@ namespace dbp
         , m_xOptions(m_xBuilder->weld_tree_view(u"radiobuttons"_ustr))
         , m_nLastSelection(::vcl::WizardTypes::WizardState(-1))
     {
-       m_xOptions->connect_changed(LINK(this, OOptionValuesPage, 
OnOptionSelected));
+        m_xOptions->connect_selection_changed(LINK(this, OOptionValuesPage, 
OnOptionSelected));
     }
 
     OOptionValuesPage::~OOptionValuesPage()
diff --git a/extensions/source/dbpilots/listcombowizard.cxx 
b/extensions/source/dbpilots/listcombowizard.cxx
index ed8caf2acc71..f1678379dda5 100644
--- a/extensions/source/dbpilots/listcombowizard.cxx
+++ b/extensions/source/dbpilots/listcombowizard.cxx
@@ -265,7 +265,8 @@ namespace dbp
         enableFormDatasourceDisplay();
 
         m_xSelectTable->connect_row_activated(LINK(this, 
OContentTableSelection, OnTableDoubleClicked));
-        m_xSelectTable->connect_changed(LINK(this, OContentTableSelection, 
OnTableSelected));
+        m_xSelectTable->connect_selection_changed(
+            LINK(this, OContentTableSelection, OnTableSelected));
     }
 
     OContentTableSelection::~OContentTableSelection()
@@ -342,7 +343,8 @@ namespace dbp
         , m_xInfo(m_xBuilder->weld_label(u"info"_ustr))
     {
         m_xInfo->set_label(compmodule::ModuleRes( isListBox() ? 
RID_STR_FIELDINFO_LISTBOX : RID_STR_FIELDINFO_COMBOBOX));
-        m_xSelectTableField->connect_changed(LINK(this, 
OContentFieldSelection, OnFieldSelected));
+        m_xSelectTableField->connect_selection_changed(
+            LINK(this, OContentFieldSelection, OnFieldSelected));
         m_xSelectTableField->connect_row_activated(LINK(this, 
OContentFieldSelection, OnTableDoubleClicked));
     }
 
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx 
b/extensions/source/propctrlr/selectlabeldialog.cxx
index f0ba29207794..4fe9116d7096 100644
--- a/extensions/source/propctrlr/selectlabeldialog.cxx
+++ b/extensions/source/propctrlr/selectlabeldialog.cxx
@@ -60,7 +60,7 @@ namespace pcr
         , m_xScratchIter(m_xControlTree->make_iterator())
         , m_xNoAssignment(m_xBuilder->weld_check_button(u"noassignment"_ustr))
     {
-        m_xControlTree->connect_changed(LINK(this, OSelectLabelDialog, 
OnEntrySelected));
+        m_xControlTree->connect_selection_changed(LINK(this, 
OSelectLabelDialog, OnEntrySelected));
         m_xControlTree->set_size_request(-1, 
m_xControlTree->get_height_rows(8));
 
         // fill the description
diff --git a/extensions/source/scanner/sanedlg.cxx 
b/extensions/source/scanner/sanedlg.cxx
index b7c4ff4d051f..7c2af809a6ab 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -270,7 +270,7 @@ SaneDlg::SaneDlg(weld::Window* pParent, Sane& rSane, bool 
bScanEnabled)
     mxScanButton->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
     mxButtonOption->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
     mxDeviceBox->connect_changed( LINK( this, SaneDlg, SelectHdl ) );
-    mxOptionBox->connect_changed( LINK( this, SaneDlg, OptionsBoxSelectHdl ) );
+    mxOptionBox->connect_selection_changed(LINK(this, SaneDlg, 
OptionsBoxSelectHdl));
     mxCancelButton->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
     mxBoolCheckBox->connect_toggled( LINK( this, SaneDlg, ToggleBtnHdl ) );
     mxStringEdit->connect_changed( LINK( this, SaneDlg, ModifyHdl ) );
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 482d523bed63..ab84bdb95933 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -1689,7 +1689,7 @@ ImplErrorDialog::ImplErrorDialog(weld::Window* pParent, 
const std::set<vcl::PDFW
         m_xExplanation->set_label(m_xErrors->get_id(0));
     }
 
-    m_xErrors->connect_changed(LINK(this, ImplErrorDialog, SelectHdl));
+    m_xErrors->connect_selection_changed(LINK(this, ImplErrorDialog, 
SelectHdl));
 }
 
 IMPL_LINK_NOARG(ImplErrorDialog, SelectHdl, weld::TreeView&, void)
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx 
b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index 06cb796f28e6..6490d0dcf535 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -80,7 +80,8 @@ 
XMLFilterSettingsDialog::XMLFilterSettingsDialog(weld::Window* pParent,
     
m_xFilterListBox->set_size_request(m_xFilterListBox->get_approximate_digit_width()
 * 65,
                                        m_xFilterListBox->get_height_rows(12));
 
-    m_xFilterListBox->connect_changed( LINK( this, XMLFilterSettingsDialog, 
SelectionChangedHdl_Impl ) );
+    m_xFilterListBox->connect_selection_changed(
+        LINK(this, XMLFilterSettingsDialog, SelectionChangedHdl_Impl));
     m_xFilterListBox->connect_row_activated( LINK( this, 
XMLFilterSettingsDialog, DoubleClickHdl_Impl ) );
     m_xFilterListBox->set_accessible_name(FilterResId(STR_XML_FILTER_LISTBOX));
 
diff --git a/formula/source/ui/dlg/funcpage.cxx 
b/formula/source/ui/dlg/funcpage.cxx
index 114cce0da52c..60d1e5adf2a0 100644
--- a/formula/source/ui/dlg/funcpage.cxx
+++ b/formula/source/ui/dlg/funcpage.cxx
@@ -73,7 +73,7 @@ FuncPage::FuncPage(weld::Container* pParent, const 
IFunctionManager* _pFunctionM
     
m_xLbFunction->set_size_request(m_xLbFunction->get_preferred_size().Width(),
                                     m_xLbFunction->get_height_rows(15));
     m_xLbCategory->connect_changed(LINK(this, FuncPage, SelComboBoxHdl));
-    m_xLbFunction->connect_changed(LINK(this, FuncPage, SelTreeViewHdl));
+    m_xLbFunction->connect_selection_changed(LINK(this, FuncPage, 
SelTreeViewHdl));
     m_xLbFunction->connect_row_activated(LINK(this, FuncPage, DblClkHdl));
     m_xLbFunction->connect_key_press(LINK(this, FuncPage, KeyInputHdl));
     m_xLbFunctionSearchString->connect_changed(LINK(this, FuncPage, 
ModifyHdl));
diff --git a/formula/source/ui/dlg/structpg.cxx 
b/formula/source/ui/dlg/structpg.cxx
index be73dffd0594..94101f0da986 100644
--- a/formula/source/ui/dlg/structpg.cxx
+++ b/formula/source/ui/dlg/structpg.cxx
@@ -44,7 +44,7 @@ StructPage::StructPage(weld::Container* pParent)
     m_xTlbStruct->set_size_request(m_xTlbStruct->get_approximate_digit_width() 
* 20,
                                    m_xTlbStruct->get_height_rows(17));
 
-    m_xTlbStruct->connect_changed(LINK( this, StructPage, SelectHdl ) );
+    m_xTlbStruct->connect_selection_changed(LINK(this, StructPage, SelectHdl));
 }
 
 StructPage::~StructPage()
diff --git a/fpicker/source/office/PlacesListBox.cxx 
b/fpicker/source/office/PlacesListBox.cxx
index 86bd505179a3..c8e815969879 100644
--- a/fpicker/source/office/PlacesListBox.cxx
+++ b/fpicker/source/office/PlacesListBox.cxx
@@ -27,7 +27,7 @@ PlacesListBox::PlacesListBox(std::unique_ptr<weld::TreeView> 
xControl,
                mxImpl->get_height_rows(9));
     mxImpl->set_size_request(aSize.Width(), aSize.Height());
 
-    mxImpl->connect_changed( LINK( this, PlacesListBox, Selection ) );
+    mxImpl->connect_selection_changed(LINK(this, PlacesListBox, Selection));
     mxImpl->connect_row_activated( LINK( this, PlacesListBox, DoubleClick ) ) ;
     mxImpl->connect_query_tooltip(LINK(this, PlacesListBox, QueryTooltipHdl));
 }
diff --git a/fpicker/source/office/fileview.cxx 
b/fpicker/source/office/fileview.cxx
index b7eb966e2b58..a5756f5d28d4 100644
--- a/fpicker/source/office/fileview.cxx
+++ b/fpicker/source/office/fileview.cxx
@@ -176,7 +176,10 @@ public:
     OUString get_id(const weld::TreeIter& rIter) { return 
mxTreeView->get_id(rIter); }
 
     void connect_row_activated(const Link<weld::TreeView&, bool>& rLink) { 
mxTreeView->connect_row_activated(rLink); }
-    void connect_changed(const Link<weld::TreeView&, void>& rLink) { 
mxTreeView->connect_changed(rLink); }
+    void connect_changed(const Link<weld::TreeView&, void>& rLink)
+    {
+        mxTreeView->connect_selection_changed(rLink);
+    }
 
     int n_children() const { return mxTreeView->n_children(); }
 
diff --git a/fpicker/source/office/foldertree.hxx 
b/fpicker/source/office/foldertree.hxx
index 5ee3f794e4f7..9af03f79ff42 100644
--- a/fpicker/source/office/foldertree.hxx
+++ b/fpicker/source/office/foldertree.hxx
@@ -37,7 +37,10 @@ public:
 
     void clear() { m_xTreeView->clear(); }
 
-    void connect_changed(const Link<weld::TreeView&, void>& rLink) { 
m_xTreeView->connect_changed(rLink); }
+    void connect_changed(const Link<weld::TreeView&, void>& rLink)
+    {
+        m_xTreeView->connect_selection_changed(rLink);
+    }
 
     void InsertRootEntry(const OUString& rId, const OUString& rRootLabel);
     void FillTreeEntry(const weld::TreeIter& rEntry);
diff --git a/include/svx/txencbox.hxx b/include/svx/txencbox.hxx
index 7795ea81e764..39a878c3dc49 100644
--- a/include/svx/txencbox.hxx
+++ b/include/svx/txencbox.hxx
@@ -132,7 +132,10 @@ public:
 
     rtl_TextEncoding    GetSelectTextEncoding() const;
 
-    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_row_activated(const Link<weld::TreeView&, bool>& rLink) { 
m_xControl->connect_row_activated(rLink); }
     void grab_focus() { m_xControl->grab_focus(); }
     void show() { m_xControl->show(); }
diff --git a/include/vcl/jsdialog/executor.hxx 
b/include/vcl/jsdialog/executor.hxx
index 260be394d6b8..83515ca65ef1 100644
--- a/include/vcl/jsdialog/executor.hxx
+++ b/include/vcl/jsdialog/executor.hxx
@@ -23,7 +23,7 @@ public:
 
     static void trigger_changed(weld::ComboBox& rComboBox) { 
rComboBox.signal_changed(); }
 
-    static void trigger_changed(weld::TreeView& rTreeView) { 
rTreeView.signal_changed(); }
+    static void trigger_changed(weld::TreeView& rTreeView) { 
rTreeView.signal_selection_changed(); }
 
     static void trigger_changed(weld::IconView& rIconView) { 
rIconView.signal_selection_changed(); }
 
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 74290a3c9ec7..ebe2d8a25ef8 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -966,7 +966,7 @@ private:
     OUString m_sSavedValue;
 
 protected:
-    Link<TreeView&, void> m_aChangeHdl;
+    Link<TreeView&, void> m_aSelectionChangedHdl;
     Link<TreeView&, bool> m_aRowActivatedHdl;
     Link<int, void> m_aColumnClickedHdl;
     Link<const iter_col&, void> m_aRadioToggleHdl;
@@ -986,7 +986,7 @@ protected:
     std::function<int(const weld::TreeIter&, const weld::TreeIter&)> 
m_aCustomSort;
 
 protected:
-    void signal_changed() { m_aChangeHdl.Call(*this); }
+    void signal_selection_changed() { m_aSelectionChangedHdl.Call(*this); }
     bool signal_row_activated() { return m_aRowActivatedHdl.Call(*this); }
     void signal_column_clicked(int nColumn) { 
m_aColumnClickedHdl.Call(nColumn); }
     bool signal_expanding(const TreeIter& rIter)
@@ -1076,7 +1076,10 @@ public:
     virtual void insert_separator(int pos, const OUString& rId) = 0;
     void append_separator(const OUString& rId) { insert_separator(-1, rId); }
 
-    void connect_changed(const Link<TreeView&, void>& rLink) { m_aChangeHdl = 
rLink; }
+    void connect_selection_changed(const Link<TreeView&, void>& rLink)
+    {
+        m_aSelectionChangedHdl = rLink;
+    }
 
     /* A row is "activated" when the user double clicks a treeview row. It may
        also be emitted when a row is selected and Space or Enter is pressed.
diff --git a/reportdesign/source/ui/dlg/AddField.cxx 
b/reportdesign/source/ui/dlg/AddField.cxx
index 0289195c0545..059a6ba731e9 100644
--- a/reportdesign/source/ui/dlg/AddField.cxx
+++ b/reportdesign/source/ui/dlg/AddField.cxx
@@ -86,7 +86,7 @@ OAddFieldWindow::OAddFieldWindow(weld::Window* pParent, 
uno::Reference< beans::X
     m_xActions->set_item_sensitive(u"insert"_ustr, false);
 
     m_xListBox->connect_row_activated(LINK( this, OAddFieldWindow, 
OnDoubleClickHdl ) );
-    m_xListBox->connect_changed(LINK( this, OAddFieldWindow, OnSelectHdl ) );
+    m_xListBox->connect_selection_changed(LINK(this, OAddFieldWindow, 
OnSelectHdl));
     m_xListBox->set_size_request(m_xListBox->get_approximate_digit_width() * 
45, m_xListBox->get_height_rows(8));
 
     if (!m_xRowSet.is())
diff --git a/reportdesign/source/ui/dlg/Navigator.cxx 
b/reportdesign/source/ui/dlg/Navigator.cxx
index d1c48ba4382a..31bce2c878dc 100644
--- a/reportdesign/source/ui/dlg/Navigator.cxx
+++ b/reportdesign/source/ui/dlg/Navigator.cxx
@@ -220,7 +220,7 @@ 
NavigatorTree::NavigatorTree(std::unique_ptr<weld::TreeView> xTreeView, OReportC
 
     m_xTreeView->set_selection_mode(SelectionMode::Multiple);
 
-    m_xTreeView->connect_changed(LINK(this, NavigatorTree, OnEntrySelDesel));
+    m_xTreeView->connect_selection_changed(LINK(this, NavigatorTree, 
OnEntrySelDesel));
     m_xTreeView->connect_popup_menu(LINK(this, NavigatorTree, CommandHdl));
 }
 
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx 
b/sc/source/ui/cctrl/checklistmenu.cxx
index cd66538719b1..23727ebe9677 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -644,7 +644,7 @@ 
ScCheckListMenuControl::ScCheckListMenuControl(weld::Widget* pParent, ScViewData
     mxButtonBox->show();
 
     mxMenu->connect_row_activated(LINK(this, ScCheckListMenuControl, 
RowActivatedHdl));
-    mxMenu->connect_changed(LINK(this, ScCheckListMenuControl, SelectHdl));
+    mxMenu->connect_selection_changed(LINK(this, ScCheckListMenuControl, 
SelectHdl));
     mxMenu->connect_key_press(LINK(this, ScCheckListMenuControl, 
MenuKeyInputHdl));
 
     mxBtnOk->connect_clicked(LINK(this, ScCheckListMenuControl, ButtonHdl));
@@ -1743,10 +1743,12 @@ 
ScListSubMenuControl::ScListSubMenuControl(weld::Widget* pParent, ScCheckListMen
     {
         mxBackColorMenu->set_clicks_to_toggle(1);
         mxBackColorMenu->enable_toggle_buttons(weld::ColumnToggleType::Radio);
-        mxBackColorMenu->connect_changed(LINK(this, ScListSubMenuControl, 
ColorSelChangedHdl));
+        mxBackColorMenu->connect_selection_changed(
+            LINK(this, ScListSubMenuControl, ColorSelChangedHdl));
         mxTextColorMenu->set_clicks_to_toggle(1);
         mxTextColorMenu->enable_toggle_buttons(weld::ColumnToggleType::Radio);
-        mxTextColorMenu->connect_changed(LINK(this, ScListSubMenuControl, 
ColorSelChangedHdl));
+        mxTextColorMenu->connect_selection_changed(
+            LINK(this, ScListSubMenuControl, ColorSelChangedHdl));
         SetupMenu(*mxBackColorMenu);
         SetupMenu(*mxTextColorMenu);
     }
diff --git a/sc/source/ui/dbgui/consdlg.cxx b/sc/source/ui/dbgui/consdlg.cxx
index 22911ed16f6f..09d0dea25ca2 100644
--- a/sc/source/ui/dbgui/consdlg.cxx
+++ b/sc/source/ui/dbgui/consdlg.cxx
@@ -123,7 +123,7 @@ void ScConsolidateDlg::Init()
     m_xLbDestArea->connect_focus_in( LINK( this, ScConsolidateDlg, GetFocusHdl 
) );
     m_xEdDataArea->SetModifyHdl( LINK( this, ScConsolidateDlg, ModifyHdl ) );
     m_xEdDestArea->SetModifyHdl( LINK( this, ScConsolidateDlg, ModifyHdl ) );
-    m_xLbConsAreas->connect_changed( LINK( this, ScConsolidateDlg, SelectTVHdl 
) );
+    m_xLbConsAreas->connect_selection_changed(LINK(this, ScConsolidateDlg, 
SelectTVHdl));
     m_xLbDataArea->connect_changed( LINK( this, ScConsolidateDlg, SelectCBHdl 
) );
     m_xLbDestArea->connect_changed( LINK( this, ScConsolidateDlg, SelectCBHdl 
) );
     m_xBtnOk->connect_clicked( LINK( this, ScConsolidateDlg, OkHdl ) );
diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx
index f911292c08f7..6acfabef6fa6 100644
--- a/sc/source/ui/dbgui/tpsubt.cxx
+++ b/sc/source/ui/dbgui/tpsubt.cxx
@@ -82,9 +82,9 @@ void ScTpSubTotalGroup::Init()
     assert(pDoc && "Document not found :-(");
 
     mxLbGroup->connect_changed( LINK( this, ScTpSubTotalGroup, 
SelectListBoxHdl ) );
-    mxLbColumns->connect_changed( LINK( this, ScTpSubTotalGroup, 
SelectTreeListBoxHdl ) );
+    mxLbColumns->connect_selection_changed(LINK(this, ScTpSubTotalGroup, 
SelectTreeListBoxHdl));
     mxLbColumns->connect_toggled( LINK( this, ScTpSubTotalGroup, CheckHdl ) );
-    mxLbFunctions->connect_changed( LINK( this, ScTpSubTotalGroup, 
SelectTreeListBoxHdl) );
+    mxLbFunctions->connect_selection_changed(LINK(this, ScTpSubTotalGroup, 
SelectTreeListBoxHdl));
     mxLbSelectAllColumns->connect_toggled( LINK( this, ScTpSubTotalGroup, 
CheckBoxHdl ) );
 
     mnFieldArr.resize(SC_MAXFIELDS(pDoc->GetSheetLimits()));
diff --git a/sc/source/ui/dialogs/searchresults.cxx 
b/sc/source/ui/dialogs/searchresults.cxx
index 4650ce711797..3f37e26458fd 100644
--- a/sc/source/ui/dialogs/searchresults.cxx
+++ b/sc/source/ui/dialogs/searchresults.cxx
@@ -40,7 +40,7 @@ SearchResultsDlg::SearchResultsDlg(SfxBindings* _pBindings, 
weld::Window* pParen
         o3tl::narrowing<int>(mxList->get_approximate_digit_width() * 10)
     };
     mxList->set_column_fixed_widths(aWidths);
-    mxList->connect_changed(LINK(this, SearchResultsDlg, ListSelectHdl));
+    mxList->connect_selection_changed(LINK(this, SearchResultsDlg, 
ListSelectHdl));
     mxList->connect_column_clicked(LINK(this, SearchResultsDlg, 
HeaderBarClick));
 }
 
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx 
b/sc/source/ui/formdlg/dwfunctr.cxx
index 46baa84adf69..3345e1f83f95 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -76,7 +76,7 @@ ScFunctionWin::ScFunctionWin(weld::Widget* pParent)
     m_xSearchString->connect_key_press(LINK(this, ScFunctionWin, KeyInputHdl));
 
     xCatBox->connect_changed(LINK( this, ScFunctionWin, SelComboHdl));
-    xFuncList->connect_changed(LINK( this, ScFunctionWin, SelTreeHdl));
+    xFuncList->connect_selection_changed(LINK(this, ScFunctionWin, 
SelTreeHdl));
 
     xFuncList->connect_row_activated(LINK( this, ScFunctionWin, 
SetRowActivatedHdl));
     xInsertButton->connect_clicked(LINK( this, ScFunctionWin, 
SetSelectionClickHdl));
diff --git a/sc/source/ui/inc/namemgrtable.hxx 
b/sc/source/ui/inc/namemgrtable.hxx
index 347fbac3db69..34f46bbc1a17 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -61,7 +61,10 @@ public:
     void CheckForFormulaString();
 
     int n_children() const { return m_xTreeView->n_children(); }
-    void connect_changed(const Link<weld::TreeView&, void>& rLink) { 
m_xTreeView->connect_changed(rLink); }
+    void connect_changed(const Link<weld::TreeView&, void>& rLink)
+    {
+        m_xTreeView->connect_selection_changed(rLink);
+    }
     void set_cursor(int nPos) { m_xTreeView->set_cursor(nPos); }
 
     void addEntry(const ScRangeNameLine& rLine, bool bSetCurEntry);
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx 
b/sc/source/ui/miscdlgs/acredlin.cxx
index 9a14f39a57ca..66f1b4a1a830 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -126,7 +126,7 @@ ScAcceptChgDlg::ScAcceptChgDlg(SfxBindings* pB, 
SfxChildWindow* pCW, weld::Windo
 
     weld::TreeView& rTreeView = pTheView->GetWidget();
     rTreeView.connect_expanding(LINK(this, ScAcceptChgDlg, ExpandingHandle));
-    rTreeView.connect_changed(LINK(this, ScAcceptChgDlg, SelectHandle));
+    rTreeView.connect_selection_changed(LINK(this, ScAcceptChgDlg, 
SelectHandle));
     rTreeView.connect_popup_menu(LINK(this, ScAcceptChgDlg, CommandHdl));
     rTreeView.set_sort_func([this](const weld::TreeIter& rLeft, const 
weld::TreeIter& rRight){
         return ColCompareHdl(rLeft, rRight);
diff --git a/sc/source/ui/miscdlgs/conflictsdlg.cxx 
b/sc/source/ui/miscdlgs/conflictsdlg.cxx
index 6e20e04e0414..524b887816da 100644
--- a/sc/source/ui/miscdlgs/conflictsdlg.cxx
+++ b/sc/source/ui/miscdlgs/conflictsdlg.cxx
@@ -361,7 +361,7 @@ ScConflictsDlg::ScConflictsDlg(weld::Window* pParent, 
ScViewData* pViewData, ScD
 
     maSelectionIdle.SetInvokeHandler( LINK( this, ScConflictsDlg, 
UpdateSelectionHdl ) );
 
-    rTreeView.connect_changed(LINK(this, ScConflictsDlg, SelectHandle));
+    rTreeView.connect_selection_changed(LINK(this, ScConflictsDlg, 
SelectHandle));
 
     m_xBtnKeepMine->connect_clicked( LINK( this, ScConflictsDlg, 
KeepMineHandle ) );
     m_xBtnKeepOther->connect_clicked( LINK( this, ScConflictsDlg, 
KeepOtherHandle ) );
diff --git a/sc/source/ui/miscdlgs/crnrdlg.cxx 
b/sc/source/ui/miscdlgs/crnrdlg.cxx
index c59c8d50122c..9020962ff419 100644
--- a/sc/source/ui/miscdlgs/crnrdlg.cxx
+++ b/sc/source/ui/miscdlgs/crnrdlg.cxx
@@ -101,7 +101,7 @@ void ScColRowNameRangesDlg::Init()
     m_xBtnCancel->connect_clicked  ( LINK( this, ScColRowNameRangesDlg, 
CancelBtnHdl ) );
     m_xBtnAdd->connect_clicked     ( LINK( this, ScColRowNameRangesDlg, 
AddBtnHdl ) );
     m_xBtnRemove->connect_clicked  ( LINK( this, ScColRowNameRangesDlg, 
RemoveBtnHdl ) );
-    m_xLbRange->connect_changed( LINK( this, ScColRowNameRangesDlg, 
Range1SelectHdl ) );
+    m_xLbRange->connect_selection_changed(LINK(this, ScColRowNameRangesDlg, 
Range1SelectHdl));
     m_xEdAssign->SetModifyHdl  ( LINK( this, ScColRowNameRangesDlg, 
Range1DataModifyHdl ) );
     m_xBtnColHead->connect_toggled ( LINK( this, ScColRowNameRangesDlg, 
ColRowToggleHdl ) );
     m_xEdAssign2->SetModifyHdl ( LINK( this, ScColRowNameRangesDlg, 
Range2DataModifyHdl ) );
diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx 
b/sc/source/ui/miscdlgs/instbdlg.cxx
index 8e34c44a4e7f..3dfa986be326 100644
--- a/sc/source/ui/miscdlgs/instbdlg.cxx
+++ b/sc/source/ui/miscdlgs/instbdlg.cxx
@@ -72,7 +72,7 @@ void ScInsertTableDlg::Init_Impl( bool bFromFile )
     m_xBtnBrowse->connect_clicked( LINK( this, ScInsertTableDlg, 
BrowseHdl_Impl ) );
     m_xBtnNew->connect_toggled( LINK( this, ScInsertTableDlg, ChoiceHdl_Impl ) 
);
     m_xBtnFromFile->connect_toggled( LINK( this, ScInsertTableDlg, 
ChoiceHdl_Impl ) );
-    m_xLbTables->connect_changed( LINK( this, ScInsertTableDlg, SelectHdl_Impl 
) );
+    m_xLbTables->connect_selection_changed(LINK(this, ScInsertTableDlg, 
SelectHdl_Impl));
     m_xNfCount->connect_value_changed( LINK( this, ScInsertTableDlg, 
CountHdl_Impl));
     m_xBtnOk->connect_clicked( LINK( this, ScInsertTableDlg, DoEnterHdl ));
     m_xBtnBefore->set_active(true);
diff --git a/sc/source/ui/miscdlgs/linkarea.cxx 
b/sc/source/ui/miscdlgs/linkarea.cxx
index e265e97007ad..ca559e626aff 100644
--- a/sc/source/ui/miscdlgs/linkarea.cxx
+++ b/sc/source/ui/miscdlgs/linkarea.cxx
@@ -50,7 +50,7 @@ ScLinkedAreaDlg::ScLinkedAreaDlg(weld::Widget* pParent)
 
     m_xCbUrl->connect_entry_activate(LINK(this, ScLinkedAreaDlg, FileHdl));
     m_xBtnBrowse->connect_clicked(LINK( this, ScLinkedAreaDlg, BrowseHdl));
-    m_xLbRanges->connect_changed(LINK( this, ScLinkedAreaDlg, RangeHdl));
+    m_xLbRanges->connect_selection_changed(LINK(this, ScLinkedAreaDlg, 
RangeHdl));
     m_xLbRanges->set_size_request(m_xLbRanges->get_approximate_digit_width() * 
54,
                                   m_xLbRanges->get_height_rows(5));
     m_xBtnReload->connect_toggled(LINK( this, ScLinkedAreaDlg, ReloadHdl));
diff --git a/sc/source/ui/miscdlgs/scuiautofmt.cxx 
b/sc/source/ui/miscdlgs/scuiautofmt.cxx
index c64373b1dcf2..94e38ee77fd1 100644
--- a/sc/source/ui/miscdlgs/scuiautofmt.cxx
+++ b/sc/source/ui/miscdlgs/scuiautofmt.cxx
@@ -82,7 +82,7 @@ ScAutoFormatDlg::~ScAutoFormatDlg()
 
 void ScAutoFormatDlg::Init()
 {
-    m_xLbFormat->connect_changed( LINK( this, ScAutoFormatDlg, SelFmtHdl ) );
+    m_xLbFormat->connect_selection_changed(LINK(this, ScAutoFormatDlg, 
SelFmtHdl));
     m_xBtnNumFormat->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) 
);
     m_xBtnBorder->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) );
     m_xBtnFont->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) );
diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx 
b/sc/source/ui/miscdlgs/solveroptions.cxx
index 014a7632ea49..e0ea86b1a147 100644
--- a/sc/source/ui/miscdlgs/solveroptions.cxx
+++ b/sc/source/ui/miscdlgs/solveroptions.cxx
@@ -77,7 +77,7 @@ ScSolverOptionsDialog::ScSolverOptionsDialog(weld::Window* 
pParent,
 
     m_xBtnEdit->connect_clicked( LINK( this, ScSolverOptionsDialog, ButtonHdl 
) );
 
-    m_xLbSettings->connect_changed( LINK( this, ScSolverOptionsDialog, 
SettingsSelHdl ) );
+    m_xLbSettings->connect_selection_changed(LINK(this, ScSolverOptionsDialog, 
SettingsSelHdl));
     m_xLbSettings->connect_row_activated( LINK( this, ScSolverOptionsDialog, 
SettingsDoubleClickHdl ) );
 
     sal_Int32 nSelect = -1;
diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx
index 0b6b6b46bf88..eb62a7d5b6bc 100644
--- a/sc/source/ui/navipi/scenwnd.cxx
+++ b/sc/source/ui/navipi/scenwnd.cxx
@@ -195,7 +195,7 @@ ScScenarioWindow::ScScenarioWindow(weld::Builder& rBuilder, 
const OUString& aQH_
     m_xLbScenario->set_tooltip_text(aQH_List);
     m_xEdComment->set_tooltip_text(aQH_Comment);
 
-    m_xLbScenario->connect_changed(LINK(this, ScScenarioWindow, SelectHdl));
+    m_xLbScenario->connect_selection_changed(LINK(this, ScScenarioWindow, 
SelectHdl));
     m_xLbScenario->connect_row_activated(LINK(this, ScScenarioWindow, 
DoubleClickHdl));
     m_xLbScenario->connect_key_press(LINK(this, ScScenarioWindow, 
KeyInputHdl));
     m_xLbScenario->connect_popup_menu(LINK(this, ScScenarioWindow, 
ContextMenuHdl));
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 3ee897edc2fd..bb7c8a5fe581 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -89,7 +89,7 @@ void ScTpUserLists::Init()
     SfxViewShell*   pSh = SfxViewShell::Current();
     ScTabViewShell* pViewSh = dynamic_cast<ScTabViewShell*>( pSh );
 
-    mxLbLists->connect_changed   ( LINK( this, ScTpUserLists, LbSelectHdl ) );
+    mxLbLists->connect_selection_changed(LINK(this, ScTpUserLists, 
LbSelectHdl));
     mxBtnNew->connect_clicked     ( LINK( this, ScTpUserLists, BtnClickHdl ) );
     mxBtnDiscard->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) );
     mxBtnAdd->connect_clicked     ( LINK( this, ScTpUserLists, BtnClickHdl ) );
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx 
b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index 4740fec17143..17cc4b928baa 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -96,7 +96,7 @@ ScXMLSourceDlg::ScXMLSourceDlg(
     mxBtnOk->connect_clicked(aBtnHdl);
     mxBtnCancel->connect_clicked(aBtnHdl);
 
-    mxLbTree->connect_changed(LINK(this, ScXMLSourceDlg, TreeItemSelectHdl));
+    mxLbTree->connect_selection_changed(LINK(this, ScXMLSourceDlg, 
TreeItemSelectHdl));
 
     Link<formula::RefEdit&,void> aLink = LINK(this, ScXMLSourceDlg, 
RefModifiedHdl);
     mxRefEdit->SetModifyHdl(aLink);
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx 
b/sd/source/ui/animations/CustomAnimationList.cxx
index 99ce44b5cf50..8df6d31588fd 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -453,7 +453,7 @@ 
CustomAnimationList::CustomAnimationList(std::unique_ptr<weld::TreeView> xTreeVi
     mxEmptyLabel->set_stack_background();
 
     mxTreeView->set_selection_mode(SelectionMode::Multiple);
-    mxTreeView->connect_changed(LINK(this, CustomAnimationList, SelectHdl));
+    mxTreeView->connect_selection_changed(LINK(this, CustomAnimationList, 
SelectHdl));
     mxTreeView->connect_key_press(LINK(this, CustomAnimationList, 
KeyInputHdl));
     mxTreeView->connect_popup_menu(LINK(this, CustomAnimationList, 
CommandHdl));
     mxTreeView->connect_row_activated(LINK(this, CustomAnimationList, 
DoubleClickHdl));
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx 
b/sd/source/ui/animations/CustomAnimationPane.cxx
index 77a2e4aa6a7d..aa4161697f8e 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -163,7 +163,7 @@ css::ui::LayoutSize 
CustomAnimationPane::GetHeightForWidth(const sal_Int32 /*nWi
 
 void CustomAnimationPane::initialize()
 {
-    mxLBAnimation->connect_changed(LINK(this, CustomAnimationPane, 
AnimationSelectHdl));
+    mxLBAnimation->connect_selection_changed(LINK(this, CustomAnimationPane, 
AnimationSelectHdl));
     mxCustomAnimationList->setController( 
static_cast<ICustomAnimationListController*> ( this ) );
     
mxCustomAnimationList->set_size_request(mxCustomAnimationList->get_approximate_digit_width()
 * 15,
                                             
mxCustomAnimationList->get_height_rows(4));
diff --git a/sd/source/ui/dlg/BulletAndPositionDlg.cxx 
b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
index abf2563815c7..7479ebb5fc29 100644
--- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx
+++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
@@ -141,7 +141,7 @@ 
SvxBulletAndPositionDlg::SvxBulletAndPositionDlg(weld::Window* pWindow, const Sf
     m_xBitmapMB->connect_selected(LINK(this, SvxBulletAndPositionDlg, 
GraphicHdl_Impl));
     m_xBitmapMB->connect_toggled(LINK(this, SvxBulletAndPositionDlg, 
PopupActivateHdl_Impl));
     m_xLevelLB->set_selection_mode(SelectionMode::Multiple);
-    m_xLevelLB->connect_changed(LINK(this, SvxBulletAndPositionDlg, 
LevelHdl_Impl));
+    m_xLevelLB->connect_selection_changed(LINK(this, SvxBulletAndPositionDlg, 
LevelHdl_Impl));
     m_xWidthMF->connect_value_changed(LINK(this, SvxBulletAndPositionDlg, 
SizeHdl_Impl));
     m_xHeightMF->connect_value_changed(LINK(this, SvxBulletAndPositionDlg, 
SizeHdl_Impl));
     m_xRatioCB->connect_toggled(LINK(this, SvxBulletAndPositionDlg, 
RatioHdl_Impl));
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx 
b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index aeee531d4885..870c6d64f56a 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
@@ -66,7 +66,7 @@ SdPhotoAlbumDialog::SdPhotoAlbumDialog(weld::Window* pWindow, 
SdDrawDocument* pA
     m_xDownBtn->set_sensitive(false);
     m_xRemoveBtn->connect_clicked(LINK(this, SdPhotoAlbumDialog, RemoveHdl));
     m_xRemoveBtn->set_sensitive(false);
-    m_xImagesLst->connect_changed(LINK(this, SdPhotoAlbumDialog, SelectHdl));
+    m_xImagesLst->connect_selection_changed(LINK(this, SdPhotoAlbumDialog, 
SelectHdl));
     m_xInsTypeCombo->connect_changed(LINK(this, SdPhotoAlbumDialog, 
TypeSelectHdl));
 
     m_pGraphicFilter = std::make_unique<GraphicFilter>();
diff --git a/sd/source/ui/dlg/SelectLayerDlg.cxx 
b/sd/source/ui/dlg/SelectLayerDlg.cxx
index 963d23dc9339..94961f61aac9 100644
--- a/sd/source/ui/dlg/SelectLayerDlg.cxx
+++ b/sd/source/ui/dlg/SelectLayerDlg.cxx
@@ -29,7 +29,7 @@ SdSelectLayerDlg::SdSelectLayerDlg(weld::Window* pParent)
     m_xListLB->set_size_request(m_xListLB->get_approximate_digit_width() * 32,
                                 m_xListLB->get_height_rows(8));
     m_xListLB->connect_row_activated(LINK(this, SdSelectLayerDlg, 
DoubleClickHdl));
-    m_xListLB->connect_changed(LINK(this, SdSelectLayerDlg, SelectHdl));
+    m_xListLB->connect_selection_changed(LINK(this, SdSelectLayerDlg, 
SelectHdl));
 }
 
 IMPL_LINK_NOARG(SdSelectLayerDlg, DoubleClickHdl, weld::TreeView&, bool)
diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx
index 43535bbc45b9..3cec4c1d738e 100644
--- a/sd/source/ui/dlg/custsdlg.cxx
+++ b/sd/source/ui/dlg/custsdlg.cxx
@@ -51,7 +51,7 @@ SdCustomShowDlg::SdCustomShowDlg(weld::Window* pWindow, 
SdDrawDocument& rDrawDoc
     m_xBtnEdit->connect_clicked( aLink );
     m_xBtnRemove->connect_clicked( aLink );
     m_xBtnCopy->connect_clicked( aLink );
-    m_xLbCustomShows->connect_changed( LINK( this, SdCustomShowDlg, 
SelectListBoxHdl ) );
+    m_xLbCustomShows->connect_selection_changed(LINK(this, SdCustomShowDlg, 
SelectListBoxHdl));
 
     m_xBtnStartShow->connect_clicked( LINK( this, SdCustomShowDlg, 
StartShowHdl ) ); // for test
 
@@ -255,8 +255,8 @@ SdDefineCustomShowDlg::SdDefineCustomShowDlg(weld::Window* 
pWindow, SdDrawDocume
     m_xBtnAdd->connect_clicked( aLink );
     m_xBtnRemove->connect_clicked( aLink );
     m_xEdtName->connect_changed( LINK( this, SdDefineCustomShowDlg, 
ClickButtonEditHdl ) );
-    m_xLbPages->connect_changed( LINK( this, SdDefineCustomShowDlg, 
ClickButtonHdl4 ) ); // because of status
-    m_xLbCustomPages->connect_changed( LINK( this, SdDefineCustomShowDlg, 
ClickButtonHdl3 ) ); // because of status
+    m_xLbPages->connect_selection_changed(LINK(this, SdDefineCustomShowDlg, 
ClickButtonHdl4)); // because of status
+    m_xLbCustomPages->connect_selection_changed(LINK(this, 
SdDefineCustomShowDlg, ClickButtonHdl3)); // because of status
 
     m_xBtnOK->connect_clicked( LINK( this, SdDefineCustomShowDlg, OKHdl ) );
 
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index be28cc2fda73..aecdbe4bda5f 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -752,7 +752,7 @@ 
SdPageObjsTLV::SdPageObjsTLV(std::unique_ptr<weld::TreeView> xTreeView)
     , m_nRowActivateEventId(nullptr)
 {
     m_xTreeView->connect_expanding(LINK(this, SdPageObjsTLV, 
RequestingChildrenHdl));
-    m_xTreeView->connect_changed(LINK(this, SdPageObjsTLV, SelectHdl));
+    m_xTreeView->connect_selection_changed(LINK(this, SdPageObjsTLV, 
SelectHdl));
     m_xTreeView->connect_row_activated(LINK(this, SdPageObjsTLV, 
RowActivatedHdl));
     m_xTreeView->connect_drag_begin(LINK(this, SdPageObjsTLV, DragBeginHdl));
     m_xTreeView->connect_key_press(LINK(this, SdPageObjsTLV, KeyInputHdl));
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index bceff30d1edc..82261d007e67 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -406,7 +406,7 @@ IndexTabPage_Impl::IndexTabPage_Impl(weld::Widget* pParent, 
SfxHelpIndexWindow_I
     aAutoCompleteIdle.SetInvokeHandler( LINK(this, IndexTabPage_Impl, 
AutoCompleteHdl ));
     aKeywordTimer.SetInvokeHandler( LINK( this, IndexTabPage_Impl, TimeoutHdl 
) );
     m_xIndexList->connect_row_activated(LINK(this, IndexTabPage_Impl, 
DoubleClickHdl));
-    m_xIndexList->connect_changed(LINK(this, IndexTabPage_Impl, 
TreeChangeHdl));
+    m_xIndexList->connect_selection_changed(LINK(this, IndexTabPage_Impl, 
TreeChangeHdl));
     m_xIndexList->connect_custom_get_size(LINK(this, IndexTabPage_Impl, 
CustomGetSizeHdl));
     m_xIndexList->connect_custom_render(LINK(this, IndexTabPage_Impl, 
CustomRenderHdl));
     m_xIndexList->set_column_custom_renderer(0, true);
diff --git a/sfx2/source/control/templatedlglocalview.cxx 
b/sfx2/source/control/templatedlglocalview.cxx
index f6e18feca816..241166bf027a 100644
--- a/sfx2/source/control/templatedlglocalview.cxx
+++ b/sfx2/source/control/templatedlglocalview.cxx
@@ -31,7 +31,7 @@ 
TemplateDlgLocalView::TemplateDlgLocalView(std::unique_ptr<weld::ScrolledWindow>
 {
     mxTreeView->connect_row_activated(LINK(this, TemplateDlgLocalView, 
RowActivatedHdl));
     mxTreeView->connect_column_clicked(LINK(this, ListView, ColumnClickedHdl));
-    mxTreeView->connect_changed(LINK(this, TemplateDlgLocalView, 
ListViewChangedHdl));
+    mxTreeView->connect_selection_changed(LINK(this, TemplateDlgLocalView, 
ListViewChangedHdl));
     mxTreeView->connect_popup_menu(LINK(this, TemplateDlgLocalView, 
PopupMenuHdl));
     mxTreeView->connect_key_press(LINK(this, TemplateDlgLocalView, 
KeyPressHdl));
 }
diff --git a/sfx2/source/devtools/DevelopmentToolDockingWindow.cxx 
b/sfx2/source/devtools/DevelopmentToolDockingWindow.cxx
index c3fb090ac752..f3bf2a529236 100644
--- a/sfx2/source/devtools/DevelopmentToolDockingWindow.cxx
+++ b/sfx2/source/devtools/DevelopmentToolDockingWindow.cxx
@@ -37,7 +37,7 @@ 
DevelopmentToolDockingWindow::DevelopmentToolDockingWindow(SfxBindings* pInputBi
           
pInputBindings->GetDispatcher()->GetFrame()->GetObjectShell()->GetBaseModel())
     , maObjectInspectorTreeHandler(mpObjectInspectorWidgets)
 {
-    mpDocumentModelTreeView->connect_changed(
+    mpDocumentModelTreeView->connect_selection_changed(
         LINK(this, DevelopmentToolDockingWindow, 
DocumentModelTreeViewSelectionHandler));
     mpDomToolbar->connect_clicked(
         LINK(this, DevelopmentToolDockingWindow, DomToolbarButtonClicked));
diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx 
b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
index fd9f879ab446..bd403d84c5a3 100644
--- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
+++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx
@@ -941,13 +941,13 @@ ObjectInspectorTreeHandler::ObjectInspectorTreeHandler(
     mpObjectInspectorWidgets->mpPropertiesTreeView->connect_popup_menu(
         LINK(this, ObjectInspectorTreeHandler, PopupMenuHandler));
 
-    mpObjectInspectorWidgets->mpInterfacesTreeView->connect_changed(
+    mpObjectInspectorWidgets->mpInterfacesTreeView->connect_selection_changed(
         LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
-    mpObjectInspectorWidgets->mpServicesTreeView->connect_changed(
+    mpObjectInspectorWidgets->mpServicesTreeView->connect_selection_changed(
         LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
-    mpObjectInspectorWidgets->mpPropertiesTreeView->connect_changed(
+    mpObjectInspectorWidgets->mpPropertiesTreeView->connect_selection_changed(
         LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
-    mpObjectInspectorWidgets->mpMethodsTreeView->connect_changed(
+    mpObjectInspectorWidgets->mpMethodsTreeView->connect_selection_changed(
         LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
 
     mpObjectInspectorWidgets->mpInterfacesTreeView->make_sorted();
diff --git a/sfx2/source/dialog/StyleList.cxx b/sfx2/source/dialog/StyleList.cxx
index 60151d2c83ad..8fa08c908715 100644
--- a/sfx2/source/dialog/StyleList.cxx
+++ b/sfx2/source/dialog/StyleList.cxx
@@ -369,11 +369,11 @@ void StyleList::Initialize()
     m_xFmtLb->connect_row_activated(LINK(this, StyleList, TreeListApplyHdl));
     m_xFmtLb->connect_mouse_press(LINK(this, StyleList, MousePressHdl));
     m_xFmtLb->connect_query_tooltip(LINK(this, StyleList, QueryTooltipHdl));
-    m_xFmtLb->connect_changed(LINK(this, StyleList, FmtSelectHdl));
+    m_xFmtLb->connect_selection_changed(LINK(this, StyleList, FmtSelectHdl));
     m_xFmtLb->connect_popup_menu(LINK(this, StyleList, PopupFlatMenuHdl));
     m_xFmtLb->connect_key_press(LINK(this, StyleList, KeyInputHdl));
     m_xFmtLb->set_selection_mode(SelectionMode::Multiple);
-    m_xTreeBox->connect_changed(LINK(this, StyleList, FmtSelectHdl));
+    m_xTreeBox->connect_selection_changed(LINK(this, StyleList, FmtSelectHdl));
     m_xTreeBox->connect_row_activated(LINK(this, StyleList, TreeListApplyHdl));
     m_xTreeBox->connect_mouse_press(LINK(this, StyleList, MousePressHdl));
     m_xTreeBox->connect_query_tooltip(LINK(this, StyleList, QueryTooltipHdl));
diff --git a/sfx2/source/dialog/versdlg.cxx b/sfx2/source/dialog/versdlg.cxx
index e63721ffecde..f81bfbc2b4fa 100644
--- a/sfx2/source/dialog/versdlg.cxx
+++ b/sfx2/source/dialog/versdlg.cxx
@@ -170,7 +170,7 @@ SfxVersionDialog::SfxVersionDialog(weld::Window* pParent, 
SfxViewFrame* pVwFrame
     m_xSaveCheckBox->connect_toggled(LINK(this, SfxVersionDialog, 
ToggleHdl_Impl));
     m_xCmisButton->connect_clicked( aClickLink );
 
-    m_xVersionBox->connect_changed( LINK( this, SfxVersionDialog, 
SelectHdl_Impl ) );
+    m_xVersionBox->connect_selection_changed(LINK(this, SfxVersionDialog, 
SelectHdl_Impl));
     m_xVersionBox->connect_row_activated( LINK( this, SfxVersionDialog, 
DClickHdl_Impl ) );
 
     m_xVersionBox->grab_focus();
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index 517e222476a4..4b27d131b2c2 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -280,7 +280,7 @@ SfxNewFileDialog::SfxNewFileDialog(weld::Window *pParent, 
SfxNewFileDialogMode n
     bool bExpand = !sExtraData.isEmpty() && sExtraData[0] == 'Y';
     m_xMoreBt->set_expanded(bExpand && (nFlags != SfxNewFileDialogMode::NONE));
 
-    m_xTemplateLb->connect_changed(LINK(this, SfxNewFileDialog, 
TemplateSelect));
+    m_xTemplateLb->connect_selection_changed(LINK(this, SfxNewFileDialog, 
TemplateSelect));
     m_xTemplateLb->connect_row_activated(LINK(this, SfxNewFileDialog, 
DoubleClick));
 
     // update the template configuration if necessary
@@ -294,7 +294,7 @@ SfxNewFileDialog::SfxNewFileDialog(weld::Window *pParent, 
SfxNewFileDialogMode n
     {
         for(sal_uInt16 i = 0; i < nCount; ++i)
             m_xRegionLb->append_text(m_aTemplates.GetFullRegionName(i));
-        m_xRegionLb->connect_changed(LINK(this, SfxNewFileDialog, 
RegionSelect));
+        m_xRegionLb->connect_selection_changed(LINK(this, SfxNewFileDialog, 
RegionSelect));
     }
 
     m_aPrevIdle.SetPriority( TaskPriority::LOWEST );
diff --git a/sfx2/source/doc/saveastemplatedlg.cxx 
b/sfx2/source/doc/saveastemplatedlg.cxx
index f967debd6e90..ae2e44cf6915 100644
--- a/sfx2/source/doc/saveastemplatedlg.cxx
+++ b/sfx2/source/doc/saveastemplatedlg.cxx
@@ -47,7 +47,8 @@ 
SfxSaveAsTemplateDialog::SfxSaveAsTemplateDialog(weld::Window* pParent, uno::Ref
     SetCategoryLBEntries(msCategories);
 
     m_xTemplateNameEdit->connect_changed(LINK(this, SfxSaveAsTemplateDialog, 
TemplateNameEditHdl));
-    m_xLBCategory->connect_changed(LINK(this, SfxSaveAsTemplateDialog, 
SelectCategoryHdl));
+    m_xLBCategory->connect_selection_changed(
+        LINK(this, SfxSaveAsTemplateDialog, SelectCategoryHdl));
     
m_xLBCategory->set_size_request(m_xLBCategory->get_approximate_digit_width() * 
32,
                                     m_xLBCategory->get_height_rows(8));
     m_xOKButton->connect_clicked(LINK(this, SfxSaveAsTemplateDialog, 
OkClickHdl));
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index e65dfa88f2db..9a32cc1e8458 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -1267,7 +1267,8 @@ 
SfxTemplateCategoryDialog::SfxTemplateCategoryDialog(weld::Window* pParent)
     mxNewCategoryEdit->connect_changed(LINK(this, SfxTemplateCategoryDialog, 
NewCategoryEditHdl));
     mxLBCategory->set_size_request(mxLBCategory->get_approximate_digit_width() 
* 32,
                                    mxLBCategory->get_height_rows(8));
-    mxLBCategory->connect_changed(LINK(this, SfxTemplateCategoryDialog, 
SelectCategoryHdl));
+    mxLBCategory->connect_selection_changed(
+        LINK(this, SfxTemplateCategoryDialog, SelectCategoryHdl));
     mxOKButton->set_sensitive(false);
 }
 
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index 1831f0255dc7..bcbf7d04393b 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -235,7 +235,7 @@ namespace svxform
 
         m_xToolBox->connect_clicked(LINK(this, XFormsPage, TbxSelectHdl));
 
-        m_xItemList->connect_changed(LINK(this, XFormsPage, ItemSelectHdl));
+        m_xItemList->connect_selection_changed(LINK(this, XFormsPage, 
ItemSelectHdl));
         m_xItemList->connect_key_press(LINK(this, XFormsPage, KeyInputHdl));
         m_xItemList->connect_popup_menu(LINK(this, XFormsPage, PopupMenuHdl));
         ItemSelectHdl(*m_xItemList);
@@ -2679,7 +2679,7 @@ namespace svxform
         };
         m_xNamespacesList->set_column_fixed_widths(aWidths);
 
-        m_xNamespacesList->connect_changed( LINK( this, NamespaceItemDialog, 
SelectHdl ) );
+        m_xNamespacesList->connect_selection_changed(LINK(this, 
NamespaceItemDialog, SelectHdl));
         Link<weld::Button&,void> aLink = LINK( this, NamespaceItemDialog, 
ClickHdl );
         m_xAddNamespaceBtn->connect_clicked( aLink );
         m_xEditNamespaceBtn->connect_clicked( aLink );
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index add4fc49306f..9d673e76ad70 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -1063,7 +1063,7 @@ FmFilterNavigator::FmFilterNavigator(vcl::Window* 
pTopLevel, std::unique_ptr<wel
     m_xTreeView->connect_custom_render(LINK(this, FmFilterNavigator, 
CustomRenderHdl));
     m_xTreeView->set_column_custom_renderer(1, true);
 
-    m_xTreeView->connect_changed(LINK(this, FmFilterNavigator, SelectHdl));
+    m_xTreeView->connect_selection_changed(LINK(this, FmFilterNavigator, 
SelectHdl));
     m_xTreeView->connect_key_press(LINK(this, FmFilterNavigator, KeyInputHdl));
     m_xTreeView->connect_popup_menu(LINK(this, FmFilterNavigator, 
PopupMenuHdl));
     m_xTreeView->connect_editing(LINK(this, FmFilterNavigator, 
EditingEntryHdl),
diff --git a/svx/source/form/navigatortree.cxx 
b/svx/source/form/navigatortree.cxx
index c5befb5497f6..17571e16838c 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -156,7 +156,7 @@ namespace svxform
         StartListening( *m_pNavModel );
 
         m_aSynchronizeTimer.SetInvokeHandler(LINK(this, NavigatorTree, 
OnSynchronizeTimer));
-        m_xTreeView->connect_changed(LINK(this, NavigatorTree, 
OnEntrySelDesel));
+        m_xTreeView->connect_selection_changed(LINK(this, NavigatorTree, 
OnEntrySelDesel));
         m_xTreeView->connect_key_press(LINK(this, NavigatorTree, KeyInputHdl));
         m_xTreeView->connect_popup_menu(LINK(this, NavigatorTree, 
PopupMenuHdl));
         m_xTreeView->connect_editing(LINK(this, NavigatorTree, 
EditingEntryHdl),
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx
index e367101fb759..2346410b3085 100644
--- a/svx/source/gallery2/galbrws1.cxx
+++ b/svx/source/gallery2/galbrws1.cxx
@@ -150,7 +150,7 @@ GalleryBrowser1::GalleryBrowser1(
-e 
... etc. - the rest is truncated

Reply via email to