weld: Rename weld::Treeview selection signal/connect

Rename weld::TreeView member + methods to clarify
that these are about selection changes:

* m_aChangeHdl to m_aSelectionChangedHdl,
* signal_changed to signal_selection_changed
* connect_changed to connect_selection_changed

In GtkInstanceTreeview, also rename the
related methods calling signal_selection_changed
accordingly for consistency.

Change-Id: I299d7930484677395a0bdd0ff105df18688f2e04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178023
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Michael Weghorn 2024-12-06 09:48:44 +01:00
parent 4b9bf0a2b9
commit 57d532057b
147 changed files with 276 additions and 218 deletions

View file

@ -58,7 +58,7 @@ void ColorSchemeDialog::Init()
m_xOk->connect_clicked(LINK(this, ColorSchemeDialog, BtnOkHdl)); m_xOk->connect_clicked(LINK(this, ColorSchemeDialog, BtnOkHdl));
m_xUseAppCollors->connect_toggled(LINK(this, ColorSchemeDialog, OptionHdl)); m_xUseAppCollors->connect_toggled(LINK(this, ColorSchemeDialog, OptionHdl));
m_xUseScheme->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 // Populate the list with available color schemes
for (auto const& rName : m_pColorConfig->GetColorSchemeNames()) for (auto const& rName : m_pColorConfig->GetColorSchemeNames())

View file

@ -1740,7 +1740,7 @@ WatchWindow::WatchWindow(Layout* pParent)
m_xTreeListBox->set_help_id(HID_BASICIDE_WATCHWINDOW_LIST); m_xTreeListBox->set_help_id(HID_BASICIDE_WATCHWINDOW_LIST);
m_xTreeListBox->connect_editing(LINK(this, WatchWindow, EditingEntryHdl), m_xTreeListBox->connect_editing(LINK(this, WatchWindow, EditingEntryHdl),
LINK(this, WatchWindow, EditedEntryHdl)); 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)); m_xTreeListBox->connect_expanding(LINK(this, WatchWindow, RequestingChildrenHdl));
// VarTabWidth, ValueTabWidth, TypeTabWidth // VarTabWidth, ValueTabWidth, TypeTabWidth
@ -2864,7 +2864,7 @@ CodeCompleteWindow::CodeCompleteWindow(EditorWindow* pPar)
, m_xListBox(m_xBuilder->weld_tree_view(u"treeview"_ustr)) , m_xListBox(m_xBuilder->weld_tree_view(u"treeview"_ustr))
{ {
m_xListBox->connect_row_activated(LINK(this, CodeCompleteWindow, ImplDoubleClickHdl)); 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->connect_key_press(LINK(this, CodeCompleteWindow, KeyInputHdl));
m_xListBox->make_sorted(); m_xListBox->make_sorted();
m_xListBox->set_direction(false); m_xListBox->set_direction(false);

View file

@ -100,7 +100,7 @@ MacroChooser::MacroChooser(weld::Window* pParnt, const Reference< frame::XFrame
m_xBasicBox->connect_changed( LINK( this, MacroChooser, BasicSelectHdl ) ); m_xBasicBox->connect_changed( LINK( this, MacroChooser, BasicSelectHdl ) );
m_xMacroBox->connect_row_activated( LINK( this, MacroChooser, MacroDoubleClickHdl ) ); 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_xMacroBox->connect_popup_menu( LINK( this, MacroChooser, ContextMenuHdl ) );
m_xBasicBox->SetMode( BrowseMode::Modules ); m_xBasicBox->SetMode( BrowseMode::Modules );

View file

@ -246,7 +246,7 @@ LibPage::LibPage(weld::Container* pParent, OrganizeDialog* pDialog)
m_xExportButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) ); m_xExportButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) );
m_xInsertLibButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) ); m_xInsertLibButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) );
m_xDelButton->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 ) ); m_xBasicsBox->connect_changed( LINK( this, LibPage, BasicSelectHdl ) );

View file

@ -88,7 +88,7 @@ void ManageLanguageDialog::Init()
m_xAddPB->connect_clicked( LINK( this, ManageLanguageDialog, AddHdl ) ); m_xAddPB->connect_clicked( LINK( this, ManageLanguageDialog, AddHdl ) );
m_xDeletePB->connect_clicked( LINK( this, ManageLanguageDialog, DeleteHdl ) ); m_xDeletePB->connect_clicked( LINK( this, ManageLanguageDialog, DeleteHdl ) );
m_xMakeDefPB->connect_clicked( LINK( this, ManageLanguageDialog, MakeDefHdl ) ); 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); m_xLanguageLB->set_selection_mode(SelectionMode::Multiple);
} }

View file

@ -227,7 +227,10 @@ public:
std::unique_ptr<Entry>&& rUserData, std::unique_ptr<Entry>&& rUserData,
weld::TreeIter* pRet = nullptr); 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); } 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); } 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); } bool get_selected(weld::TreeIter* pIter) const { return m_xControl->get_selected(pIter); }

View file

@ -34,7 +34,7 @@ BarGeometryResources::BarGeometryResources(weld::Builder* pBuilder)
void BarGeometryResources::connect_changed(const Link<weld::TreeView&, void>& rLink) 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) void BarGeometryResources::set_visible(bool bShow)

View file

@ -71,7 +71,7 @@ ChartTypeTabPage::ChartTypeTabPage(weld::Container* pPage, weld::DialogControlle
SetPageTitle(SchResId(STR_PAGE_CHARTTYPE)); 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->SetSelectHdl( LINK( this, ChartTypeTabPage, SelectSubTypeHdl ) );
m_xSubTypeList->SetStyle(m_xSubTypeList->GetStyle() | m_xSubTypeList->SetStyle(m_xSubTypeList->GetStyle() |

View file

@ -184,8 +184,9 @@ DataSourceTabPage::DataSourceTabPage(weld::Container* pPage, weld::DialogControl
SetPageTitle(SchResId(STR_OBJECT_DATASERIES_PLURAL)); SetPageTitle(SchResId(STR_OBJECT_DATASERIES_PLURAL));
// set handlers // set handlers
m_xLB_SERIES->connect_changed(LINK(this, DataSourceTabPage, SeriesSelectionChangedHdl)); m_xLB_SERIES->connect_selection_changed(
m_xLB_ROLE->connect_changed(LINK(this, DataSourceTabPage, RoleSelectionChangedHdl)); 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_MAIN->connect_clicked(LINK(this, DataSourceTabPage, MainRangeButtonClickedHdl));
m_xIMB_RANGE_CAT->connect_clicked(LINK(this, DataSourceTabPage, CategoriesRangeButtonClickedHdl)); m_xIMB_RANGE_CAT->connect_clicked(LINK(this, DataSourceTabPage, CategoriesRangeButtonClickedHdl));

View file

@ -54,7 +54,7 @@ SvxMenuConfigPage::SvxMenuConfigPage(weld::Container* pPage, weld::DialogControl
rTreeView.set_vexpand(true); rTreeView.set_vexpand(true);
rTreeView.show(); 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)); rTreeView.connect_popup_menu(LINK(this, SvxMenuConfigPage, ContentContextMenuHdl));
m_xFunctions->get_widget().connect_popup_menu( m_xFunctions->get_widget().connect_popup_menu(

View file

@ -64,7 +64,7 @@ SvxToolbarConfigPage::SvxToolbarConfigPage(weld::Container* pPage,
rTreeView.set_help_id(HID_SVX_CONFIG_TOOLBAR_CONTENTS); rTreeView.set_help_id(HID_SVX_CONFIG_TOOLBAR_CONTENTS);
rTreeView.show(); 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)); rTreeView.connect_popup_menu(LINK(this, SvxToolbarConfigPage, ContentContextMenuHdl));
m_xFunctions->get_widget().connect_popup_menu( m_xFunctions->get_widget().connect_popup_menu(

View file

@ -892,11 +892,11 @@ SfxAcceleratorConfigPage::SfxAcceleratorConfigPage(weld::Container* pPage,
// install handler functions // install handler functions
m_xChangeButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, ChangeHdl)); m_xChangeButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, ChangeHdl));
m_xRemoveButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, RemoveHdl)); 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_xEntriesBox->connect_key_press(LINK(this, SfxAcceleratorConfigPage, KeyInputHdl));
m_xGroupLBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, SelectHdl)); m_xGroupLBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, SelectHdl));
m_xFunctionBox->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_xLoadButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Load));
m_xSaveButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Save)); m_xSaveButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Save));
m_xResetButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Default)); m_xResetButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Default));

View file

@ -1041,7 +1041,7 @@ SvxConfigPage::SvxConfigPage(weld::Container* pPage, weld::DialogController* pCo
m_xSearchEdit->connect_focus_out(LINK(this, SvxConfigPage, FocusOut_Impl)); m_xSearchEdit->connect_focus_out(LINK(this, SvxConfigPage, FocusOut_Impl));
rTreeView.connect_row_activated(LINK(this, SvxConfigPage, FunctionDoubleClickHdl)); 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) IMPL_LINK_NOARG(SvxConfigPage, SelectElementHdl, weld::ComboBox&, void)
@ -1838,7 +1838,7 @@ SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog(
m_xDialog->set_title(CuiResId(RID_CUISTR_MOVE_MENU)); 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_xMoveUpButton->connect_clicked(LINK( this, SvxMainMenuOrganizerDialog, MoveHdl));
m_xMoveDownButton->connect_clicked(LINK( this, SvxMainMenuOrganizerDialog, MoveHdl)); m_xMoveDownButton->connect_clicked(LINK( this, SvxMainMenuOrganizerDialog, MoveHdl));

View file

@ -561,7 +561,7 @@ void SvxMacroTabPage_::InitAndSetHandler( const Reference< container::XNameRepla
if( mpImpl->xAssignComponentPB ) if( mpImpl->xAssignComponentPB )
mpImpl->xAssignComponentPB->connect_clicked( aLnk ); mpImpl->xAssignComponentPB->connect_clicked( aLnk );
mpImpl->xEventLB->connect_row_activated( LINK(this, SvxMacroTabPage_, DoubleClickHdl_Impl ) ); 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 std::vector<int> aWidths
{ {

View file

@ -610,7 +610,7 @@ void TPGalleryThemeProperties::SetXChgData( ExchangeData* _pData )
m_xCbxPreview->connect_toggled(LINK(this, TPGalleryThemeProperties, ClickPreviewHdl)); m_xCbxPreview->connect_toggled(LINK(this, TPGalleryThemeProperties, ClickPreviewHdl));
m_xCbbFileType->connect_changed(LINK(this, TPGalleryThemeProperties, SelectFileTypeHdl)); m_xCbbFileType->connect_changed(LINK(this, TPGalleryThemeProperties, SelectFileTypeHdl));
m_xLbxFound->connect_row_activated(LINK(this, TPGalleryThemeProperties, DClickFoundHdl)); 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->append_text(CuiResId(RID_CUISTR_GALLERY_NOFILES));
m_xLbxFound->show(); m_xLbxFound->show();

View file

@ -160,7 +160,7 @@ SvxListDialog::SvxListDialog(weld::Window* pParent)
m_xAddBtn->connect_clicked(LINK(this, SvxListDialog, AddHdl_Impl)); m_xAddBtn->connect_clicked(LINK(this, SvxListDialog, AddHdl_Impl));
m_xRemoveBtn->connect_clicked(LINK(this, SvxListDialog, RemoveHdl_Impl)); m_xRemoveBtn->connect_clicked(LINK(this, SvxListDialog, RemoveHdl_Impl));
m_xEditBtn->connect_clicked(LINK(this, SvxListDialog, EditHdl_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)); m_xList->connect_row_activated(LINK(this, SvxListDialog, DblClickHdl_Impl));
SelectionChanged(); SelectionChanged();

View file

@ -294,7 +294,8 @@ namespace svx
, m_xListBox(rBuilder.weld_tree_view(u"listbox"_ustr)) , m_xListBox(rBuilder.weld_tree_view(u"listbox"_ustr))
{ {
m_xValueSet->SetSelectHdl( LINK( this, SuggestionDisplay, SelectSuggestionValueSetHdl ) ); 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->SetLineCount( LINE_CNT );
m_xValueSet->SetStyle( m_xValueSet->GetStyle() | WB_ITEMBORDER | WB_VSCROLL ); 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->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_xOkPB->connect_clicked( LINK( this, HangulHanjaOptionsDialog, OkHdl ) );
m_xNewPB->connect_clicked( LINK( this, HangulHanjaOptionsDialog, NewDictHdl ) ); m_xNewPB->connect_clicked( LINK( this, HangulHanjaOptionsDialog, NewDictHdl ) );

View file

@ -115,7 +115,7 @@ SvBaseLinksDlg::SvBaseLinksDlg(weld::Window * pParent, LinkManager* pMgr, bool b
aUpdateIdle.SetInvokeHandler( LINK( this, SvBaseLinksDlg, UpdateWaitingHdl ) ); aUpdateIdle.SetInvokeHandler( LINK( this, SvBaseLinksDlg, UpdateWaitingHdl ) );
aUpdateIdle.SetPriority( TaskPriority::LOWEST ); 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_xTbLinks->connect_row_activated( LINK( this, SvBaseLinksDlg, LinksDoubleClickHdl ) );
m_xRbAutomatic->connect_toggled( LINK( this, SvBaseLinksDlg, ToggleHdl ) ); m_xRbAutomatic->connect_toggled( LINK( this, SvBaseLinksDlg, ToggleHdl ) );
m_xRbManual->connect_toggled( LINK( this, SvBaseLinksDlg, ToggleHdl ) ); m_xRbManual->connect_toggled( LINK( this, SvBaseLinksDlg, ToggleHdl ) );

View file

@ -196,7 +196,7 @@ SvxMultiPathDialog::SvxMultiPathDialog(weld::Window* pParent)
m_xRadioLB->get_text_height() * 10); m_xRadioLB->get_text_height() * 10);
m_xRadioLB->enable_toggle_buttons(weld::ColumnToggleType::Radio); m_xRadioLB->enable_toggle_buttons(weld::ColumnToggleType::Radio);
m_xRadioLB->connect_toggled(LINK(this, SvxMultiPathDialog, CheckHdl_Impl)); 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_xAddBtn->connect_clicked(LINK(this, SvxMultiPathDialog, AddHdl_Impl));
m_xDelBtn->connect_clicked(LINK(this, SvxMultiPathDialog, DelHdl_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->set_size_request(m_xPathLB->get_approximate_digit_width() * 60,
m_xPathLB->get_text_height() * 10); 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_xAddBtn->connect_clicked(LINK(this, SvxPathSelectDialog, AddHdl_Impl));
m_xDelBtn->connect_clicked(LINK(this, SvxPathSelectDialog, DelHdl_Impl)); m_xDelBtn->connect_clicked(LINK(this, SvxPathSelectDialog, DelHdl_Impl));

View file

@ -39,7 +39,7 @@ SvPasteObjectDialog::SvPasteObjectDialog(weld::Window* pParent)
m_xLbInsertList->get_height_rows(6)); m_xLbInsertList->get_height_rows(6));
m_xOKButton->set_sensitive(false); 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)); ObjectLB().connect_row_activated(LINK( this, SvPasteObjectDialog, DoubleClickHdl));
} }

View file

@ -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->set_size_request(m_xScriptsBox->get_approximate_digit_width() * 45,
m_xScriptsBox->get_height_rows(12)); 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_xScriptsBox->connect_expanding(LINK( this, SvxScriptOrgDialog, ExpandingHdl ) );
m_xRunButton->connect_clicked( LINK( this, SvxScriptOrgDialog, ButtonHdl ) ); m_xRunButton->connect_clicked( LINK( this, SvxScriptOrgDialog, ButtonHdl ) );
m_xCloseButton->connect_clicked( LINK( this, SvxScriptOrgDialog, ButtonHdl ) ); m_xCloseButton->connect_clicked( LINK( this, SvxScriptOrgDialog, ButtonHdl ) );

View file

@ -259,7 +259,8 @@ SvxThesaurusDialog::SvxThesaurusDialog(
m_xWordCB->set_entry_completion(false); m_xWordCB->set_entry_completion(false);
m_xWordCB->connect_changed( LINK( this, SvxThesaurusDialog, WordSelectHdl_Impl ) ); m_xWordCB->connect_changed( LINK( this, SvxThesaurusDialog, WordSelectHdl_Impl ) );
m_xLangLB->connect_changed( LINK( this, SvxThesaurusDialog, LanguageHdl_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_row_activated( LINK( this, SvxThesaurusDialog, AlternativesDoubleClickHdl_Impl ));
m_xAlternativesCT->connect_key_press(LINK(this, SvxThesaurusDialog, KeyInputHdl)); m_xAlternativesCT->connect_key_press(LINK(this, SvxThesaurusDialog, KeyInputHdl));

View file

@ -71,7 +71,7 @@ public:
void connect_changed(const Link<weld::TreeView&, void>& rLink) 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) void connect_popup_menu(const Link<const CommandEvent&, bool>& rLink)
{ {
@ -149,7 +149,7 @@ public:
void connect_changed(const Link<weld::TreeView&, void>& rLink) 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; } weld::TreeView& get_widget() { return *m_xTreeView; }
void ClearAll(); void ClearAll();

View file

@ -116,7 +116,10 @@ class CuiConfigFunctionListBox
public: public:
CuiConfigFunctionListBox(std::unique_ptr<weld::TreeView> xTreeView); CuiConfigFunctionListBox(std::unique_ptr<weld::TreeView> xTreeView);
void set_sensitive(bool bSensitive) { m_xTreeView->set_sensitive(bSensitive); } 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_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 connect_row_activated(const Link<weld::TreeView&, bool>& rLink) { m_xTreeView->connect_row_activated(rLink); }
void freeze() { m_xTreeView->freeze(); } void freeze() { m_xTreeView->freeze(); }
@ -210,7 +213,10 @@ class CuiConfigGroupListBox
public: public:
CuiConfigGroupListBox(std::unique_ptr<weld::TreeView> xTreeView); CuiConfigGroupListBox(std::unique_ptr<weld::TreeView> xTreeView);
void set_sensitive(bool bSensitive) { m_xTreeView->set_sensitive(bSensitive); } 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); } void set_size_request(int nWidth, int nHeight) { m_xTreeView->set_size_request(nWidth, nHeight); }
weld::TreeView& get_widget() { return *m_xTreeView; } weld::TreeView& get_widget() { return *m_xTreeView; }
~CuiConfigGroupListBox(); ~CuiConfigGroupListBox();

View file

@ -79,7 +79,8 @@ namespace offapp
m_xEnablePooling->connect_toggled( LINK(this, ConnectionPoolOptionsPage, OnEnabledDisabled) ); m_xEnablePooling->connect_toggled( LINK(this, ConnectionPoolOptionsPage, OnEnabledDisabled) );
m_xDriverPoolingEnabled->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)); m_xTimeout->connect_value_changed(LINK(this, ConnectionPoolOptionsPage, OnSpinValueChanged));
} }

View file

@ -112,7 +112,7 @@ DbRegistrationOptionsPage::DbRegistrationOptionsPage(weld::Container* pPage, wel
m_xPathBox->make_sorted(); m_xPathBox->make_sorted();
m_xPathBox->connect_row_activated( LINK( this, DbRegistrationOptionsPage, PathBoxDoubleClickHdl ) ); 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); m_xPathBox->set_help_id(HID_DBPATH_CTL_PATH);
} }

View file

@ -72,7 +72,7 @@ SvxFontSubstTabPage::SvxFontSubstTabPage(weld::Container* pPage, weld::DialogCon
Link<weld::ComboBox&,void> aLink2(LINK(this, SvxFontSubstTabPage, SelectComboBoxHdl)); Link<weld::ComboBox&,void> aLink2(LINK(this, SvxFontSubstTabPage, SelectComboBoxHdl));
Link<weld::Button&,void> aClickLink(LINK(this, SvxFontSubstTabPage, ClickHdl)); 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_xCheckLB->connect_column_clicked(LINK(this, SvxFontSubstTabPage, HeaderBarClick));
m_xUseTableCB->connect_toggled(LINK(this, SvxFontSubstTabPage, ToggleHdl)); m_xUseTableCB->connect_toggled(LINK(this, SvxFontSubstTabPage, ToggleHdl));
m_xFont1CB->connect_changed(aLink2); m_xFont1CB->connect_changed(aLink2);

View file

@ -243,8 +243,8 @@ SvxEditDictionaryDialog::SvxEditDictionaryDialog(weld::Window* pParent, std::u16
if (LinguMgr::GetDictionaryList().is()) if (LinguMgr::GetDictionaryList().is())
aDics = LinguMgr::GetDictionaryList()->getDictionaries(); aDics = LinguMgr::GetDictionaryList()->getDictionaries();
m_xSingleColumnLB->connect_changed(LINK(this, SvxEditDictionaryDialog, SelectHdl)); m_xSingleColumnLB->connect_selection_changed(LINK(this, SvxEditDictionaryDialog, SelectHdl));
m_xDoubleColumnLB->connect_changed(LINK(this, SvxEditDictionaryDialog, SelectHdl)); m_xDoubleColumnLB->connect_selection_changed(LINK(this, SvxEditDictionaryDialog, SelectHdl));
std::vector<int> aWidths std::vector<int> aWidths
{ {

View file

@ -89,7 +89,7 @@ SvxJavaOptionsPage::SvxJavaOptionsPage(weld::Container* pPage, weld::DialogContr
m_xJavaList->enable_toggle_buttons(weld::ColumnToggleType::Radio); m_xJavaList->enable_toggle_buttons(weld::ColumnToggleType::Radio);
m_xJavaList->connect_toggled( LINK( this, SvxJavaOptionsPage, CheckHdl_Impl ) ); 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 std::vector<int> aWidths
{ {
@ -653,7 +653,7 @@ SvxJavaParameterDlg::SvxJavaParameterDlg(weld::Window* pParent)
m_xAssignBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, AssignHdl_Impl ) ); m_xAssignBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, AssignHdl_Impl ) );
m_xRemoveBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, RemoveHdl_Impl ) ); m_xRemoveBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, RemoveHdl_Impl ) );
m_xEditBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, EditHdl_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 ) ); m_xAssignedList->connect_row_activated( LINK( this, SvxJavaParameterDlg, DblClickHdl_Impl ) );
ModifyHdl_Impl(*m_xParameterEdit); ModifyHdl_Impl(*m_xParameterEdit);
@ -814,7 +814,7 @@ SvxJavaClassPathDlg::SvxJavaClassPathDlg(weld::Window* pParent)
m_xAddArchiveBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, AddArchiveHdl_Impl ) ); m_xAddArchiveBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, AddArchiveHdl_Impl ) );
m_xAddPathBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, AddPathHdl_Impl ) ); m_xAddPathBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, AddPathHdl_Impl ) );
m_xRemoveBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, RemoveHdl_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 // set initial focus to path list
m_xPathList->grab_focus(); m_xPathList->grab_focus();

View file

@ -815,21 +815,21 @@ SvxLinguTabPage::SvxLinguTabPage(weld::Container* pPage, weld::DialogController*
m_xLinguDicsCLB->enable_toggle_buttons(weld::ColumnToggleType::Check); m_xLinguDicsCLB->enable_toggle_buttons(weld::ColumnToggleType::Check);
m_xLinguOptionsCLB->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_row_activated(LINK(this, SvxLinguTabPage, BoxDoubleClickHdl_Impl));
m_xLinguModulesCLB->connect_toggled(LINK(this, SvxLinguTabPage, ModulesBoxCheckButtonHdl_Impl)); m_xLinguModulesCLB->connect_toggled(LINK(this, SvxLinguTabPage, ModulesBoxCheckButtonHdl_Impl));
m_xLinguModulesEditPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl )); m_xLinguModulesEditPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
m_xLinguOptionsEditPB->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_xLinguDicsCLB->connect_toggled(LINK(this, SvxLinguTabPage, DicsBoxCheckButtonHdl_Impl));
m_xLinguDicsNewPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl )); m_xLinguDicsNewPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
m_xLinguDicsEditPB->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_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_xLinguOptionsCLB->connect_row_activated(LINK(this, SvxLinguTabPage, BoxDoubleClickHdl_Impl));
m_xMoreDictsLink->connect_activate_link(LINK(this, SvxLinguTabPage, OnLinkClick)); 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 ) ); 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_xModulesCLB->connect_toggled(LINK(this, SvxEditModulesDlg, BoxCheckButtonHdl_Impl));
m_xClosePB->connect_clicked( LINK( this, SvxEditModulesDlg, ClickHdl_Impl )); m_xClosePB->connect_clicked( LINK( this, SvxEditModulesDlg, ClickHdl_Impl ));

View file

@ -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_row_activated( LINK( this, SvxPathTabPage, DoubleClickPathHdl_Impl ) );
m_xPathBox->connect_column_clicked(LINK(this, SvxPathTabPage, HeaderBarClick)); 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); m_xPathBox->set_selection_mode(SelectionMode::Multiple);
xDialogListener->SetDialogClosedLink( LINK( this, SvxPathTabPage, DialogClosedHdl ) ); xDialogListener->SetDialogClosedLink( LINK( this, SvxPathTabPage, DialogClosedHdl ) );

View file

@ -481,7 +481,7 @@ OfaTreeOptionsDialog::OfaTreeOptionsDialog(weld::Window* pParent, bool fromExten
// Init tree and handler // Init tree and handler
xTreeLB->set_help_id(HID_OFADLG_TREELISTBOX); 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)); xBackPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, BackHdl_Impl));
xApplyPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, ApplyHdl_Impl)); xApplyPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, ApplyHdl_Impl));
xOkPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, ApplyHdl_Impl)); xOkPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, ApplyHdl_Impl));

View file

@ -31,7 +31,7 @@ TSAURLsDialog::TSAURLsDialog(weld::Window* pParent)
m_xAddBtn->connect_clicked(LINK(this, TSAURLsDialog, AddHdl_Impl)); m_xAddBtn->connect_clicked(LINK(this, TSAURLsDialog, AddHdl_Impl));
m_xDeleteBtn->connect_clicked(LINK(this, TSAURLsDialog, DeleteHdl_Impl)); m_xDeleteBtn->connect_clicked(LINK(this, TSAURLsDialog, DeleteHdl_Impl));
m_xOKBtn->connect_clicked(LINK(this, TSAURLsDialog, OKHdl_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 try
{ {

View file

@ -57,7 +57,8 @@ WebConnectionInfoDialog::WebConnectionInfoDialog(weld::Window* pParent)
m_xRemoveBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, RemovePasswordHdl ) ); m_xRemoveBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, RemovePasswordHdl ) );
m_xRemoveAllBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, RemoveAllPasswordsHdl ) ); m_xRemoveAllBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, RemoveAllPasswordsHdl ) );
m_xChangeBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, ChangePasswordHdl ) ); 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_xRemoveBtn->set_sensitive( false );
m_xChangeBtn->set_sensitive( false ); m_xChangeBtn->set_sensitive( false );

View file

@ -382,7 +382,7 @@ OfaSwAutoFmtOptionsPage::OfaSwAutoFmtOptionsPage(weld::Container* pPage, weld::D
, m_xCheckLB(m_xBuilder->weld_tree_view(u"list"_ustr)) , m_xCheckLB(m_xBuilder->weld_tree_view(u"list"_ustr))
, m_xEditPB(m_xBuilder->weld_button(u"edit"_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)); m_xCheckLB->connect_row_activated(LINK(this, OfaSwAutoFmtOptionsPage, DoubleClickEditHdl));
std::vector<int> aWidths 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_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_xNewReplacePB->connect_clicked( LINK(this, OfaAutocorrReplacePage, NewDelButtonHdl) );
m_xDeleteReplacePB->connect_clicked( LINK(this, OfaAutocorrReplacePage, NewDelButtonHdl) ); m_xDeleteReplacePB->connect_clicked( LINK(this, OfaAutocorrReplacePage, NewDelButtonHdl) );
m_xShortED->connect_changed( LINK(this, OfaAutocorrReplacePage, ModifyHdl) ); 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_xNewDoublePB->connect_clicked(LINK(this, OfaAutocorrExceptPage, NewDelButtonHdl));
m_xDelDoublePB->connect_clicked(LINK(this, OfaAutocorrExceptPage, NewDelButtonHdl)); m_xDelDoublePB->connect_clicked(LINK(this, OfaAutocorrExceptPage, NewDelButtonHdl));
m_xAbbrevLB->connect_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl)); m_xAbbrevLB->connect_selection_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl));
m_xDoubleCapsLB->connect_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl)); m_xDoubleCapsLB->connect_selection_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl));
m_xAbbrevED->connect_changed(LINK(this, OfaAutocorrExceptPage, ModifyHdl)); m_xAbbrevED->connect_changed(LINK(this, OfaAutocorrExceptPage, ModifyHdl));
m_xDoubleCapsED->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: // set the handlers:
m_xMainCB->connect_toggled(LINK(this, OfaSmartTagOptionsTabPage, CheckHdl)); m_xMainCB->connect_toggled(LINK(this, OfaSmartTagOptionsTabPage, CheckHdl));
m_xPropertiesPB->connect_clicked(LINK(this, OfaSmartTagOptionsTabPage, ClickHdl)); 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() OfaSmartTagOptionsTabPage::~OfaSmartTagOptionsTabPage()

View file

@ -3078,8 +3078,8 @@ void SvxCharTwoLinesPage::Initialize()
m_xTwoLinesBtn->connect_toggled(LINK(this, SvxCharTwoLinesPage, TwoLinesHdl_Impl)); m_xTwoLinesBtn->connect_toggled(LINK(this, SvxCharTwoLinesPage, TwoLinesHdl_Impl));
Link<weld::TreeView&,void> aLink = LINK(this, SvxCharTwoLinesPage, CharacterMapHdl_Impl); Link<weld::TreeView&,void> aLink = LINK(this, SvxCharTwoLinesPage, CharacterMapHdl_Impl);
m_xStartBracketLB->connect_changed(aLink); m_xStartBracketLB->connect_selection_changed(aLink);
m_xEndBracketLB->connect_changed(aLink); m_xEndBracketLB->connect_selection_changed(aLink);
SvxFont& rFont = GetPreviewFont(); SvxFont& rFont = GetPreviewFont();
SvxFont& rCJKFont = GetPreviewCJKFont(); SvxFont& rCJKFont = GetPreviewCJKFont();

View file

@ -332,7 +332,7 @@ void SfxMacroTabPage::InitAndSetHandler()
mpImpl->m_xAssignPB->connect_clicked(LINK(this, SfxMacroTabPage, AssignDeleteClickHdl_Impl)); mpImpl->m_xAssignPB->connect_clicked(LINK(this, SfxMacroTabPage, AssignDeleteClickHdl_Impl));
rListBox.connect_row_activated(aLnk); 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_xGroupLB->connect_changed(LINK(this, SfxMacroTabPage, SelectGroup_Impl));
mpImpl->m_xMacroLB->connect_changed(LINK(this, SfxMacroTabPage, SelectMacro_Impl)); mpImpl->m_xMacroLB->connect_changed(LINK(this, SfxMacroTabPage, SelectMacro_Impl));

View file

@ -275,9 +275,9 @@ void SvxNumberFormatTabPage::Init_Impl()
Link<weld::TreeView&,void> aLink2 = LINK(this, SvxNumberFormatTabPage, SelFormatTreeListBoxHdl_Impl); Link<weld::TreeView&,void> aLink2 = LINK(this, SvxNumberFormatTabPage, SelFormatTreeListBoxHdl_Impl);
Link<weld::ComboBox&,void> aLink3 = LINK(this, SvxNumberFormatTabPage, SelFormatListBoxHdl_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_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_xLbFormat->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
m_xLbLanguage->connect_changed(aLink3); m_xLbLanguage->connect_changed(aLink3);
m_xLbLanguage->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl)); m_xLbLanguage->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));

View file

@ -1170,7 +1170,7 @@ SvxNumOptionsTabPage::SvxNumOptionsTabPage(weld::Container* pPage, weld::DialogC
m_xBitmapMB->connect_selected(LINK(this, SvxNumOptionsTabPage, GraphicHdl_Impl)); m_xBitmapMB->connect_selected(LINK(this, SvxNumOptionsTabPage, GraphicHdl_Impl));
m_xBitmapMB->connect_toggled(LINK(this, SvxNumOptionsTabPage, PopupActivateHdl_Impl)); m_xBitmapMB->connect_toggled(LINK(this, SvxNumOptionsTabPage, PopupActivateHdl_Impl));
m_xLevelLB->set_selection_mode(SelectionMode::Multiple); 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_xCharFmtLB->connect_changed(LINK(this, SvxNumOptionsTabPage, CharFmtHdl_Impl));
m_xWidthMF->connect_value_changed(LINK(this, SvxNumOptionsTabPage, SizeHdl_Impl)); m_xWidthMF->connect_value_changed(LINK(this, SvxNumOptionsTabPage, SizeHdl_Impl));
m_xHeightMF->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_xIndentAtMF->connect_value_changed(LINK(this, SvxNumPositionTabPage, IndentAtHdl_Impl));
m_xLevelLB->set_selection_mode(SelectionMode::Multiple); 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_xRelativeCB->connect_toggled(LINK(this, SvxNumPositionTabPage, RelativeHdl_Impl));
m_xStandardPB->connect_clicked(LINK(this, SvxNumPositionTabPage, StandardHdl_Impl)); m_xStandardPB->connect_clicked(LINK(this, SvxNumPositionTabPage, StandardHdl_Impl));

View file

@ -118,7 +118,7 @@ OTasksWindow::OTasksWindow(weld::Container* pParent, OApplicationDetailView* pDe
m_xTreeView->set_help_id(HID_APP_CREATION_LIST); m_xTreeView->set_help_id(HID_APP_CREATION_LIST);
m_xTreeView->connect_row_activated(LINK(this, OTasksWindow, onSelected)); 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_in(LINK(this, OTasksWindow, FocusInHdl));
m_xTreeView->connect_focus_out(LINK(this, OTasksWindow, FocusOutHdl)); m_xTreeView->connect_focus_out(LINK(this, OTasksWindow, FocusOutHdl));
// an arbitrary small size it's allowed to shrink to // an arbitrary small size it's allowed to shrink to

View file

@ -113,7 +113,7 @@ TreeListBox::TreeListBox(std::unique_ptr<weld::TreeView> xTreeView, bool bSQLTyp
, m_aTimer("dbaccess TreeListBox m_aTimer") , m_aTimer("dbaccess TreeListBox m_aTimer")
{ {
m_xTreeView->connect_key_press(LINK(this, TreeListBox, KeyInputHdl)); 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_query_tooltip(LINK(this, TreeListBox, QueryTooltipHdl));
m_xTreeView->connect_popup_menu(LINK(this, TreeListBox, CommandHdl)); m_xTreeView->connect_popup_menu(LINK(this, TreeListBox, CommandHdl));

View file

@ -344,9 +344,9 @@ OAddTableDlg::OAddTableDlg(weld::Window* pParent, IAddTableDialogContext& _rCont
m_xAddButton->connect_clicked( LINK( this, OAddTableDlg, AddClickHdl ) ); m_xAddButton->connect_clicked( LINK( this, OAddTableDlg, AddClickHdl ) );
m_xCloseButton->connect_clicked( LINK( this, OAddTableDlg, CloseClickHdl ) ); m_xCloseButton->connect_clicked( LINK( this, OAddTableDlg, CloseClickHdl ) );
rTableList.connect_row_activated( LINK( this, OAddTableDlg, TableListDoubleClickHdl ) ); 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_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); rTableList.set_selection_mode(SelectionMode::Single);
m_xTableList->SuppressEmptyFolders(); m_xTableList->SuppressEmptyFolders();

View file

@ -65,8 +65,10 @@ ODbaseIndexDialog::ODbaseIndexDialog(weld::Window * pParent, OUString aDataSrcNa
m_xRemoveAll->connect_clicked( LINK(this, ODbaseIndexDialog, RemoveAllClickHdl) ); m_xRemoveAll->connect_clicked( LINK(this, ODbaseIndexDialog, RemoveAllClickHdl) );
m_xPB_OK->connect_clicked( LINK(this, ODbaseIndexDialog, OKClickHdl) ); m_xPB_OK->connect_clicked( LINK(this, ODbaseIndexDialog, OKClickHdl) );
m_xLB_FreeIndexes->connect_changed( LINK(this, ODbaseIndexDialog, OnListEntrySelected) ); m_xLB_FreeIndexes->connect_selection_changed(
m_xLB_TableIndexes->connect_changed( LINK(this, ODbaseIndexDialog, OnListEntrySelected) ); LINK(this, ODbaseIndexDialog, OnListEntrySelected));
m_xLB_TableIndexes->connect_selection_changed(
LINK(this, ODbaseIndexDialog, OnListEntrySelected));
Init(); Init();
SetCtrls(); SetCtrls();

View file

@ -92,7 +92,7 @@ namespace dbaui
m_xActions->connect_clicked(LINK(this, DbaIndexDialog, OnIndexAction)); 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), m_xIndexList->connect_editing(LINK(this, DbaIndexDialog, OnEntryEditing),
LINK(this, DbaIndexDialog, OnEntryEdited)); LINK(this, DbaIndexDialog, OnEntryEdited));

View file

@ -109,7 +109,8 @@ namespace dbaui
void OParameterDialog::Construct() 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_focus_out(LINK(this, OParameterDialog, OnValueLoseFocusHdl));
m_xParam->connect_changed(LINK(this, OParameterDialog, OnValueModified)); m_xParam->connect_changed(LINK(this, OParameterDialog, OnValueModified));
m_xTravelNext->connect_clicked(LINK(this, OParameterDialog, OnButtonClicked)); m_xTravelNext->connect_clicked(LINK(this, OParameterDialog, OnButtonClicked));

View file

@ -290,7 +290,8 @@ OExceptionChainDialog::OExceptionChainDialog(weld::Window* pParent, ExceptionDis
m_sStatusLabel = DBA_RES( STR_EXCEPTION_STATUS ); m_sStatusLabel = DBA_RES( STR_EXCEPTION_STATUS );
m_sErrorCodeLabel = DBA_RES( STR_EXCEPTION_ERRORCODE ); 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; bool bHave22018 = false;
size_t elementPos = 0; size_t elementPos = 0;

View file

@ -87,7 +87,7 @@ namespace dbaui
void connect_changed(const Link<weld::TreeView&, void>& rLink) void connect_changed(const Link<weld::TreeView&, void>& rLink)
{ {
m_aChangeHdl = rLink; m_aChangeHdl = rLink;
m_xControl->connect_changed(rLink); m_xControl->connect_selection_changed(rLink);
} }
}; };

View file

@ -60,8 +60,8 @@ OWizNameMatching::OWizNameMatching(weld::Container* pPage, OCopyTableWizard* pWi
m_xCTRL_LEFT->enable_toggle_buttons(weld::ColumnToggleType::Check); m_xCTRL_LEFT->enable_toggle_buttons(weld::ColumnToggleType::Check);
m_xCTRL_LEFT->connect_changed(LINK(this,OWizNameMatching,TableListClickHdl)); m_xCTRL_LEFT->connect_selection_changed(LINK(this, OWizNameMatching, TableListClickHdl));
m_xCTRL_RIGHT->connect_changed(LINK(this,OWizNameMatching,TableListRightSelectHdl)); m_xCTRL_RIGHT->connect_selection_changed(LINK(this, OWizNameMatching, TableListRightSelectHdl));
m_sSourceText = m_xTABLE_LEFT->get_label() + "\n"; m_sSourceText = m_xTABLE_LEFT->get_label() + "\n";
m_sDestText = m_xTABLE_RIGHT->get_label() + "\n"; m_sDestText = m_xTABLE_RIGHT->get_label() + "\n";

View file

@ -462,7 +462,7 @@ UpdateDialog::UpdateDialog(
m_xExtensionManager = deployment::ExtensionManager::get( context ); 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_xUpdates->connect_toggled(LINK(this, UpdateDialog, entryToggled));
m_xAll->connect_toggled(LINK(this, UpdateDialog, allHandler)); m_xAll->connect_toggled(LINK(this, UpdateDialog, allHandler));
m_xOk->connect_clicked(LINK(this, UpdateDialog, okHandler)); m_xOk->connect_clicked(LINK(this, UpdateDialog, okHandler));

View file

@ -31,7 +31,7 @@ namespace abp
: AddressBookSourcePage(pPage, pController, u"modules/sabpilot/ui/selecttablepage.ui"_ustr, u"SelectTablePage"_ustr) : 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(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 ) ); m_xTableList->connect_row_activated( LINK( this, TableSelectionPage, OnTableDoubleClicked ) );
} }

View file

@ -71,8 +71,9 @@ namespace dbp
OSL_FAIL("OTableSelectionPage::OTableSelectionPage: could not collect the data source names!"); OSL_FAIL("OTableSelectionPage::OTableSelectionPage: could not collect the data source names!");
} }
m_xDatasource->connect_changed(LINK(this, OTableSelectionPage, OnListboxSelection)); m_xDatasource->connect_selection_changed(
m_xTable->connect_changed(LINK(this, OTableSelectionPage, OnListboxSelection)); LINK(this, OTableSelectionPage, OnListboxSelection));
m_xTable->connect_selection_changed(LINK(this, OTableSelectionPage, OnListboxSelection));
m_xTable->connect_row_activated(LINK(this, OTableSelectionPage, OnListboxDoubleClicked)); m_xTable->connect_row_activated(LINK(this, OTableSelectionPage, OnListboxDoubleClicked));
m_xSearchDatabase->connect_clicked(LINK(this, OTableSelectionPage, OnSearchClicked)); m_xSearchDatabase->connect_clicked(LINK(this, OTableSelectionPage, OnSearchClicked));
} }

View file

@ -292,8 +292,9 @@ namespace dbp
m_xDeselectOne->connect_clicked(LINK(this, OGridFieldsSelection, OnMoveOneEntry)); m_xDeselectOne->connect_clicked(LINK(this, OGridFieldsSelection, OnMoveOneEntry));
m_xDeselectAll->connect_clicked(LINK(this, OGridFieldsSelection, OnMoveAllEntries)); m_xDeselectAll->connect_clicked(LINK(this, OGridFieldsSelection, OnMoveAllEntries));
m_xExistFields->connect_changed(LINK(this, OGridFieldsSelection, OnEntrySelected)); m_xExistFields->connect_selection_changed(
m_xSelFields->connect_changed(LINK(this, OGridFieldsSelection, OnEntrySelected)); LINK(this, OGridFieldsSelection, OnEntrySelected));
m_xSelFields->connect_selection_changed(LINK(this, OGridFieldsSelection, OnEntrySelected));
m_xExistFields->connect_row_activated(LINK(this, OGridFieldsSelection, OnEntryDoubleClicked)); m_xExistFields->connect_row_activated(LINK(this, OGridFieldsSelection, OnEntryDoubleClicked));
m_xSelFields->connect_row_activated(LINK(this, OGridFieldsSelection, OnEntryDoubleClicked)); m_xSelFields->connect_row_activated(LINK(this, OGridFieldsSelection, OnEntryDoubleClicked));
} }

View file

@ -180,7 +180,8 @@ namespace dbp
m_xMoveLeft->connect_clicked(LINK(this, ORadioSelectionPage, OnMoveEntry)); m_xMoveLeft->connect_clicked(LINK(this, ORadioSelectionPage, OnMoveEntry));
m_xMoveRight->connect_clicked(LINK(this, ORadioSelectionPage, OnMoveEntry)); m_xMoveRight->connect_clicked(LINK(this, ORadioSelectionPage, OnMoveEntry));
m_xRadioName->connect_changed(LINK(this, ORadioSelectionPage, OnNameModified)); 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(); implCheckMoveButtons();
m_xExistingRadios->set_selection_mode(SelectionMode::Multiple); m_xExistingRadios->set_selection_mode(SelectionMode::Multiple);
@ -341,7 +342,7 @@ namespace dbp
, m_xOptions(m_xBuilder->weld_tree_view(u"radiobuttons"_ustr)) , m_xOptions(m_xBuilder->weld_tree_view(u"radiobuttons"_ustr))
, m_nLastSelection(::vcl::WizardTypes::WizardState(-1)) , 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() OOptionValuesPage::~OOptionValuesPage()

View file

@ -265,7 +265,8 @@ namespace dbp
enableFormDatasourceDisplay(); enableFormDatasourceDisplay();
m_xSelectTable->connect_row_activated(LINK(this, OContentTableSelection, OnTableDoubleClicked)); 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() OContentTableSelection::~OContentTableSelection()
@ -342,7 +343,8 @@ namespace dbp
, m_xInfo(m_xBuilder->weld_label(u"info"_ustr)) , 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_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)); m_xSelectTableField->connect_row_activated(LINK(this, OContentFieldSelection, OnTableDoubleClicked));
} }

View file

@ -60,7 +60,7 @@ namespace pcr
, m_xScratchIter(m_xControlTree->make_iterator()) , m_xScratchIter(m_xControlTree->make_iterator())
, m_xNoAssignment(m_xBuilder->weld_check_button(u"noassignment"_ustr)) , 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)); m_xControlTree->set_size_request(-1, m_xControlTree->get_height_rows(8));
// fill the description // fill the description

View file

@ -270,7 +270,7 @@ SaneDlg::SaneDlg(weld::Window* pParent, Sane& rSane, bool bScanEnabled)
mxScanButton->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) ); mxScanButton->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
mxButtonOption->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) ); mxButtonOption->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
mxDeviceBox->connect_changed( LINK( this, SaneDlg, SelectHdl ) ); 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 ) ); mxCancelButton->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
mxBoolCheckBox->connect_toggled( LINK( this, SaneDlg, ToggleBtnHdl ) ); mxBoolCheckBox->connect_toggled( LINK( this, SaneDlg, ToggleBtnHdl ) );
mxStringEdit->connect_changed( LINK( this, SaneDlg, ModifyHdl ) ); mxStringEdit->connect_changed( LINK( this, SaneDlg, ModifyHdl ) );

View file

@ -1689,7 +1689,7 @@ ImplErrorDialog::ImplErrorDialog(weld::Window* pParent, const std::set<vcl::PDFW
m_xExplanation->set_label(m_xErrors->get_id(0)); 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) IMPL_LINK_NOARG(ImplErrorDialog, SelectHdl, weld::TreeView&, void)

View file

@ -80,7 +80,8 @@ XMLFilterSettingsDialog::XMLFilterSettingsDialog(weld::Window* pParent,
m_xFilterListBox->set_size_request(m_xFilterListBox->get_approximate_digit_width() * 65, m_xFilterListBox->set_size_request(m_xFilterListBox->get_approximate_digit_width() * 65,
m_xFilterListBox->get_height_rows(12)); 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->connect_row_activated( LINK( this, XMLFilterSettingsDialog, DoubleClickHdl_Impl ) );
m_xFilterListBox->set_accessible_name(FilterResId(STR_XML_FILTER_LISTBOX)); m_xFilterListBox->set_accessible_name(FilterResId(STR_XML_FILTER_LISTBOX));

View file

@ -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->set_size_request(m_xLbFunction->get_preferred_size().Width(),
m_xLbFunction->get_height_rows(15)); m_xLbFunction->get_height_rows(15));
m_xLbCategory->connect_changed(LINK(this, FuncPage, SelComboBoxHdl)); 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_row_activated(LINK(this, FuncPage, DblClkHdl));
m_xLbFunction->connect_key_press(LINK(this, FuncPage, KeyInputHdl)); m_xLbFunction->connect_key_press(LINK(this, FuncPage, KeyInputHdl));
m_xLbFunctionSearchString->connect_changed(LINK(this, FuncPage, ModifyHdl)); m_xLbFunctionSearchString->connect_changed(LINK(this, FuncPage, ModifyHdl));

View file

@ -44,7 +44,7 @@ StructPage::StructPage(weld::Container* pParent)
m_xTlbStruct->set_size_request(m_xTlbStruct->get_approximate_digit_width() * 20, m_xTlbStruct->set_size_request(m_xTlbStruct->get_approximate_digit_width() * 20,
m_xTlbStruct->get_height_rows(17)); 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() StructPage::~StructPage()

View file

@ -27,7 +27,7 @@ PlacesListBox::PlacesListBox(std::unique_ptr<weld::TreeView> xControl,
mxImpl->get_height_rows(9)); mxImpl->get_height_rows(9));
mxImpl->set_size_request(aSize.Width(), aSize.Height()); 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_row_activated( LINK( this, PlacesListBox, DoubleClick ) ) ;
mxImpl->connect_query_tooltip(LINK(this, PlacesListBox, QueryTooltipHdl)); mxImpl->connect_query_tooltip(LINK(this, PlacesListBox, QueryTooltipHdl));
} }

View file

@ -176,7 +176,10 @@ public:
OUString get_id(const weld::TreeIter& rIter) { return mxTreeView->get_id(rIter); } 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_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(); } int n_children() const { return mxTreeView->n_children(); }

View file

@ -37,7 +37,10 @@ public:
void clear() { m_xTreeView->clear(); } 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 InsertRootEntry(const OUString& rId, const OUString& rRootLabel);
void FillTreeEntry(const weld::TreeIter& rEntry); void FillTreeEntry(const weld::TreeIter& rEntry);

View file

@ -132,7 +132,10 @@ public:
rtl_TextEncoding GetSelectTextEncoding() const; 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 connect_row_activated(const Link<weld::TreeView&, bool>& rLink) { m_xControl->connect_row_activated(rLink); }
void grab_focus() { m_xControl->grab_focus(); } void grab_focus() { m_xControl->grab_focus(); }
void show() { m_xControl->show(); } void show() { m_xControl->show(); }

View file

@ -23,7 +23,7 @@ public:
static void trigger_changed(weld::ComboBox& rComboBox) { rComboBox.signal_changed(); } 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(); } static void trigger_changed(weld::IconView& rIconView) { rIconView.signal_selection_changed(); }

View file

@ -966,7 +966,7 @@ private:
OUString m_sSavedValue; OUString m_sSavedValue;
protected: protected:
Link<TreeView&, void> m_aChangeHdl; Link<TreeView&, void> m_aSelectionChangedHdl;
Link<TreeView&, bool> m_aRowActivatedHdl; Link<TreeView&, bool> m_aRowActivatedHdl;
Link<int, void> m_aColumnClickedHdl; Link<int, void> m_aColumnClickedHdl;
Link<const iter_col&, void> m_aRadioToggleHdl; Link<const iter_col&, void> m_aRadioToggleHdl;
@ -986,7 +986,7 @@ protected:
std::function<int(const weld::TreeIter&, const weld::TreeIter&)> m_aCustomSort; std::function<int(const weld::TreeIter&, const weld::TreeIter&)> m_aCustomSort;
protected: 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); } bool signal_row_activated() { return m_aRowActivatedHdl.Call(*this); }
void signal_column_clicked(int nColumn) { m_aColumnClickedHdl.Call(nColumn); } void signal_column_clicked(int nColumn) { m_aColumnClickedHdl.Call(nColumn); }
bool signal_expanding(const TreeIter& rIter) bool signal_expanding(const TreeIter& rIter)
@ -1076,7 +1076,10 @@ public:
virtual void insert_separator(int pos, const OUString& rId) = 0; virtual void insert_separator(int pos, const OUString& rId) = 0;
void append_separator(const OUString& rId) { insert_separator(-1, rId); } 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 /* 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. also be emitted when a row is selected and Space or Enter is pressed.

View file

@ -86,7 +86,7 @@ OAddFieldWindow::OAddFieldWindow(weld::Window* pParent, uno::Reference< beans::X
m_xActions->set_item_sensitive(u"insert"_ustr, false); m_xActions->set_item_sensitive(u"insert"_ustr, false);
m_xListBox->connect_row_activated(LINK( this, OAddFieldWindow, OnDoubleClickHdl ) ); 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)); m_xListBox->set_size_request(m_xListBox->get_approximate_digit_width() * 45, m_xListBox->get_height_rows(8));
if (!m_xRowSet.is()) if (!m_xRowSet.is())

View file

@ -220,7 +220,7 @@ NavigatorTree::NavigatorTree(std::unique_ptr<weld::TreeView> xTreeView, OReportC
m_xTreeView->set_selection_mode(SelectionMode::Multiple); 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)); m_xTreeView->connect_popup_menu(LINK(this, NavigatorTree, CommandHdl));
} }

View file

@ -644,7 +644,7 @@ ScCheckListMenuControl::ScCheckListMenuControl(weld::Widget* pParent, ScViewData
mxButtonBox->show(); mxButtonBox->show();
mxMenu->connect_row_activated(LINK(this, ScCheckListMenuControl, RowActivatedHdl)); 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)); mxMenu->connect_key_press(LINK(this, ScCheckListMenuControl, MenuKeyInputHdl));
mxBtnOk->connect_clicked(LINK(this, ScCheckListMenuControl, ButtonHdl)); mxBtnOk->connect_clicked(LINK(this, ScCheckListMenuControl, ButtonHdl));
@ -1743,10 +1743,12 @@ ScListSubMenuControl::ScListSubMenuControl(weld::Widget* pParent, ScCheckListMen
{ {
mxBackColorMenu->set_clicks_to_toggle(1); mxBackColorMenu->set_clicks_to_toggle(1);
mxBackColorMenu->enable_toggle_buttons(weld::ColumnToggleType::Radio); 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->set_clicks_to_toggle(1);
mxTextColorMenu->enable_toggle_buttons(weld::ColumnToggleType::Radio); 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(*mxBackColorMenu);
SetupMenu(*mxTextColorMenu); SetupMenu(*mxTextColorMenu);
} }

View file

@ -123,7 +123,7 @@ void ScConsolidateDlg::Init()
m_xLbDestArea->connect_focus_in( LINK( this, ScConsolidateDlg, GetFocusHdl ) ); m_xLbDestArea->connect_focus_in( LINK( this, ScConsolidateDlg, GetFocusHdl ) );
m_xEdDataArea->SetModifyHdl( LINK( this, ScConsolidateDlg, ModifyHdl ) ); m_xEdDataArea->SetModifyHdl( LINK( this, ScConsolidateDlg, ModifyHdl ) );
m_xEdDestArea->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_xLbDataArea->connect_changed( LINK( this, ScConsolidateDlg, SelectCBHdl ) );
m_xLbDestArea->connect_changed( LINK( this, ScConsolidateDlg, SelectCBHdl ) ); m_xLbDestArea->connect_changed( LINK( this, ScConsolidateDlg, SelectCBHdl ) );
m_xBtnOk->connect_clicked( LINK( this, ScConsolidateDlg, OkHdl ) ); m_xBtnOk->connect_clicked( LINK( this, ScConsolidateDlg, OkHdl ) );

View file

@ -82,9 +82,9 @@ void ScTpSubTotalGroup::Init()
assert(pDoc && "Document not found :-("); assert(pDoc && "Document not found :-(");
mxLbGroup->connect_changed( LINK( this, ScTpSubTotalGroup, SelectListBoxHdl ) ); 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 ) ); 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 ) ); mxLbSelectAllColumns->connect_toggled( LINK( this, ScTpSubTotalGroup, CheckBoxHdl ) );
mnFieldArr.resize(SC_MAXFIELDS(pDoc->GetSheetLimits())); mnFieldArr.resize(SC_MAXFIELDS(pDoc->GetSheetLimits()));

View file

@ -40,7 +40,7 @@ SearchResultsDlg::SearchResultsDlg(SfxBindings* _pBindings, weld::Window* pParen
o3tl::narrowing<int>(mxList->get_approximate_digit_width() * 10) o3tl::narrowing<int>(mxList->get_approximate_digit_width() * 10)
}; };
mxList->set_column_fixed_widths(aWidths); 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)); mxList->connect_column_clicked(LINK(this, SearchResultsDlg, HeaderBarClick));
} }

View file

@ -76,7 +76,7 @@ ScFunctionWin::ScFunctionWin(weld::Widget* pParent)
m_xSearchString->connect_key_press(LINK(this, ScFunctionWin, KeyInputHdl)); m_xSearchString->connect_key_press(LINK(this, ScFunctionWin, KeyInputHdl));
xCatBox->connect_changed(LINK( this, ScFunctionWin, SelComboHdl)); 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)); xFuncList->connect_row_activated(LINK( this, ScFunctionWin, SetRowActivatedHdl));
xInsertButton->connect_clicked(LINK( this, ScFunctionWin, SetSelectionClickHdl)); xInsertButton->connect_clicked(LINK( this, ScFunctionWin, SetSelectionClickHdl));

View file

@ -61,7 +61,10 @@ public:
void CheckForFormulaString(); void CheckForFormulaString();
int n_children() const { return m_xTreeView->n_children(); } 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 set_cursor(int nPos) { m_xTreeView->set_cursor(nPos); }
void addEntry(const ScRangeNameLine& rLine, bool bSetCurEntry); void addEntry(const ScRangeNameLine& rLine, bool bSetCurEntry);

View file

@ -126,7 +126,7 @@ ScAcceptChgDlg::ScAcceptChgDlg(SfxBindings* pB, SfxChildWindow* pCW, weld::Windo
weld::TreeView& rTreeView = pTheView->GetWidget(); weld::TreeView& rTreeView = pTheView->GetWidget();
rTreeView.connect_expanding(LINK(this, ScAcceptChgDlg, ExpandingHandle)); 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.connect_popup_menu(LINK(this, ScAcceptChgDlg, CommandHdl));
rTreeView.set_sort_func([this](const weld::TreeIter& rLeft, const weld::TreeIter& rRight){ rTreeView.set_sort_func([this](const weld::TreeIter& rLeft, const weld::TreeIter& rRight){
return ColCompareHdl(rLeft, rRight); return ColCompareHdl(rLeft, rRight);

View file

@ -361,7 +361,7 @@ ScConflictsDlg::ScConflictsDlg(weld::Window* pParent, ScViewData* pViewData, ScD
maSelectionIdle.SetInvokeHandler( LINK( this, ScConflictsDlg, UpdateSelectionHdl ) ); 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_xBtnKeepMine->connect_clicked( LINK( this, ScConflictsDlg, KeepMineHandle ) );
m_xBtnKeepOther->connect_clicked( LINK( this, ScConflictsDlg, KeepOtherHandle ) ); m_xBtnKeepOther->connect_clicked( LINK( this, ScConflictsDlg, KeepOtherHandle ) );

View file

@ -101,7 +101,7 @@ void ScColRowNameRangesDlg::Init()
m_xBtnCancel->connect_clicked ( LINK( this, ScColRowNameRangesDlg, CancelBtnHdl ) ); m_xBtnCancel->connect_clicked ( LINK( this, ScColRowNameRangesDlg, CancelBtnHdl ) );
m_xBtnAdd->connect_clicked ( LINK( this, ScColRowNameRangesDlg, AddBtnHdl ) ); m_xBtnAdd->connect_clicked ( LINK( this, ScColRowNameRangesDlg, AddBtnHdl ) );
m_xBtnRemove->connect_clicked ( LINK( this, ScColRowNameRangesDlg, RemoveBtnHdl ) ); 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_xEdAssign->SetModifyHdl ( LINK( this, ScColRowNameRangesDlg, Range1DataModifyHdl ) );
m_xBtnColHead->connect_toggled ( LINK( this, ScColRowNameRangesDlg, ColRowToggleHdl ) ); m_xBtnColHead->connect_toggled ( LINK( this, ScColRowNameRangesDlg, ColRowToggleHdl ) );
m_xEdAssign2->SetModifyHdl ( LINK( this, ScColRowNameRangesDlg, Range2DataModifyHdl ) ); m_xEdAssign2->SetModifyHdl ( LINK( this, ScColRowNameRangesDlg, Range2DataModifyHdl ) );

View file

@ -72,7 +72,7 @@ void ScInsertTableDlg::Init_Impl( bool bFromFile )
m_xBtnBrowse->connect_clicked( LINK( this, ScInsertTableDlg, BrowseHdl_Impl ) ); m_xBtnBrowse->connect_clicked( LINK( this, ScInsertTableDlg, BrowseHdl_Impl ) );
m_xBtnNew->connect_toggled( LINK( this, ScInsertTableDlg, ChoiceHdl_Impl ) ); m_xBtnNew->connect_toggled( LINK( this, ScInsertTableDlg, ChoiceHdl_Impl ) );
m_xBtnFromFile->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_xNfCount->connect_value_changed( LINK( this, ScInsertTableDlg, CountHdl_Impl));
m_xBtnOk->connect_clicked( LINK( this, ScInsertTableDlg, DoEnterHdl )); m_xBtnOk->connect_clicked( LINK( this, ScInsertTableDlg, DoEnterHdl ));
m_xBtnBefore->set_active(true); m_xBtnBefore->set_active(true);

View file

@ -50,7 +50,7 @@ ScLinkedAreaDlg::ScLinkedAreaDlg(weld::Widget* pParent)
m_xCbUrl->connect_entry_activate(LINK(this, ScLinkedAreaDlg, FileHdl)); m_xCbUrl->connect_entry_activate(LINK(this, ScLinkedAreaDlg, FileHdl));
m_xBtnBrowse->connect_clicked(LINK( this, ScLinkedAreaDlg, BrowseHdl)); 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->set_size_request(m_xLbRanges->get_approximate_digit_width() * 54,
m_xLbRanges->get_height_rows(5)); m_xLbRanges->get_height_rows(5));
m_xBtnReload->connect_toggled(LINK( this, ScLinkedAreaDlg, ReloadHdl)); m_xBtnReload->connect_toggled(LINK( this, ScLinkedAreaDlg, ReloadHdl));

View file

@ -82,7 +82,7 @@ ScAutoFormatDlg::~ScAutoFormatDlg()
void ScAutoFormatDlg::Init() 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_xBtnNumFormat->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) );
m_xBtnBorder->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) ); m_xBtnBorder->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) );
m_xBtnFont->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) ); m_xBtnFont->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) );

View file

@ -77,7 +77,7 @@ ScSolverOptionsDialog::ScSolverOptionsDialog(weld::Window* pParent,
m_xBtnEdit->connect_clicked( LINK( this, ScSolverOptionsDialog, ButtonHdl ) ); 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 ) ); m_xLbSettings->connect_row_activated( LINK( this, ScSolverOptionsDialog, SettingsDoubleClickHdl ) );
sal_Int32 nSelect = -1; sal_Int32 nSelect = -1;

View file

@ -195,7 +195,7 @@ ScScenarioWindow::ScScenarioWindow(weld::Builder& rBuilder, const OUString& aQH_
m_xLbScenario->set_tooltip_text(aQH_List); m_xLbScenario->set_tooltip_text(aQH_List);
m_xEdComment->set_tooltip_text(aQH_Comment); 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_row_activated(LINK(this, ScScenarioWindow, DoubleClickHdl));
m_xLbScenario->connect_key_press(LINK(this, ScScenarioWindow, KeyInputHdl)); m_xLbScenario->connect_key_press(LINK(this, ScScenarioWindow, KeyInputHdl));
m_xLbScenario->connect_popup_menu(LINK(this, ScScenarioWindow, ContextMenuHdl)); m_xLbScenario->connect_popup_menu(LINK(this, ScScenarioWindow, ContextMenuHdl));

View file

@ -89,7 +89,7 @@ void ScTpUserLists::Init()
SfxViewShell* pSh = SfxViewShell::Current(); SfxViewShell* pSh = SfxViewShell::Current();
ScTabViewShell* pViewSh = dynamic_cast<ScTabViewShell*>( pSh ); 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 ) ); mxBtnNew->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) );
mxBtnDiscard->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) ); mxBtnDiscard->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) );
mxBtnAdd->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) ); mxBtnAdd->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) );

View file

@ -96,7 +96,7 @@ ScXMLSourceDlg::ScXMLSourceDlg(
mxBtnOk->connect_clicked(aBtnHdl); mxBtnOk->connect_clicked(aBtnHdl);
mxBtnCancel->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); Link<formula::RefEdit&,void> aLink = LINK(this, ScXMLSourceDlg, RefModifiedHdl);
mxRefEdit->SetModifyHdl(aLink); mxRefEdit->SetModifyHdl(aLink);

View file

@ -453,7 +453,7 @@ CustomAnimationList::CustomAnimationList(std::unique_ptr<weld::TreeView> xTreeVi
mxEmptyLabel->set_stack_background(); mxEmptyLabel->set_stack_background();
mxTreeView->set_selection_mode(SelectionMode::Multiple); 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_key_press(LINK(this, CustomAnimationList, KeyInputHdl));
mxTreeView->connect_popup_menu(LINK(this, CustomAnimationList, CommandHdl)); mxTreeView->connect_popup_menu(LINK(this, CustomAnimationList, CommandHdl));
mxTreeView->connect_row_activated(LINK(this, CustomAnimationList, DoubleClickHdl)); mxTreeView->connect_row_activated(LINK(this, CustomAnimationList, DoubleClickHdl));

View file

@ -163,7 +163,7 @@ css::ui::LayoutSize CustomAnimationPane::GetHeightForWidth(const sal_Int32 /*nWi
void CustomAnimationPane::initialize() 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->setController( static_cast<ICustomAnimationListController*> ( this ) );
mxCustomAnimationList->set_size_request(mxCustomAnimationList->get_approximate_digit_width() * 15, mxCustomAnimationList->set_size_request(mxCustomAnimationList->get_approximate_digit_width() * 15,
mxCustomAnimationList->get_height_rows(4)); mxCustomAnimationList->get_height_rows(4));

View file

@ -141,7 +141,7 @@ SvxBulletAndPositionDlg::SvxBulletAndPositionDlg(weld::Window* pWindow, const Sf
m_xBitmapMB->connect_selected(LINK(this, SvxBulletAndPositionDlg, GraphicHdl_Impl)); m_xBitmapMB->connect_selected(LINK(this, SvxBulletAndPositionDlg, GraphicHdl_Impl));
m_xBitmapMB->connect_toggled(LINK(this, SvxBulletAndPositionDlg, PopupActivateHdl_Impl)); m_xBitmapMB->connect_toggled(LINK(this, SvxBulletAndPositionDlg, PopupActivateHdl_Impl));
m_xLevelLB->set_selection_mode(SelectionMode::Multiple); 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_xWidthMF->connect_value_changed(LINK(this, SvxBulletAndPositionDlg, SizeHdl_Impl));
m_xHeightMF->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)); m_xRatioCB->connect_toggled(LINK(this, SvxBulletAndPositionDlg, RatioHdl_Impl));

View file

@ -66,7 +66,7 @@ SdPhotoAlbumDialog::SdPhotoAlbumDialog(weld::Window* pWindow, SdDrawDocument* pA
m_xDownBtn->set_sensitive(false); m_xDownBtn->set_sensitive(false);
m_xRemoveBtn->connect_clicked(LINK(this, SdPhotoAlbumDialog, RemoveHdl)); m_xRemoveBtn->connect_clicked(LINK(this, SdPhotoAlbumDialog, RemoveHdl));
m_xRemoveBtn->set_sensitive(false); 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_xInsTypeCombo->connect_changed(LINK(this, SdPhotoAlbumDialog, TypeSelectHdl));
m_pGraphicFilter = std::make_unique<GraphicFilter>(); m_pGraphicFilter = std::make_unique<GraphicFilter>();

View file

@ -29,7 +29,7 @@ SdSelectLayerDlg::SdSelectLayerDlg(weld::Window* pParent)
m_xListLB->set_size_request(m_xListLB->get_approximate_digit_width() * 32, m_xListLB->set_size_request(m_xListLB->get_approximate_digit_width() * 32,
m_xListLB->get_height_rows(8)); m_xListLB->get_height_rows(8));
m_xListLB->connect_row_activated(LINK(this, SdSelectLayerDlg, DoubleClickHdl)); 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) IMPL_LINK_NOARG(SdSelectLayerDlg, DoubleClickHdl, weld::TreeView&, bool)

View file

@ -51,7 +51,7 @@ SdCustomShowDlg::SdCustomShowDlg(weld::Window* pWindow, SdDrawDocument& rDrawDoc
m_xBtnEdit->connect_clicked( aLink ); m_xBtnEdit->connect_clicked( aLink );
m_xBtnRemove->connect_clicked( aLink ); m_xBtnRemove->connect_clicked( aLink );
m_xBtnCopy->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 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_xBtnAdd->connect_clicked( aLink );
m_xBtnRemove->connect_clicked( aLink ); m_xBtnRemove->connect_clicked( aLink );
m_xEdtName->connect_changed( LINK( this, SdDefineCustomShowDlg, ClickButtonEditHdl ) ); m_xEdtName->connect_changed( LINK( this, SdDefineCustomShowDlg, ClickButtonEditHdl ) );
m_xLbPages->connect_changed( LINK( this, SdDefineCustomShowDlg, ClickButtonHdl4 ) ); // because of status m_xLbPages->connect_selection_changed(LINK(this, SdDefineCustomShowDlg, ClickButtonHdl4)); // because of status
m_xLbCustomPages->connect_changed( LINK( this, SdDefineCustomShowDlg, ClickButtonHdl3 ) ); // because of status m_xLbCustomPages->connect_selection_changed(LINK(this, SdDefineCustomShowDlg, ClickButtonHdl3)); // because of status
m_xBtnOK->connect_clicked( LINK( this, SdDefineCustomShowDlg, OKHdl ) ); m_xBtnOK->connect_clicked( LINK( this, SdDefineCustomShowDlg, OKHdl ) );

View file

@ -752,7 +752,7 @@ SdPageObjsTLV::SdPageObjsTLV(std::unique_ptr<weld::TreeView> xTreeView)
, m_nRowActivateEventId(nullptr) , m_nRowActivateEventId(nullptr)
{ {
m_xTreeView->connect_expanding(LINK(this, SdPageObjsTLV, RequestingChildrenHdl)); 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_row_activated(LINK(this, SdPageObjsTLV, RowActivatedHdl));
m_xTreeView->connect_drag_begin(LINK(this, SdPageObjsTLV, DragBeginHdl)); m_xTreeView->connect_drag_begin(LINK(this, SdPageObjsTLV, DragBeginHdl));
m_xTreeView->connect_key_press(LINK(this, SdPageObjsTLV, KeyInputHdl)); m_xTreeView->connect_key_press(LINK(this, SdPageObjsTLV, KeyInputHdl));

View file

@ -406,7 +406,7 @@ IndexTabPage_Impl::IndexTabPage_Impl(weld::Widget* pParent, SfxHelpIndexWindow_I
aAutoCompleteIdle.SetInvokeHandler( LINK(this, IndexTabPage_Impl, AutoCompleteHdl )); aAutoCompleteIdle.SetInvokeHandler( LINK(this, IndexTabPage_Impl, AutoCompleteHdl ));
aKeywordTimer.SetInvokeHandler( LINK( this, IndexTabPage_Impl, TimeoutHdl ) ); aKeywordTimer.SetInvokeHandler( LINK( this, IndexTabPage_Impl, TimeoutHdl ) );
m_xIndexList->connect_row_activated(LINK(this, IndexTabPage_Impl, DoubleClickHdl)); 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_get_size(LINK(this, IndexTabPage_Impl, CustomGetSizeHdl));
m_xIndexList->connect_custom_render(LINK(this, IndexTabPage_Impl, CustomRenderHdl)); m_xIndexList->connect_custom_render(LINK(this, IndexTabPage_Impl, CustomRenderHdl));
m_xIndexList->set_column_custom_renderer(0, true); m_xIndexList->set_column_custom_renderer(0, true);

View file

@ -31,7 +31,7 @@ TemplateDlgLocalView::TemplateDlgLocalView(std::unique_ptr<weld::ScrolledWindow>
{ {
mxTreeView->connect_row_activated(LINK(this, TemplateDlgLocalView, RowActivatedHdl)); mxTreeView->connect_row_activated(LINK(this, TemplateDlgLocalView, RowActivatedHdl));
mxTreeView->connect_column_clicked(LINK(this, ListView, ColumnClickedHdl)); 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_popup_menu(LINK(this, TemplateDlgLocalView, PopupMenuHdl));
mxTreeView->connect_key_press(LINK(this, TemplateDlgLocalView, KeyPressHdl)); mxTreeView->connect_key_press(LINK(this, TemplateDlgLocalView, KeyPressHdl));
} }

View file

@ -37,7 +37,7 @@ DevelopmentToolDockingWindow::DevelopmentToolDockingWindow(SfxBindings* pInputBi
pInputBindings->GetDispatcher()->GetFrame()->GetObjectShell()->GetBaseModel()) pInputBindings->GetDispatcher()->GetFrame()->GetObjectShell()->GetBaseModel())
, maObjectInspectorTreeHandler(mpObjectInspectorWidgets) , maObjectInspectorTreeHandler(mpObjectInspectorWidgets)
{ {
mpDocumentModelTreeView->connect_changed( mpDocumentModelTreeView->connect_selection_changed(
LINK(this, DevelopmentToolDockingWindow, DocumentModelTreeViewSelectionHandler)); LINK(this, DevelopmentToolDockingWindow, DocumentModelTreeViewSelectionHandler));
mpDomToolbar->connect_clicked( mpDomToolbar->connect_clicked(
LINK(this, DevelopmentToolDockingWindow, DomToolbarButtonClicked)); LINK(this, DevelopmentToolDockingWindow, DomToolbarButtonClicked));

View file

@ -941,13 +941,13 @@ ObjectInspectorTreeHandler::ObjectInspectorTreeHandler(
mpObjectInspectorWidgets->mpPropertiesTreeView->connect_popup_menu( mpObjectInspectorWidgets->mpPropertiesTreeView->connect_popup_menu(
LINK(this, ObjectInspectorTreeHandler, PopupMenuHandler)); LINK(this, ObjectInspectorTreeHandler, PopupMenuHandler));
mpObjectInspectorWidgets->mpInterfacesTreeView->connect_changed( mpObjectInspectorWidgets->mpInterfacesTreeView->connect_selection_changed(
LINK(this, ObjectInspectorTreeHandler, SelectionChanged)); LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
mpObjectInspectorWidgets->mpServicesTreeView->connect_changed( mpObjectInspectorWidgets->mpServicesTreeView->connect_selection_changed(
LINK(this, ObjectInspectorTreeHandler, SelectionChanged)); LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
mpObjectInspectorWidgets->mpPropertiesTreeView->connect_changed( mpObjectInspectorWidgets->mpPropertiesTreeView->connect_selection_changed(
LINK(this, ObjectInspectorTreeHandler, SelectionChanged)); LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
mpObjectInspectorWidgets->mpMethodsTreeView->connect_changed( mpObjectInspectorWidgets->mpMethodsTreeView->connect_selection_changed(
LINK(this, ObjectInspectorTreeHandler, SelectionChanged)); LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
mpObjectInspectorWidgets->mpInterfacesTreeView->make_sorted(); mpObjectInspectorWidgets->mpInterfacesTreeView->make_sorted();

View file

@ -369,11 +369,11 @@ void StyleList::Initialize()
m_xFmtLb->connect_row_activated(LINK(this, StyleList, TreeListApplyHdl)); m_xFmtLb->connect_row_activated(LINK(this, StyleList, TreeListApplyHdl));
m_xFmtLb->connect_mouse_press(LINK(this, StyleList, MousePressHdl)); m_xFmtLb->connect_mouse_press(LINK(this, StyleList, MousePressHdl));
m_xFmtLb->connect_query_tooltip(LINK(this, StyleList, QueryTooltipHdl)); 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_popup_menu(LINK(this, StyleList, PopupFlatMenuHdl));
m_xFmtLb->connect_key_press(LINK(this, StyleList, KeyInputHdl)); m_xFmtLb->connect_key_press(LINK(this, StyleList, KeyInputHdl));
m_xFmtLb->set_selection_mode(SelectionMode::Multiple); 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_row_activated(LINK(this, StyleList, TreeListApplyHdl));
m_xTreeBox->connect_mouse_press(LINK(this, StyleList, MousePressHdl)); m_xTreeBox->connect_mouse_press(LINK(this, StyleList, MousePressHdl));
m_xTreeBox->connect_query_tooltip(LINK(this, StyleList, QueryTooltipHdl)); m_xTreeBox->connect_query_tooltip(LINK(this, StyleList, QueryTooltipHdl));

View file

@ -170,7 +170,7 @@ SfxVersionDialog::SfxVersionDialog(weld::Window* pParent, SfxViewFrame* pVwFrame
m_xSaveCheckBox->connect_toggled(LINK(this, SfxVersionDialog, ToggleHdl_Impl)); m_xSaveCheckBox->connect_toggled(LINK(this, SfxVersionDialog, ToggleHdl_Impl));
m_xCmisButton->connect_clicked( aClickLink ); 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->connect_row_activated( LINK( this, SfxVersionDialog, DClickHdl_Impl ) );
m_xVersionBox->grab_focus(); m_xVersionBox->grab_focus();

View file

@ -280,7 +280,7 @@ SfxNewFileDialog::SfxNewFileDialog(weld::Window *pParent, SfxNewFileDialogMode n
bool bExpand = !sExtraData.isEmpty() && sExtraData[0] == 'Y'; bool bExpand = !sExtraData.isEmpty() && sExtraData[0] == 'Y';
m_xMoreBt->set_expanded(bExpand && (nFlags != SfxNewFileDialogMode::NONE)); 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)); m_xTemplateLb->connect_row_activated(LINK(this, SfxNewFileDialog, DoubleClick));
// update the template configuration if necessary // 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) for(sal_uInt16 i = 0; i < nCount; ++i)
m_xRegionLb->append_text(m_aTemplates.GetFullRegionName(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 ); m_aPrevIdle.SetPriority( TaskPriority::LOWEST );

View file

@ -47,7 +47,8 @@ SfxSaveAsTemplateDialog::SfxSaveAsTemplateDialog(weld::Window* pParent, uno::Ref
SetCategoryLBEntries(msCategories); SetCategoryLBEntries(msCategories);
m_xTemplateNameEdit->connect_changed(LINK(this, SfxSaveAsTemplateDialog, TemplateNameEditHdl)); 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->set_size_request(m_xLBCategory->get_approximate_digit_width() * 32,
m_xLBCategory->get_height_rows(8)); m_xLBCategory->get_height_rows(8));
m_xOKButton->connect_clicked(LINK(this, SfxSaveAsTemplateDialog, OkClickHdl)); m_xOKButton->connect_clicked(LINK(this, SfxSaveAsTemplateDialog, OkClickHdl));

View file

@ -1267,7 +1267,8 @@ SfxTemplateCategoryDialog::SfxTemplateCategoryDialog(weld::Window* pParent)
mxNewCategoryEdit->connect_changed(LINK(this, SfxTemplateCategoryDialog, NewCategoryEditHdl)); mxNewCategoryEdit->connect_changed(LINK(this, SfxTemplateCategoryDialog, NewCategoryEditHdl));
mxLBCategory->set_size_request(mxLBCategory->get_approximate_digit_width() * 32, mxLBCategory->set_size_request(mxLBCategory->get_approximate_digit_width() * 32,
mxLBCategory->get_height_rows(8)); mxLBCategory->get_height_rows(8));
mxLBCategory->connect_changed(LINK(this, SfxTemplateCategoryDialog, SelectCategoryHdl)); mxLBCategory->connect_selection_changed(
LINK(this, SfxTemplateCategoryDialog, SelectCategoryHdl));
mxOKButton->set_sensitive(false); mxOKButton->set_sensitive(false);
} }

Some files were not shown because too many files have changed in this diff Show more