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:
parent
4b9bf0a2b9
commit
57d532057b
147 changed files with 276 additions and 218 deletions
|
@ -58,7 +58,7 @@ void ColorSchemeDialog::Init()
|
|||
m_xOk->connect_clicked(LINK(this, ColorSchemeDialog, BtnOkHdl));
|
||||
m_xUseAppCollors->connect_toggled(LINK(this, ColorSchemeDialog, OptionHdl));
|
||||
m_xUseScheme->connect_toggled(LINK(this, ColorSchemeDialog, OptionHdl));
|
||||
m_xSchemeList->connect_changed(LINK(this, ColorSchemeDialog, SelectHdl));
|
||||
m_xSchemeList->connect_selection_changed(LINK(this, ColorSchemeDialog, SelectHdl));
|
||||
|
||||
// Populate the list with available color schemes
|
||||
for (auto const& rName : m_pColorConfig->GetColorSchemeNames())
|
||||
|
|
|
@ -1740,7 +1740,7 @@ WatchWindow::WatchWindow(Layout* pParent)
|
|||
m_xTreeListBox->set_help_id(HID_BASICIDE_WATCHWINDOW_LIST);
|
||||
m_xTreeListBox->connect_editing(LINK(this, WatchWindow, EditingEntryHdl),
|
||||
LINK(this, WatchWindow, EditedEntryHdl));
|
||||
m_xTreeListBox->connect_changed( LINK( this, WatchWindow, TreeListHdl ) );
|
||||
m_xTreeListBox->connect_selection_changed(LINK(this, WatchWindow, TreeListHdl));
|
||||
m_xTreeListBox->connect_expanding(LINK(this, WatchWindow, RequestingChildrenHdl));
|
||||
|
||||
// VarTabWidth, ValueTabWidth, TypeTabWidth
|
||||
|
@ -2864,7 +2864,7 @@ CodeCompleteWindow::CodeCompleteWindow(EditorWindow* pPar)
|
|||
, m_xListBox(m_xBuilder->weld_tree_view(u"treeview"_ustr))
|
||||
{
|
||||
m_xListBox->connect_row_activated(LINK(this, CodeCompleteWindow, ImplDoubleClickHdl));
|
||||
m_xListBox->connect_changed(LINK(this, CodeCompleteWindow, ImplSelectHdl));
|
||||
m_xListBox->connect_selection_changed(LINK(this, CodeCompleteWindow, ImplSelectHdl));
|
||||
m_xListBox->connect_key_press(LINK(this, CodeCompleteWindow, KeyInputHdl));
|
||||
m_xListBox->make_sorted();
|
||||
m_xListBox->set_direction(false);
|
||||
|
|
|
@ -100,7 +100,7 @@ MacroChooser::MacroChooser(weld::Window* pParnt, const Reference< frame::XFrame
|
|||
m_xBasicBox->connect_changed( LINK( this, MacroChooser, BasicSelectHdl ) );
|
||||
|
||||
m_xMacroBox->connect_row_activated( LINK( this, MacroChooser, MacroDoubleClickHdl ) );
|
||||
m_xMacroBox->connect_changed( LINK( this, MacroChooser, MacroSelectHdl ) );
|
||||
m_xMacroBox->connect_selection_changed(LINK(this, MacroChooser, MacroSelectHdl));
|
||||
m_xMacroBox->connect_popup_menu( LINK( this, MacroChooser, ContextMenuHdl ) );
|
||||
|
||||
m_xBasicBox->SetMode( BrowseMode::Modules );
|
||||
|
|
|
@ -246,7 +246,7 @@ LibPage::LibPage(weld::Container* pParent, OrganizeDialog* pDialog)
|
|||
m_xExportButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) );
|
||||
m_xInsertLibButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) );
|
||||
m_xDelButton->connect_clicked( LINK( this, LibPage, ButtonHdl ) );
|
||||
m_xLibBox->connect_changed( LINK( this, LibPage, TreeListHighlightHdl ) );
|
||||
m_xLibBox->connect_selection_changed(LINK(this, LibPage, TreeListHighlightHdl));
|
||||
|
||||
m_xBasicsBox->connect_changed( LINK( this, LibPage, BasicSelectHdl ) );
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ void ManageLanguageDialog::Init()
|
|||
m_xAddPB->connect_clicked( LINK( this, ManageLanguageDialog, AddHdl ) );
|
||||
m_xDeletePB->connect_clicked( LINK( this, ManageLanguageDialog, DeleteHdl ) );
|
||||
m_xMakeDefPB->connect_clicked( LINK( this, ManageLanguageDialog, MakeDefHdl ) );
|
||||
m_xLanguageLB->connect_changed( LINK( this, ManageLanguageDialog, SelectHdl ) );
|
||||
m_xLanguageLB->connect_selection_changed(LINK(this, ManageLanguageDialog, SelectHdl));
|
||||
|
||||
m_xLanguageLB->set_selection_mode(SelectionMode::Multiple);
|
||||
}
|
||||
|
|
|
@ -227,7 +227,10 @@ public:
|
|||
std::unique_ptr<Entry>&& rUserData,
|
||||
weld::TreeIter* pRet = nullptr);
|
||||
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink) { m_xControl->connect_changed(rLink); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xControl->connect_selection_changed(rLink);
|
||||
}
|
||||
std::unique_ptr<weld::TreeIter> make_iterator(const weld::TreeIter* pIter = nullptr) const { return m_xControl->make_iterator(pIter); }
|
||||
void copy_iterator(const weld::TreeIter& rSource, weld::TreeIter& rDest) const { m_xControl->copy_iterator(rSource, rDest); }
|
||||
bool get_selected(weld::TreeIter* pIter) const { return m_xControl->get_selected(pIter); }
|
||||
|
|
|
@ -34,7 +34,7 @@ BarGeometryResources::BarGeometryResources(weld::Builder* pBuilder)
|
|||
|
||||
void BarGeometryResources::connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xLB_Geometry->connect_changed(rLink);
|
||||
m_xLB_Geometry->connect_selection_changed(rLink);
|
||||
}
|
||||
|
||||
void BarGeometryResources::set_visible(bool bShow)
|
||||
|
|
|
@ -71,7 +71,7 @@ ChartTypeTabPage::ChartTypeTabPage(weld::Container* pPage, weld::DialogControlle
|
|||
|
||||
SetPageTitle(SchResId(STR_PAGE_CHARTTYPE));
|
||||
|
||||
m_xMainTypeList->connect_changed(LINK(this, ChartTypeTabPage, SelectMainTypeHdl));
|
||||
m_xMainTypeList->connect_selection_changed(LINK(this, ChartTypeTabPage, SelectMainTypeHdl));
|
||||
m_xSubTypeList->SetSelectHdl( LINK( this, ChartTypeTabPage, SelectSubTypeHdl ) );
|
||||
|
||||
m_xSubTypeList->SetStyle(m_xSubTypeList->GetStyle() |
|
||||
|
|
|
@ -184,8 +184,9 @@ DataSourceTabPage::DataSourceTabPage(weld::Container* pPage, weld::DialogControl
|
|||
SetPageTitle(SchResId(STR_OBJECT_DATASERIES_PLURAL));
|
||||
|
||||
// set handlers
|
||||
m_xLB_SERIES->connect_changed(LINK(this, DataSourceTabPage, SeriesSelectionChangedHdl));
|
||||
m_xLB_ROLE->connect_changed(LINK(this, DataSourceTabPage, RoleSelectionChangedHdl));
|
||||
m_xLB_SERIES->connect_selection_changed(
|
||||
LINK(this, DataSourceTabPage, SeriesSelectionChangedHdl));
|
||||
m_xLB_ROLE->connect_selection_changed(LINK(this, DataSourceTabPage, RoleSelectionChangedHdl));
|
||||
|
||||
m_xIMB_RANGE_MAIN->connect_clicked(LINK(this, DataSourceTabPage, MainRangeButtonClickedHdl));
|
||||
m_xIMB_RANGE_CAT->connect_clicked(LINK(this, DataSourceTabPage, CategoriesRangeButtonClickedHdl));
|
||||
|
|
|
@ -54,7 +54,7 @@ SvxMenuConfigPage::SvxMenuConfigPage(weld::Container* pPage, weld::DialogControl
|
|||
rTreeView.set_vexpand(true);
|
||||
rTreeView.show();
|
||||
|
||||
rTreeView.connect_changed(LINK(this, SvxMenuConfigPage, SelectMenuEntry));
|
||||
rTreeView.connect_selection_changed(LINK(this, SvxMenuConfigPage, SelectMenuEntry));
|
||||
rTreeView.connect_popup_menu(LINK(this, SvxMenuConfigPage, ContentContextMenuHdl));
|
||||
|
||||
m_xFunctions->get_widget().connect_popup_menu(
|
||||
|
|
|
@ -64,7 +64,7 @@ SvxToolbarConfigPage::SvxToolbarConfigPage(weld::Container* pPage,
|
|||
rTreeView.set_help_id(HID_SVX_CONFIG_TOOLBAR_CONTENTS);
|
||||
rTreeView.show();
|
||||
|
||||
rTreeView.connect_changed(LINK(this, SvxToolbarConfigPage, SelectToolbarEntry));
|
||||
rTreeView.connect_selection_changed(LINK(this, SvxToolbarConfigPage, SelectToolbarEntry));
|
||||
rTreeView.connect_popup_menu(LINK(this, SvxToolbarConfigPage, ContentContextMenuHdl));
|
||||
|
||||
m_xFunctions->get_widget().connect_popup_menu(
|
||||
|
|
|
@ -892,11 +892,11 @@ SfxAcceleratorConfigPage::SfxAcceleratorConfigPage(weld::Container* pPage,
|
|||
// install handler functions
|
||||
m_xChangeButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, ChangeHdl));
|
||||
m_xRemoveButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, RemoveHdl));
|
||||
m_xEntriesBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, SelectHdl));
|
||||
m_xEntriesBox->connect_selection_changed(LINK(this, SfxAcceleratorConfigPage, SelectHdl));
|
||||
m_xEntriesBox->connect_key_press(LINK(this, SfxAcceleratorConfigPage, KeyInputHdl));
|
||||
m_xGroupLBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, SelectHdl));
|
||||
m_xFunctionBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, SelectHdl));
|
||||
m_xKeyBox->connect_changed(LINK(this, SfxAcceleratorConfigPage, SelectHdl));
|
||||
m_xKeyBox->connect_selection_changed(LINK(this, SfxAcceleratorConfigPage, SelectHdl));
|
||||
m_xLoadButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Load));
|
||||
m_xSaveButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Save));
|
||||
m_xResetButton->connect_clicked(LINK(this, SfxAcceleratorConfigPage, Default));
|
||||
|
|
|
@ -1041,7 +1041,7 @@ SvxConfigPage::SvxConfigPage(weld::Container* pPage, weld::DialogController* pCo
|
|||
m_xSearchEdit->connect_focus_out(LINK(this, SvxConfigPage, FocusOut_Impl));
|
||||
|
||||
rTreeView.connect_row_activated(LINK(this, SvxConfigPage, FunctionDoubleClickHdl));
|
||||
rTreeView.connect_changed(LINK(this, SvxConfigPage, SelectFunctionHdl));
|
||||
rTreeView.connect_selection_changed(LINK(this, SvxConfigPage, SelectFunctionHdl));
|
||||
}
|
||||
|
||||
IMPL_LINK_NOARG(SvxConfigPage, SelectElementHdl, weld::ComboBox&, void)
|
||||
|
@ -1838,7 +1838,7 @@ SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog(
|
|||
m_xDialog->set_title(CuiResId(RID_CUISTR_MOVE_MENU));
|
||||
}
|
||||
|
||||
m_xMenuListBox->connect_changed(LINK(this, SvxMainMenuOrganizerDialog, SelectHdl));
|
||||
m_xMenuListBox->connect_selection_changed(LINK(this, SvxMainMenuOrganizerDialog, SelectHdl));
|
||||
|
||||
m_xMoveUpButton->connect_clicked(LINK( this, SvxMainMenuOrganizerDialog, MoveHdl));
|
||||
m_xMoveDownButton->connect_clicked(LINK( this, SvxMainMenuOrganizerDialog, MoveHdl));
|
||||
|
|
|
@ -561,7 +561,7 @@ void SvxMacroTabPage_::InitAndSetHandler( const Reference< container::XNameRepla
|
|||
if( mpImpl->xAssignComponentPB )
|
||||
mpImpl->xAssignComponentPB->connect_clicked( aLnk );
|
||||
mpImpl->xEventLB->connect_row_activated( LINK(this, SvxMacroTabPage_, DoubleClickHdl_Impl ) );
|
||||
mpImpl->xEventLB->connect_changed( LINK( this, SvxMacroTabPage_, SelectEvent_Impl ));
|
||||
mpImpl->xEventLB->connect_selection_changed(LINK(this, SvxMacroTabPage_, SelectEvent_Impl));
|
||||
|
||||
std::vector<int> aWidths
|
||||
{
|
||||
|
|
|
@ -610,7 +610,7 @@ void TPGalleryThemeProperties::SetXChgData( ExchangeData* _pData )
|
|||
m_xCbxPreview->connect_toggled(LINK(this, TPGalleryThemeProperties, ClickPreviewHdl));
|
||||
m_xCbbFileType->connect_changed(LINK(this, TPGalleryThemeProperties, SelectFileTypeHdl));
|
||||
m_xLbxFound->connect_row_activated(LINK(this, TPGalleryThemeProperties, DClickFoundHdl));
|
||||
m_xLbxFound->connect_changed(LINK(this, TPGalleryThemeProperties, SelectFoundHdl));
|
||||
m_xLbxFound->connect_selection_changed(LINK(this, TPGalleryThemeProperties, SelectFoundHdl));
|
||||
m_xLbxFound->append_text(CuiResId(RID_CUISTR_GALLERY_NOFILES));
|
||||
m_xLbxFound->show();
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ SvxListDialog::SvxListDialog(weld::Window* pParent)
|
|||
m_xAddBtn->connect_clicked(LINK(this, SvxListDialog, AddHdl_Impl));
|
||||
m_xRemoveBtn->connect_clicked(LINK(this, SvxListDialog, RemoveHdl_Impl));
|
||||
m_xEditBtn->connect_clicked(LINK(this, SvxListDialog, EditHdl_Impl));
|
||||
m_xList->connect_changed(LINK(this, SvxListDialog, SelectHdl_Impl));
|
||||
m_xList->connect_selection_changed(LINK(this, SvxListDialog, SelectHdl_Impl));
|
||||
m_xList->connect_row_activated(LINK(this, SvxListDialog, DblClickHdl_Impl));
|
||||
|
||||
SelectionChanged();
|
||||
|
|
|
@ -294,7 +294,8 @@ namespace svx
|
|||
, m_xListBox(rBuilder.weld_tree_view(u"listbox"_ustr))
|
||||
{
|
||||
m_xValueSet->SetSelectHdl( LINK( this, SuggestionDisplay, SelectSuggestionValueSetHdl ) );
|
||||
m_xListBox->connect_changed( LINK( this, SuggestionDisplay, SelectSuggestionListBoxHdl ) );
|
||||
m_xListBox->connect_selection_changed(
|
||||
LINK(this, SuggestionDisplay, SelectSuggestionListBoxHdl));
|
||||
|
||||
m_xValueSet->SetLineCount( LINE_CNT );
|
||||
m_xValueSet->SetStyle( m_xValueSet->GetStyle() | WB_ITEMBORDER | WB_VSCROLL );
|
||||
|
@ -894,7 +895,8 @@ namespace svx
|
|||
|
||||
m_xDictsLB->enable_toggle_buttons(weld::ColumnToggleType::Check);
|
||||
|
||||
m_xDictsLB->connect_changed( LINK( this, HangulHanjaOptionsDialog, DictsLB_SelectHdl ) );
|
||||
m_xDictsLB->connect_selection_changed(
|
||||
LINK(this, HangulHanjaOptionsDialog, DictsLB_SelectHdl));
|
||||
|
||||
m_xOkPB->connect_clicked( LINK( this, HangulHanjaOptionsDialog, OkHdl ) );
|
||||
m_xNewPB->connect_clicked( LINK( this, HangulHanjaOptionsDialog, NewDictHdl ) );
|
||||
|
|
|
@ -115,7 +115,7 @@ SvBaseLinksDlg::SvBaseLinksDlg(weld::Window * pParent, LinkManager* pMgr, bool b
|
|||
aUpdateIdle.SetInvokeHandler( LINK( this, SvBaseLinksDlg, UpdateWaitingHdl ) );
|
||||
aUpdateIdle.SetPriority( TaskPriority::LOWEST );
|
||||
|
||||
m_xTbLinks->connect_changed( LINK( this, SvBaseLinksDlg, LinksSelectHdl ) );
|
||||
m_xTbLinks->connect_selection_changed(LINK(this, SvBaseLinksDlg, LinksSelectHdl));
|
||||
m_xTbLinks->connect_row_activated( LINK( this, SvBaseLinksDlg, LinksDoubleClickHdl ) );
|
||||
m_xRbAutomatic->connect_toggled( LINK( this, SvBaseLinksDlg, ToggleHdl ) );
|
||||
m_xRbManual->connect_toggled( LINK( this, SvBaseLinksDlg, ToggleHdl ) );
|
||||
|
|
|
@ -196,7 +196,7 @@ SvxMultiPathDialog::SvxMultiPathDialog(weld::Window* pParent)
|
|||
m_xRadioLB->get_text_height() * 10);
|
||||
m_xRadioLB->enable_toggle_buttons(weld::ColumnToggleType::Radio);
|
||||
m_xRadioLB->connect_toggled(LINK(this, SvxMultiPathDialog, CheckHdl_Impl));
|
||||
m_xRadioLB->connect_changed(LINK(this, SvxMultiPathDialog, SelectHdl_Impl));
|
||||
m_xRadioLB->connect_selection_changed(LINK(this, SvxMultiPathDialog, SelectHdl_Impl));
|
||||
|
||||
m_xAddBtn->connect_clicked(LINK(this, SvxMultiPathDialog, AddHdl_Impl));
|
||||
m_xDelBtn->connect_clicked(LINK(this, SvxMultiPathDialog, DelHdl_Impl));
|
||||
|
@ -213,7 +213,7 @@ SvxPathSelectDialog::SvxPathSelectDialog(weld::Window* pParent)
|
|||
m_xPathLB->set_size_request(m_xPathLB->get_approximate_digit_width() * 60,
|
||||
m_xPathLB->get_text_height() * 10);
|
||||
|
||||
m_xPathLB->connect_changed(LINK(this, SvxPathSelectDialog, SelectHdl_Impl));
|
||||
m_xPathLB->connect_selection_changed(LINK(this, SvxPathSelectDialog, SelectHdl_Impl));
|
||||
m_xAddBtn->connect_clicked(LINK(this, SvxPathSelectDialog, AddHdl_Impl));
|
||||
m_xDelBtn->connect_clicked(LINK(this, SvxPathSelectDialog, DelHdl_Impl));
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ SvPasteObjectDialog::SvPasteObjectDialog(weld::Window* pParent)
|
|||
m_xLbInsertList->get_height_rows(6));
|
||||
m_xOKButton->set_sensitive(false);
|
||||
|
||||
ObjectLB().connect_changed(LINK(this, SvPasteObjectDialog, SelectHdl));
|
||||
ObjectLB().connect_selection_changed(LINK(this, SvPasteObjectDialog, SelectHdl));
|
||||
ObjectLB().connect_row_activated(LINK( this, SvPasteObjectDialog, DoubleClickHdl));
|
||||
}
|
||||
|
||||
|
|
|
@ -399,7 +399,7 @@ SvxScriptOrgDialog::SvxScriptOrgDialog(weld::Window* pParent, OUString language)
|
|||
m_xScriptsBox->set_size_request(m_xScriptsBox->get_approximate_digit_width() * 45,
|
||||
m_xScriptsBox->get_height_rows(12));
|
||||
|
||||
m_xScriptsBox->connect_changed( LINK( this, SvxScriptOrgDialog, ScriptSelectHdl ) );
|
||||
m_xScriptsBox->connect_selection_changed(LINK(this, SvxScriptOrgDialog, ScriptSelectHdl));
|
||||
m_xScriptsBox->connect_expanding(LINK( this, SvxScriptOrgDialog, ExpandingHdl ) );
|
||||
m_xRunButton->connect_clicked( LINK( this, SvxScriptOrgDialog, ButtonHdl ) );
|
||||
m_xCloseButton->connect_clicked( LINK( this, SvxScriptOrgDialog, ButtonHdl ) );
|
||||
|
|
|
@ -259,7 +259,8 @@ SvxThesaurusDialog::SvxThesaurusDialog(
|
|||
m_xWordCB->set_entry_completion(false);
|
||||
m_xWordCB->connect_changed( LINK( this, SvxThesaurusDialog, WordSelectHdl_Impl ) );
|
||||
m_xLangLB->connect_changed( LINK( this, SvxThesaurusDialog, LanguageHdl_Impl ) );
|
||||
m_xAlternativesCT->connect_changed( LINK( this, SvxThesaurusDialog, AlternativesSelectHdl_Impl ));
|
||||
m_xAlternativesCT->connect_selection_changed(
|
||||
LINK(this, SvxThesaurusDialog, AlternativesSelectHdl_Impl));
|
||||
m_xAlternativesCT->connect_row_activated( LINK( this, SvxThesaurusDialog, AlternativesDoubleClickHdl_Impl ));
|
||||
m_xAlternativesCT->connect_key_press(LINK(this, SvxThesaurusDialog, KeyInputHdl));
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ public:
|
|||
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xTreeView->connect_changed(rLink);
|
||||
m_xTreeView->connect_selection_changed(rLink);
|
||||
}
|
||||
void connect_popup_menu(const Link<const CommandEvent&, bool>& rLink)
|
||||
{
|
||||
|
@ -149,7 +149,7 @@ public:
|
|||
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xTreeView->connect_changed(rLink);
|
||||
m_xTreeView->connect_selection_changed(rLink);
|
||||
}
|
||||
weld::TreeView& get_widget() { return *m_xTreeView; }
|
||||
void ClearAll();
|
||||
|
|
|
@ -116,7 +116,10 @@ class CuiConfigFunctionListBox
|
|||
public:
|
||||
CuiConfigFunctionListBox(std::unique_ptr<weld::TreeView> xTreeView);
|
||||
void set_sensitive(bool bSensitive) { m_xTreeView->set_sensitive(bSensitive); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink) { m_xTreeView->connect_changed(rLink); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xTreeView->connect_selection_changed(rLink);
|
||||
}
|
||||
void connect_popup_menu(const Link<const CommandEvent&, bool>& rLink) { m_xTreeView->connect_popup_menu(rLink); }
|
||||
void connect_row_activated(const Link<weld::TreeView&, bool>& rLink) { m_xTreeView->connect_row_activated(rLink); }
|
||||
void freeze() { m_xTreeView->freeze(); }
|
||||
|
@ -210,7 +213,10 @@ class CuiConfigGroupListBox
|
|||
public:
|
||||
CuiConfigGroupListBox(std::unique_ptr<weld::TreeView> xTreeView);
|
||||
void set_sensitive(bool bSensitive) { m_xTreeView->set_sensitive(bSensitive); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink) { m_xTreeView->connect_changed(rLink); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xTreeView->connect_selection_changed(rLink);
|
||||
}
|
||||
void set_size_request(int nWidth, int nHeight) { m_xTreeView->set_size_request(nWidth, nHeight); }
|
||||
weld::TreeView& get_widget() { return *m_xTreeView; }
|
||||
~CuiConfigGroupListBox();
|
||||
|
|
|
@ -79,7 +79,8 @@ namespace offapp
|
|||
m_xEnablePooling->connect_toggled( LINK(this, ConnectionPoolOptionsPage, OnEnabledDisabled) );
|
||||
m_xDriverPoolingEnabled->connect_toggled( LINK(this, ConnectionPoolOptionsPage, OnEnabledDisabled) );
|
||||
|
||||
m_xDriverList->connect_changed(LINK(this, ConnectionPoolOptionsPage, OnDriverRowChanged));
|
||||
m_xDriverList->connect_selection_changed(
|
||||
LINK(this, ConnectionPoolOptionsPage, OnDriverRowChanged));
|
||||
m_xTimeout->connect_value_changed(LINK(this, ConnectionPoolOptionsPage, OnSpinValueChanged));
|
||||
}
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ DbRegistrationOptionsPage::DbRegistrationOptionsPage(weld::Container* pPage, wel
|
|||
|
||||
m_xPathBox->make_sorted();
|
||||
m_xPathBox->connect_row_activated( LINK( this, DbRegistrationOptionsPage, PathBoxDoubleClickHdl ) );
|
||||
m_xPathBox->connect_changed( LINK( this, DbRegistrationOptionsPage, PathSelect_Impl ) );
|
||||
m_xPathBox->connect_selection_changed(LINK(this, DbRegistrationOptionsPage, PathSelect_Impl));
|
||||
|
||||
m_xPathBox->set_help_id(HID_DBPATH_CTL_PATH);
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ SvxFontSubstTabPage::SvxFontSubstTabPage(weld::Container* pPage, weld::DialogCon
|
|||
Link<weld::ComboBox&,void> aLink2(LINK(this, SvxFontSubstTabPage, SelectComboBoxHdl));
|
||||
Link<weld::Button&,void> aClickLink(LINK(this, SvxFontSubstTabPage, ClickHdl));
|
||||
|
||||
m_xCheckLB->connect_changed(LINK(this, SvxFontSubstTabPage, TreeListBoxSelectHdl));
|
||||
m_xCheckLB->connect_selection_changed(LINK(this, SvxFontSubstTabPage, TreeListBoxSelectHdl));
|
||||
m_xCheckLB->connect_column_clicked(LINK(this, SvxFontSubstTabPage, HeaderBarClick));
|
||||
m_xUseTableCB->connect_toggled(LINK(this, SvxFontSubstTabPage, ToggleHdl));
|
||||
m_xFont1CB->connect_changed(aLink2);
|
||||
|
|
|
@ -243,8 +243,8 @@ SvxEditDictionaryDialog::SvxEditDictionaryDialog(weld::Window* pParent, std::u16
|
|||
if (LinguMgr::GetDictionaryList().is())
|
||||
aDics = LinguMgr::GetDictionaryList()->getDictionaries();
|
||||
|
||||
m_xSingleColumnLB->connect_changed(LINK(this, SvxEditDictionaryDialog, SelectHdl));
|
||||
m_xDoubleColumnLB->connect_changed(LINK(this, SvxEditDictionaryDialog, SelectHdl));
|
||||
m_xSingleColumnLB->connect_selection_changed(LINK(this, SvxEditDictionaryDialog, SelectHdl));
|
||||
m_xDoubleColumnLB->connect_selection_changed(LINK(this, SvxEditDictionaryDialog, SelectHdl));
|
||||
|
||||
std::vector<int> aWidths
|
||||
{
|
||||
|
|
|
@ -89,7 +89,7 @@ SvxJavaOptionsPage::SvxJavaOptionsPage(weld::Container* pPage, weld::DialogContr
|
|||
|
||||
m_xJavaList->enable_toggle_buttons(weld::ColumnToggleType::Radio);
|
||||
m_xJavaList->connect_toggled( LINK( this, SvxJavaOptionsPage, CheckHdl_Impl ) );
|
||||
m_xJavaList->connect_changed( LINK( this, SvxJavaOptionsPage, SelectHdl_Impl ) );
|
||||
m_xJavaList->connect_selection_changed(LINK(this, SvxJavaOptionsPage, SelectHdl_Impl));
|
||||
|
||||
std::vector<int> aWidths
|
||||
{
|
||||
|
@ -653,7 +653,7 @@ SvxJavaParameterDlg::SvxJavaParameterDlg(weld::Window* pParent)
|
|||
m_xAssignBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, AssignHdl_Impl ) );
|
||||
m_xRemoveBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, RemoveHdl_Impl ) );
|
||||
m_xEditBtn->connect_clicked( LINK( this, SvxJavaParameterDlg, EditHdl_Impl ) );
|
||||
m_xAssignedList->connect_changed( LINK( this, SvxJavaParameterDlg, SelectHdl_Impl ) );
|
||||
m_xAssignedList->connect_selection_changed(LINK(this, SvxJavaParameterDlg, SelectHdl_Impl));
|
||||
m_xAssignedList->connect_row_activated( LINK( this, SvxJavaParameterDlg, DblClickHdl_Impl ) );
|
||||
|
||||
ModifyHdl_Impl(*m_xParameterEdit);
|
||||
|
@ -814,7 +814,7 @@ SvxJavaClassPathDlg::SvxJavaClassPathDlg(weld::Window* pParent)
|
|||
m_xAddArchiveBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, AddArchiveHdl_Impl ) );
|
||||
m_xAddPathBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, AddPathHdl_Impl ) );
|
||||
m_xRemoveBtn->connect_clicked( LINK( this, SvxJavaClassPathDlg, RemoveHdl_Impl ) );
|
||||
m_xPathList->connect_changed( LINK( this, SvxJavaClassPathDlg, SelectHdl_Impl ) );
|
||||
m_xPathList->connect_selection_changed(LINK(this, SvxJavaClassPathDlg, SelectHdl_Impl));
|
||||
|
||||
// set initial focus to path list
|
||||
m_xPathList->grab_focus();
|
||||
|
|
|
@ -815,21 +815,21 @@ SvxLinguTabPage::SvxLinguTabPage(weld::Container* pPage, weld::DialogController*
|
|||
m_xLinguDicsCLB->enable_toggle_buttons(weld::ColumnToggleType::Check);
|
||||
m_xLinguOptionsCLB->enable_toggle_buttons(weld::ColumnToggleType::Check);
|
||||
|
||||
m_xLinguModulesCLB->connect_changed( LINK( this, SvxLinguTabPage, SelectHdl_Impl ));
|
||||
m_xLinguModulesCLB->connect_selection_changed(LINK(this, SvxLinguTabPage, SelectHdl_Impl));
|
||||
m_xLinguModulesCLB->connect_row_activated(LINK(this, SvxLinguTabPage, BoxDoubleClickHdl_Impl));
|
||||
m_xLinguModulesCLB->connect_toggled(LINK(this, SvxLinguTabPage, ModulesBoxCheckButtonHdl_Impl));
|
||||
|
||||
m_xLinguModulesEditPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
|
||||
m_xLinguOptionsEditPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
|
||||
|
||||
m_xLinguDicsCLB->connect_changed( LINK( this, SvxLinguTabPage, SelectHdl_Impl ));
|
||||
m_xLinguDicsCLB->connect_selection_changed(LINK(this, SvxLinguTabPage, SelectHdl_Impl));
|
||||
m_xLinguDicsCLB->connect_toggled(LINK(this, SvxLinguTabPage, DicsBoxCheckButtonHdl_Impl));
|
||||
|
||||
m_xLinguDicsNewPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
|
||||
m_xLinguDicsEditPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
|
||||
m_xLinguDicsDelPB->connect_clicked( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
|
||||
|
||||
m_xLinguOptionsCLB->connect_changed( LINK( this, SvxLinguTabPage, SelectHdl_Impl ));
|
||||
m_xLinguOptionsCLB->connect_selection_changed(LINK(this, SvxLinguTabPage, SelectHdl_Impl));
|
||||
m_xLinguOptionsCLB->connect_row_activated(LINK(this, SvxLinguTabPage, BoxDoubleClickHdl_Impl));
|
||||
|
||||
m_xMoreDictsLink->connect_activate_link(LINK(this, SvxLinguTabPage, OnLinkClick));
|
||||
|
@ -1579,7 +1579,7 @@ SvxEditModulesDlg::SvxEditModulesDlg(weld::Window* pParent, SvxLinguData_Impl& r
|
|||
|
||||
pDefaultLinguData.reset( new SvxLinguData_Impl( rLinguData ) );
|
||||
|
||||
m_xModulesCLB->connect_changed( LINK( this, SvxEditModulesDlg, SelectHdl_Impl ));
|
||||
m_xModulesCLB->connect_selection_changed(LINK(this, SvxEditModulesDlg, SelectHdl_Impl));
|
||||
m_xModulesCLB->connect_toggled(LINK(this, SvxEditModulesDlg, BoxCheckButtonHdl_Impl));
|
||||
|
||||
m_xClosePB->connect_clicked( LINK( this, SvxEditModulesDlg, ClickHdl_Impl ));
|
||||
|
|
|
@ -192,7 +192,7 @@ SvxPathTabPage::SvxPathTabPage(weld::Container* pPage, weld::DialogController* p
|
|||
|
||||
m_xPathBox->connect_row_activated( LINK( this, SvxPathTabPage, DoubleClickPathHdl_Impl ) );
|
||||
m_xPathBox->connect_column_clicked(LINK(this, SvxPathTabPage, HeaderBarClick));
|
||||
m_xPathBox->connect_changed( LINK( this, SvxPathTabPage, PathSelect_Impl ) );
|
||||
m_xPathBox->connect_selection_changed(LINK(this, SvxPathTabPage, PathSelect_Impl));
|
||||
m_xPathBox->set_selection_mode(SelectionMode::Multiple);
|
||||
|
||||
xDialogListener->SetDialogClosedLink( LINK( this, SvxPathTabPage, DialogClosedHdl ) );
|
||||
|
|
|
@ -481,7 +481,7 @@ OfaTreeOptionsDialog::OfaTreeOptionsDialog(weld::Window* pParent, bool fromExten
|
|||
|
||||
// Init tree and handler
|
||||
xTreeLB->set_help_id(HID_OFADLG_TREELISTBOX);
|
||||
xTreeLB->connect_changed(LINK(this, OfaTreeOptionsDialog, ShowPageHdl_Impl));
|
||||
xTreeLB->connect_selection_changed(LINK(this, OfaTreeOptionsDialog, ShowPageHdl_Impl));
|
||||
xBackPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, BackHdl_Impl));
|
||||
xApplyPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, ApplyHdl_Impl));
|
||||
xOkPB->connect_clicked(LINK(this, OfaTreeOptionsDialog, ApplyHdl_Impl));
|
||||
|
|
|
@ -31,7 +31,7 @@ TSAURLsDialog::TSAURLsDialog(weld::Window* pParent)
|
|||
m_xAddBtn->connect_clicked(LINK(this, TSAURLsDialog, AddHdl_Impl));
|
||||
m_xDeleteBtn->connect_clicked(LINK(this, TSAURLsDialog, DeleteHdl_Impl));
|
||||
m_xOKBtn->connect_clicked(LINK(this, TSAURLsDialog, OKHdl_Impl));
|
||||
m_xURLListBox->connect_changed(LINK(this, TSAURLsDialog, SelectHdl));
|
||||
m_xURLListBox->connect_selection_changed(LINK(this, TSAURLsDialog, SelectHdl));
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
@ -57,7 +57,8 @@ WebConnectionInfoDialog::WebConnectionInfoDialog(weld::Window* pParent)
|
|||
m_xRemoveBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, RemovePasswordHdl ) );
|
||||
m_xRemoveAllBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, RemoveAllPasswordsHdl ) );
|
||||
m_xChangeBtn->connect_clicked( LINK( this, WebConnectionInfoDialog, ChangePasswordHdl ) );
|
||||
m_xPasswordsLB->connect_changed( LINK( this, WebConnectionInfoDialog, EntrySelectedHdl ) );
|
||||
m_xPasswordsLB->connect_selection_changed(
|
||||
LINK(this, WebConnectionInfoDialog, EntrySelectedHdl));
|
||||
|
||||
m_xRemoveBtn->set_sensitive( false );
|
||||
m_xChangeBtn->set_sensitive( false );
|
||||
|
|
|
@ -382,7 +382,7 @@ OfaSwAutoFmtOptionsPage::OfaSwAutoFmtOptionsPage(weld::Container* pPage, weld::D
|
|||
, m_xCheckLB(m_xBuilder->weld_tree_view(u"list"_ustr))
|
||||
, m_xEditPB(m_xBuilder->weld_button(u"edit"_ustr))
|
||||
{
|
||||
m_xCheckLB->connect_changed(LINK(this, OfaSwAutoFmtOptionsPage, SelectHdl));
|
||||
m_xCheckLB->connect_selection_changed(LINK(this, OfaSwAutoFmtOptionsPage, SelectHdl));
|
||||
m_xCheckLB->connect_row_activated(LINK(this, OfaSwAutoFmtOptionsPage, DoubleClickEditHdl));
|
||||
|
||||
std::vector<int> aWidths
|
||||
|
@ -728,7 +728,7 @@ OfaAutocorrReplacePage::OfaAutocorrReplacePage(weld::Container* pPage, weld::Dia
|
|||
m_aReplaceFixedWidths.push_back(nColWidth);
|
||||
m_aReplaceFixedWidths.push_back(nColWidth);
|
||||
|
||||
m_xReplaceTLB->connect_changed( LINK(this, OfaAutocorrReplacePage, SelectHdl) );
|
||||
m_xReplaceTLB->connect_selection_changed(LINK(this, OfaAutocorrReplacePage, SelectHdl));
|
||||
m_xNewReplacePB->connect_clicked( LINK(this, OfaAutocorrReplacePage, NewDelButtonHdl) );
|
||||
m_xDeleteReplacePB->connect_clicked( LINK(this, OfaAutocorrReplacePage, NewDelButtonHdl) );
|
||||
m_xShortED->connect_changed( LINK(this, OfaAutocorrReplacePage, ModifyHdl) );
|
||||
|
@ -1241,8 +1241,8 @@ OfaAutocorrExceptPage::OfaAutocorrExceptPage(weld::Container* pPage, weld::Dialo
|
|||
m_xNewDoublePB->connect_clicked(LINK(this, OfaAutocorrExceptPage, NewDelButtonHdl));
|
||||
m_xDelDoublePB->connect_clicked(LINK(this, OfaAutocorrExceptPage, NewDelButtonHdl));
|
||||
|
||||
m_xAbbrevLB->connect_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl));
|
||||
m_xDoubleCapsLB->connect_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl));
|
||||
m_xAbbrevLB->connect_selection_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl));
|
||||
m_xDoubleCapsLB->connect_selection_changed(LINK(this, OfaAutocorrExceptPage, SelectHdl));
|
||||
m_xAbbrevED->connect_changed(LINK(this, OfaAutocorrExceptPage, ModifyHdl));
|
||||
m_xDoubleCapsED->connect_changed(LINK(this, OfaAutocorrExceptPage, ModifyHdl));
|
||||
|
||||
|
@ -2180,7 +2180,7 @@ OfaSmartTagOptionsTabPage::OfaSmartTagOptionsTabPage(weld::Container* pPage, wel
|
|||
// set the handlers:
|
||||
m_xMainCB->connect_toggled(LINK(this, OfaSmartTagOptionsTabPage, CheckHdl));
|
||||
m_xPropertiesPB->connect_clicked(LINK(this, OfaSmartTagOptionsTabPage, ClickHdl));
|
||||
m_xSmartTagTypesLB->connect_changed(LINK(this, OfaSmartTagOptionsTabPage, SelectHdl));
|
||||
m_xSmartTagTypesLB->connect_selection_changed(LINK(this, OfaSmartTagOptionsTabPage, SelectHdl));
|
||||
}
|
||||
|
||||
OfaSmartTagOptionsTabPage::~OfaSmartTagOptionsTabPage()
|
||||
|
|
|
@ -3078,8 +3078,8 @@ void SvxCharTwoLinesPage::Initialize()
|
|||
m_xTwoLinesBtn->connect_toggled(LINK(this, SvxCharTwoLinesPage, TwoLinesHdl_Impl));
|
||||
|
||||
Link<weld::TreeView&,void> aLink = LINK(this, SvxCharTwoLinesPage, CharacterMapHdl_Impl);
|
||||
m_xStartBracketLB->connect_changed(aLink);
|
||||
m_xEndBracketLB->connect_changed(aLink);
|
||||
m_xStartBracketLB->connect_selection_changed(aLink);
|
||||
m_xEndBracketLB->connect_selection_changed(aLink);
|
||||
|
||||
SvxFont& rFont = GetPreviewFont();
|
||||
SvxFont& rCJKFont = GetPreviewCJKFont();
|
||||
|
|
|
@ -332,7 +332,7 @@ void SfxMacroTabPage::InitAndSetHandler()
|
|||
mpImpl->m_xAssignPB->connect_clicked(LINK(this, SfxMacroTabPage, AssignDeleteClickHdl_Impl));
|
||||
rListBox.connect_row_activated(aLnk);
|
||||
|
||||
rListBox.connect_changed(LINK(this, SfxMacroTabPage, SelectEvent_Impl));
|
||||
rListBox.connect_selection_changed(LINK(this, SfxMacroTabPage, SelectEvent_Impl));
|
||||
mpImpl->m_xGroupLB->connect_changed(LINK(this, SfxMacroTabPage, SelectGroup_Impl));
|
||||
mpImpl->m_xMacroLB->connect_changed(LINK(this, SfxMacroTabPage, SelectMacro_Impl));
|
||||
|
||||
|
|
|
@ -275,9 +275,9 @@ void SvxNumberFormatTabPage::Init_Impl()
|
|||
|
||||
Link<weld::TreeView&,void> aLink2 = LINK(this, SvxNumberFormatTabPage, SelFormatTreeListBoxHdl_Impl);
|
||||
Link<weld::ComboBox&,void> aLink3 = LINK(this, SvxNumberFormatTabPage, SelFormatListBoxHdl_Impl);
|
||||
m_xLbCategory->connect_changed(aLink2);
|
||||
m_xLbCategory->connect_selection_changed(aLink2);
|
||||
m_xLbCategory->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
|
||||
m_xLbFormat->connect_changed(aLink2);
|
||||
m_xLbFormat->connect_selection_changed(aLink2);
|
||||
m_xLbFormat->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
|
||||
m_xLbLanguage->connect_changed(aLink3);
|
||||
m_xLbLanguage->connect_focus_in(LINK(this, SvxNumberFormatTabPage, LostFocusHdl_Impl));
|
||||
|
|
|
@ -1170,7 +1170,7 @@ SvxNumOptionsTabPage::SvxNumOptionsTabPage(weld::Container* pPage, weld::DialogC
|
|||
m_xBitmapMB->connect_selected(LINK(this, SvxNumOptionsTabPage, GraphicHdl_Impl));
|
||||
m_xBitmapMB->connect_toggled(LINK(this, SvxNumOptionsTabPage, PopupActivateHdl_Impl));
|
||||
m_xLevelLB->set_selection_mode(SelectionMode::Multiple);
|
||||
m_xLevelLB->connect_changed(LINK(this, SvxNumOptionsTabPage, LevelHdl_Impl));
|
||||
m_xLevelLB->connect_selection_changed(LINK(this, SvxNumOptionsTabPage, LevelHdl_Impl));
|
||||
m_xCharFmtLB->connect_changed(LINK(this, SvxNumOptionsTabPage, CharFmtHdl_Impl));
|
||||
m_xWidthMF->connect_value_changed(LINK(this, SvxNumOptionsTabPage, SizeHdl_Impl));
|
||||
m_xHeightMF->connect_value_changed(LINK(this, SvxNumOptionsTabPage, SizeHdl_Impl));
|
||||
|
@ -2328,7 +2328,7 @@ SvxNumPositionTabPage::SvxNumPositionTabPage(weld::Container* pPage, weld::Dialo
|
|||
m_xIndentAtMF->connect_value_changed(LINK(this, SvxNumPositionTabPage, IndentAtHdl_Impl));
|
||||
|
||||
m_xLevelLB->set_selection_mode(SelectionMode::Multiple);
|
||||
m_xLevelLB->connect_changed(LINK(this, SvxNumPositionTabPage, LevelHdl_Impl));
|
||||
m_xLevelLB->connect_selection_changed(LINK(this, SvxNumPositionTabPage, LevelHdl_Impl));
|
||||
m_xRelativeCB->connect_toggled(LINK(this, SvxNumPositionTabPage, RelativeHdl_Impl));
|
||||
m_xStandardPB->connect_clicked(LINK(this, SvxNumPositionTabPage, StandardHdl_Impl));
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ OTasksWindow::OTasksWindow(weld::Container* pParent, OApplicationDetailView* pDe
|
|||
|
||||
m_xTreeView->set_help_id(HID_APP_CREATION_LIST);
|
||||
m_xTreeView->connect_row_activated(LINK(this, OTasksWindow, onSelected));
|
||||
m_xTreeView->connect_changed(LINK(this, OTasksWindow, OnEntrySelectHdl));
|
||||
m_xTreeView->connect_selection_changed(LINK(this, OTasksWindow, OnEntrySelectHdl));
|
||||
m_xTreeView->connect_focus_in(LINK(this, OTasksWindow, FocusInHdl));
|
||||
m_xTreeView->connect_focus_out(LINK(this, OTasksWindow, FocusOutHdl));
|
||||
// an arbitrary small size it's allowed to shrink to
|
||||
|
|
|
@ -113,7 +113,7 @@ TreeListBox::TreeListBox(std::unique_ptr<weld::TreeView> xTreeView, bool bSQLTyp
|
|||
, m_aTimer("dbaccess TreeListBox m_aTimer")
|
||||
{
|
||||
m_xTreeView->connect_key_press(LINK(this, TreeListBox, KeyInputHdl));
|
||||
m_xTreeView->connect_changed(LINK(this, TreeListBox, SelectHdl));
|
||||
m_xTreeView->connect_selection_changed(LINK(this, TreeListBox, SelectHdl));
|
||||
m_xTreeView->connect_query_tooltip(LINK(this, TreeListBox, QueryTooltipHdl));
|
||||
m_xTreeView->connect_popup_menu(LINK(this, TreeListBox, CommandHdl));
|
||||
|
||||
|
|
|
@ -344,9 +344,9 @@ OAddTableDlg::OAddTableDlg(weld::Window* pParent, IAddTableDialogContext& _rCont
|
|||
m_xAddButton->connect_clicked( LINK( this, OAddTableDlg, AddClickHdl ) );
|
||||
m_xCloseButton->connect_clicked( LINK( this, OAddTableDlg, CloseClickHdl ) );
|
||||
rTableList.connect_row_activated( LINK( this, OAddTableDlg, TableListDoubleClickHdl ) );
|
||||
rTableList.connect_changed( LINK( this, OAddTableDlg, TableListSelectHdl ) );
|
||||
rTableList.connect_selection_changed(LINK(this, OAddTableDlg, TableListSelectHdl));
|
||||
m_xQueryList->connect_row_activated( LINK( this, OAddTableDlg, TableListDoubleClickHdl ) );
|
||||
m_xQueryList->connect_changed( LINK( this, OAddTableDlg, TableListSelectHdl ) );
|
||||
m_xQueryList->connect_selection_changed(LINK(this, OAddTableDlg, TableListSelectHdl));
|
||||
|
||||
rTableList.set_selection_mode(SelectionMode::Single);
|
||||
m_xTableList->SuppressEmptyFolders();
|
||||
|
|
|
@ -65,8 +65,10 @@ ODbaseIndexDialog::ODbaseIndexDialog(weld::Window * pParent, OUString aDataSrcNa
|
|||
m_xRemoveAll->connect_clicked( LINK(this, ODbaseIndexDialog, RemoveAllClickHdl) );
|
||||
m_xPB_OK->connect_clicked( LINK(this, ODbaseIndexDialog, OKClickHdl) );
|
||||
|
||||
m_xLB_FreeIndexes->connect_changed( LINK(this, ODbaseIndexDialog, OnListEntrySelected) );
|
||||
m_xLB_TableIndexes->connect_changed( LINK(this, ODbaseIndexDialog, OnListEntrySelected) );
|
||||
m_xLB_FreeIndexes->connect_selection_changed(
|
||||
LINK(this, ODbaseIndexDialog, OnListEntrySelected));
|
||||
m_xLB_TableIndexes->connect_selection_changed(
|
||||
LINK(this, ODbaseIndexDialog, OnListEntrySelected));
|
||||
|
||||
Init();
|
||||
SetCtrls();
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace dbaui
|
|||
|
||||
m_xActions->connect_clicked(LINK(this, DbaIndexDialog, OnIndexAction));
|
||||
|
||||
m_xIndexList->connect_changed(LINK(this, DbaIndexDialog, OnIndexSelected));
|
||||
m_xIndexList->connect_selection_changed(LINK(this, DbaIndexDialog, OnIndexSelected));
|
||||
m_xIndexList->connect_editing(LINK(this, DbaIndexDialog, OnEntryEditing),
|
||||
LINK(this, DbaIndexDialog, OnEntryEdited));
|
||||
|
||||
|
|
|
@ -109,7 +109,8 @@ namespace dbaui
|
|||
|
||||
void OParameterDialog::Construct()
|
||||
{
|
||||
m_xAllParams->connect_changed(LINK(this, OParameterDialog, OnEntryListBoxSelected));
|
||||
m_xAllParams->connect_selection_changed(
|
||||
LINK(this, OParameterDialog, OnEntryListBoxSelected));
|
||||
m_xParam->connect_focus_out(LINK(this, OParameterDialog, OnValueLoseFocusHdl));
|
||||
m_xParam->connect_changed(LINK(this, OParameterDialog, OnValueModified));
|
||||
m_xTravelNext->connect_clicked(LINK(this, OParameterDialog, OnButtonClicked));
|
||||
|
|
|
@ -290,7 +290,8 @@ OExceptionChainDialog::OExceptionChainDialog(weld::Window* pParent, ExceptionDis
|
|||
m_sStatusLabel = DBA_RES( STR_EXCEPTION_STATUS );
|
||||
m_sErrorCodeLabel = DBA_RES( STR_EXCEPTION_ERRORCODE );
|
||||
|
||||
m_xExceptionList->connect_changed(LINK(this, OExceptionChainDialog, OnExceptionSelected));
|
||||
m_xExceptionList->connect_selection_changed(
|
||||
LINK(this, OExceptionChainDialog, OnExceptionSelected));
|
||||
|
||||
bool bHave22018 = false;
|
||||
size_t elementPos = 0;
|
||||
|
|
|
@ -87,7 +87,7 @@ namespace dbaui
|
|||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_aChangeHdl = rLink;
|
||||
m_xControl->connect_changed(rLink);
|
||||
m_xControl->connect_selection_changed(rLink);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -60,8 +60,8 @@ OWizNameMatching::OWizNameMatching(weld::Container* pPage, OCopyTableWizard* pWi
|
|||
|
||||
m_xCTRL_LEFT->enable_toggle_buttons(weld::ColumnToggleType::Check);
|
||||
|
||||
m_xCTRL_LEFT->connect_changed(LINK(this,OWizNameMatching,TableListClickHdl));
|
||||
m_xCTRL_RIGHT->connect_changed(LINK(this,OWizNameMatching,TableListRightSelectHdl));
|
||||
m_xCTRL_LEFT->connect_selection_changed(LINK(this, OWizNameMatching, TableListClickHdl));
|
||||
m_xCTRL_RIGHT->connect_selection_changed(LINK(this, OWizNameMatching, TableListRightSelectHdl));
|
||||
|
||||
m_sSourceText = m_xTABLE_LEFT->get_label() + "\n";
|
||||
m_sDestText = m_xTABLE_RIGHT->get_label() + "\n";
|
||||
|
|
|
@ -462,7 +462,7 @@ UpdateDialog::UpdateDialog(
|
|||
|
||||
m_xExtensionManager = deployment::ExtensionManager::get( context );
|
||||
|
||||
m_xUpdates->connect_changed(LINK(this, UpdateDialog, selectionHandler));
|
||||
m_xUpdates->connect_selection_changed(LINK(this, UpdateDialog, selectionHandler));
|
||||
m_xUpdates->connect_toggled(LINK(this, UpdateDialog, entryToggled));
|
||||
m_xAll->connect_toggled(LINK(this, UpdateDialog, allHandler));
|
||||
m_xOk->connect_clicked(LINK(this, UpdateDialog, okHandler));
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace abp
|
|||
: AddressBookSourcePage(pPage, pController, u"modules/sabpilot/ui/selecttablepage.ui"_ustr, u"SelectTablePage"_ustr)
|
||||
, m_xTableList(m_xBuilder->weld_tree_view(u"table"_ustr))
|
||||
{
|
||||
m_xTableList->connect_changed( LINK( this, TableSelectionPage, OnTableSelected ) );
|
||||
m_xTableList->connect_selection_changed(LINK(this, TableSelectionPage, OnTableSelected));
|
||||
m_xTableList->connect_row_activated( LINK( this, TableSelectionPage, OnTableDoubleClicked ) );
|
||||
}
|
||||
|
||||
|
|
|
@ -71,8 +71,9 @@ namespace dbp
|
|||
OSL_FAIL("OTableSelectionPage::OTableSelectionPage: could not collect the data source names!");
|
||||
}
|
||||
|
||||
m_xDatasource->connect_changed(LINK(this, OTableSelectionPage, OnListboxSelection));
|
||||
m_xTable->connect_changed(LINK(this, OTableSelectionPage, OnListboxSelection));
|
||||
m_xDatasource->connect_selection_changed(
|
||||
LINK(this, OTableSelectionPage, OnListboxSelection));
|
||||
m_xTable->connect_selection_changed(LINK(this, OTableSelectionPage, OnListboxSelection));
|
||||
m_xTable->connect_row_activated(LINK(this, OTableSelectionPage, OnListboxDoubleClicked));
|
||||
m_xSearchDatabase->connect_clicked(LINK(this, OTableSelectionPage, OnSearchClicked));
|
||||
}
|
||||
|
|
|
@ -292,8 +292,9 @@ namespace dbp
|
|||
m_xDeselectOne->connect_clicked(LINK(this, OGridFieldsSelection, OnMoveOneEntry));
|
||||
m_xDeselectAll->connect_clicked(LINK(this, OGridFieldsSelection, OnMoveAllEntries));
|
||||
|
||||
m_xExistFields->connect_changed(LINK(this, OGridFieldsSelection, OnEntrySelected));
|
||||
m_xSelFields->connect_changed(LINK(this, OGridFieldsSelection, OnEntrySelected));
|
||||
m_xExistFields->connect_selection_changed(
|
||||
LINK(this, OGridFieldsSelection, OnEntrySelected));
|
||||
m_xSelFields->connect_selection_changed(LINK(this, OGridFieldsSelection, OnEntrySelected));
|
||||
m_xExistFields->connect_row_activated(LINK(this, OGridFieldsSelection, OnEntryDoubleClicked));
|
||||
m_xSelFields->connect_row_activated(LINK(this, OGridFieldsSelection, OnEntryDoubleClicked));
|
||||
}
|
||||
|
|
|
@ -180,7 +180,8 @@ namespace dbp
|
|||
m_xMoveLeft->connect_clicked(LINK(this, ORadioSelectionPage, OnMoveEntry));
|
||||
m_xMoveRight->connect_clicked(LINK(this, ORadioSelectionPage, OnMoveEntry));
|
||||
m_xRadioName->connect_changed(LINK(this, ORadioSelectionPage, OnNameModified));
|
||||
m_xExistingRadios->connect_changed(LINK(this, ORadioSelectionPage, OnEntrySelected));
|
||||
m_xExistingRadios->connect_selection_changed(
|
||||
LINK(this, ORadioSelectionPage, OnEntrySelected));
|
||||
|
||||
implCheckMoveButtons();
|
||||
m_xExistingRadios->set_selection_mode(SelectionMode::Multiple);
|
||||
|
@ -341,7 +342,7 @@ namespace dbp
|
|||
, m_xOptions(m_xBuilder->weld_tree_view(u"radiobuttons"_ustr))
|
||||
, m_nLastSelection(::vcl::WizardTypes::WizardState(-1))
|
||||
{
|
||||
m_xOptions->connect_changed(LINK(this, OOptionValuesPage, OnOptionSelected));
|
||||
m_xOptions->connect_selection_changed(LINK(this, OOptionValuesPage, OnOptionSelected));
|
||||
}
|
||||
|
||||
OOptionValuesPage::~OOptionValuesPage()
|
||||
|
|
|
@ -265,7 +265,8 @@ namespace dbp
|
|||
enableFormDatasourceDisplay();
|
||||
|
||||
m_xSelectTable->connect_row_activated(LINK(this, OContentTableSelection, OnTableDoubleClicked));
|
||||
m_xSelectTable->connect_changed(LINK(this, OContentTableSelection, OnTableSelected));
|
||||
m_xSelectTable->connect_selection_changed(
|
||||
LINK(this, OContentTableSelection, OnTableSelected));
|
||||
}
|
||||
|
||||
OContentTableSelection::~OContentTableSelection()
|
||||
|
@ -342,7 +343,8 @@ namespace dbp
|
|||
, m_xInfo(m_xBuilder->weld_label(u"info"_ustr))
|
||||
{
|
||||
m_xInfo->set_label(compmodule::ModuleRes( isListBox() ? RID_STR_FIELDINFO_LISTBOX : RID_STR_FIELDINFO_COMBOBOX));
|
||||
m_xSelectTableField->connect_changed(LINK(this, OContentFieldSelection, OnFieldSelected));
|
||||
m_xSelectTableField->connect_selection_changed(
|
||||
LINK(this, OContentFieldSelection, OnFieldSelected));
|
||||
m_xSelectTableField->connect_row_activated(LINK(this, OContentFieldSelection, OnTableDoubleClicked));
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ namespace pcr
|
|||
, m_xScratchIter(m_xControlTree->make_iterator())
|
||||
, m_xNoAssignment(m_xBuilder->weld_check_button(u"noassignment"_ustr))
|
||||
{
|
||||
m_xControlTree->connect_changed(LINK(this, OSelectLabelDialog, OnEntrySelected));
|
||||
m_xControlTree->connect_selection_changed(LINK(this, OSelectLabelDialog, OnEntrySelected));
|
||||
m_xControlTree->set_size_request(-1, m_xControlTree->get_height_rows(8));
|
||||
|
||||
// fill the description
|
||||
|
|
|
@ -270,7 +270,7 @@ SaneDlg::SaneDlg(weld::Window* pParent, Sane& rSane, bool bScanEnabled)
|
|||
mxScanButton->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
|
||||
mxButtonOption->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
|
||||
mxDeviceBox->connect_changed( LINK( this, SaneDlg, SelectHdl ) );
|
||||
mxOptionBox->connect_changed( LINK( this, SaneDlg, OptionsBoxSelectHdl ) );
|
||||
mxOptionBox->connect_selection_changed(LINK(this, SaneDlg, OptionsBoxSelectHdl));
|
||||
mxCancelButton->connect_clicked( LINK( this, SaneDlg, ClickBtnHdl ) );
|
||||
mxBoolCheckBox->connect_toggled( LINK( this, SaneDlg, ToggleBtnHdl ) );
|
||||
mxStringEdit->connect_changed( LINK( this, SaneDlg, ModifyHdl ) );
|
||||
|
|
|
@ -1689,7 +1689,7 @@ ImplErrorDialog::ImplErrorDialog(weld::Window* pParent, const std::set<vcl::PDFW
|
|||
m_xExplanation->set_label(m_xErrors->get_id(0));
|
||||
}
|
||||
|
||||
m_xErrors->connect_changed(LINK(this, ImplErrorDialog, SelectHdl));
|
||||
m_xErrors->connect_selection_changed(LINK(this, ImplErrorDialog, SelectHdl));
|
||||
}
|
||||
|
||||
IMPL_LINK_NOARG(ImplErrorDialog, SelectHdl, weld::TreeView&, void)
|
||||
|
|
|
@ -80,7 +80,8 @@ XMLFilterSettingsDialog::XMLFilterSettingsDialog(weld::Window* pParent,
|
|||
m_xFilterListBox->set_size_request(m_xFilterListBox->get_approximate_digit_width() * 65,
|
||||
m_xFilterListBox->get_height_rows(12));
|
||||
|
||||
m_xFilterListBox->connect_changed( LINK( this, XMLFilterSettingsDialog, SelectionChangedHdl_Impl ) );
|
||||
m_xFilterListBox->connect_selection_changed(
|
||||
LINK(this, XMLFilterSettingsDialog, SelectionChangedHdl_Impl));
|
||||
m_xFilterListBox->connect_row_activated( LINK( this, XMLFilterSettingsDialog, DoubleClickHdl_Impl ) );
|
||||
m_xFilterListBox->set_accessible_name(FilterResId(STR_XML_FILTER_LISTBOX));
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ FuncPage::FuncPage(weld::Container* pParent, const IFunctionManager* _pFunctionM
|
|||
m_xLbFunction->set_size_request(m_xLbFunction->get_preferred_size().Width(),
|
||||
m_xLbFunction->get_height_rows(15));
|
||||
m_xLbCategory->connect_changed(LINK(this, FuncPage, SelComboBoxHdl));
|
||||
m_xLbFunction->connect_changed(LINK(this, FuncPage, SelTreeViewHdl));
|
||||
m_xLbFunction->connect_selection_changed(LINK(this, FuncPage, SelTreeViewHdl));
|
||||
m_xLbFunction->connect_row_activated(LINK(this, FuncPage, DblClkHdl));
|
||||
m_xLbFunction->connect_key_press(LINK(this, FuncPage, KeyInputHdl));
|
||||
m_xLbFunctionSearchString->connect_changed(LINK(this, FuncPage, ModifyHdl));
|
||||
|
|
|
@ -44,7 +44,7 @@ StructPage::StructPage(weld::Container* pParent)
|
|||
m_xTlbStruct->set_size_request(m_xTlbStruct->get_approximate_digit_width() * 20,
|
||||
m_xTlbStruct->get_height_rows(17));
|
||||
|
||||
m_xTlbStruct->connect_changed(LINK( this, StructPage, SelectHdl ) );
|
||||
m_xTlbStruct->connect_selection_changed(LINK(this, StructPage, SelectHdl));
|
||||
}
|
||||
|
||||
StructPage::~StructPage()
|
||||
|
|
|
@ -27,7 +27,7 @@ PlacesListBox::PlacesListBox(std::unique_ptr<weld::TreeView> xControl,
|
|||
mxImpl->get_height_rows(9));
|
||||
mxImpl->set_size_request(aSize.Width(), aSize.Height());
|
||||
|
||||
mxImpl->connect_changed( LINK( this, PlacesListBox, Selection ) );
|
||||
mxImpl->connect_selection_changed(LINK(this, PlacesListBox, Selection));
|
||||
mxImpl->connect_row_activated( LINK( this, PlacesListBox, DoubleClick ) ) ;
|
||||
mxImpl->connect_query_tooltip(LINK(this, PlacesListBox, QueryTooltipHdl));
|
||||
}
|
||||
|
|
|
@ -176,7 +176,10 @@ public:
|
|||
OUString get_id(const weld::TreeIter& rIter) { return mxTreeView->get_id(rIter); }
|
||||
|
||||
void connect_row_activated(const Link<weld::TreeView&, bool>& rLink) { mxTreeView->connect_row_activated(rLink); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink) { mxTreeView->connect_changed(rLink); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
mxTreeView->connect_selection_changed(rLink);
|
||||
}
|
||||
|
||||
int n_children() const { return mxTreeView->n_children(); }
|
||||
|
||||
|
|
|
@ -37,7 +37,10 @@ public:
|
|||
|
||||
void clear() { m_xTreeView->clear(); }
|
||||
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink) { m_xTreeView->connect_changed(rLink); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xTreeView->connect_selection_changed(rLink);
|
||||
}
|
||||
|
||||
void InsertRootEntry(const OUString& rId, const OUString& rRootLabel);
|
||||
void FillTreeEntry(const weld::TreeIter& rEntry);
|
||||
|
|
|
@ -132,7 +132,10 @@ public:
|
|||
|
||||
rtl_TextEncoding GetSelectTextEncoding() const;
|
||||
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink) { m_xControl->connect_changed(rLink); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xControl->connect_selection_changed(rLink);
|
||||
}
|
||||
void connect_row_activated(const Link<weld::TreeView&, bool>& rLink) { m_xControl->connect_row_activated(rLink); }
|
||||
void grab_focus() { m_xControl->grab_focus(); }
|
||||
void show() { m_xControl->show(); }
|
||||
|
|
|
@ -23,7 +23,7 @@ public:
|
|||
|
||||
static void trigger_changed(weld::ComboBox& rComboBox) { rComboBox.signal_changed(); }
|
||||
|
||||
static void trigger_changed(weld::TreeView& rTreeView) { rTreeView.signal_changed(); }
|
||||
static void trigger_changed(weld::TreeView& rTreeView) { rTreeView.signal_selection_changed(); }
|
||||
|
||||
static void trigger_changed(weld::IconView& rIconView) { rIconView.signal_selection_changed(); }
|
||||
|
||||
|
|
|
@ -966,7 +966,7 @@ private:
|
|||
OUString m_sSavedValue;
|
||||
|
||||
protected:
|
||||
Link<TreeView&, void> m_aChangeHdl;
|
||||
Link<TreeView&, void> m_aSelectionChangedHdl;
|
||||
Link<TreeView&, bool> m_aRowActivatedHdl;
|
||||
Link<int, void> m_aColumnClickedHdl;
|
||||
Link<const iter_col&, void> m_aRadioToggleHdl;
|
||||
|
@ -986,7 +986,7 @@ protected:
|
|||
std::function<int(const weld::TreeIter&, const weld::TreeIter&)> m_aCustomSort;
|
||||
|
||||
protected:
|
||||
void signal_changed() { m_aChangeHdl.Call(*this); }
|
||||
void signal_selection_changed() { m_aSelectionChangedHdl.Call(*this); }
|
||||
bool signal_row_activated() { return m_aRowActivatedHdl.Call(*this); }
|
||||
void signal_column_clicked(int nColumn) { m_aColumnClickedHdl.Call(nColumn); }
|
||||
bool signal_expanding(const TreeIter& rIter)
|
||||
|
@ -1076,7 +1076,10 @@ public:
|
|||
virtual void insert_separator(int pos, const OUString& rId) = 0;
|
||||
void append_separator(const OUString& rId) { insert_separator(-1, rId); }
|
||||
|
||||
void connect_changed(const Link<TreeView&, void>& rLink) { m_aChangeHdl = rLink; }
|
||||
void connect_selection_changed(const Link<TreeView&, void>& rLink)
|
||||
{
|
||||
m_aSelectionChangedHdl = rLink;
|
||||
}
|
||||
|
||||
/* A row is "activated" when the user double clicks a treeview row. It may
|
||||
also be emitted when a row is selected and Space or Enter is pressed.
|
||||
|
|
|
@ -86,7 +86,7 @@ OAddFieldWindow::OAddFieldWindow(weld::Window* pParent, uno::Reference< beans::X
|
|||
m_xActions->set_item_sensitive(u"insert"_ustr, false);
|
||||
|
||||
m_xListBox->connect_row_activated(LINK( this, OAddFieldWindow, OnDoubleClickHdl ) );
|
||||
m_xListBox->connect_changed(LINK( this, OAddFieldWindow, OnSelectHdl ) );
|
||||
m_xListBox->connect_selection_changed(LINK(this, OAddFieldWindow, OnSelectHdl));
|
||||
m_xListBox->set_size_request(m_xListBox->get_approximate_digit_width() * 45, m_xListBox->get_height_rows(8));
|
||||
|
||||
if (!m_xRowSet.is())
|
||||
|
|
|
@ -220,7 +220,7 @@ NavigatorTree::NavigatorTree(std::unique_ptr<weld::TreeView> xTreeView, OReportC
|
|||
|
||||
m_xTreeView->set_selection_mode(SelectionMode::Multiple);
|
||||
|
||||
m_xTreeView->connect_changed(LINK(this, NavigatorTree, OnEntrySelDesel));
|
||||
m_xTreeView->connect_selection_changed(LINK(this, NavigatorTree, OnEntrySelDesel));
|
||||
m_xTreeView->connect_popup_menu(LINK(this, NavigatorTree, CommandHdl));
|
||||
}
|
||||
|
||||
|
|
|
@ -644,7 +644,7 @@ ScCheckListMenuControl::ScCheckListMenuControl(weld::Widget* pParent, ScViewData
|
|||
mxButtonBox->show();
|
||||
|
||||
mxMenu->connect_row_activated(LINK(this, ScCheckListMenuControl, RowActivatedHdl));
|
||||
mxMenu->connect_changed(LINK(this, ScCheckListMenuControl, SelectHdl));
|
||||
mxMenu->connect_selection_changed(LINK(this, ScCheckListMenuControl, SelectHdl));
|
||||
mxMenu->connect_key_press(LINK(this, ScCheckListMenuControl, MenuKeyInputHdl));
|
||||
|
||||
mxBtnOk->connect_clicked(LINK(this, ScCheckListMenuControl, ButtonHdl));
|
||||
|
@ -1743,10 +1743,12 @@ ScListSubMenuControl::ScListSubMenuControl(weld::Widget* pParent, ScCheckListMen
|
|||
{
|
||||
mxBackColorMenu->set_clicks_to_toggle(1);
|
||||
mxBackColorMenu->enable_toggle_buttons(weld::ColumnToggleType::Radio);
|
||||
mxBackColorMenu->connect_changed(LINK(this, ScListSubMenuControl, ColorSelChangedHdl));
|
||||
mxBackColorMenu->connect_selection_changed(
|
||||
LINK(this, ScListSubMenuControl, ColorSelChangedHdl));
|
||||
mxTextColorMenu->set_clicks_to_toggle(1);
|
||||
mxTextColorMenu->enable_toggle_buttons(weld::ColumnToggleType::Radio);
|
||||
mxTextColorMenu->connect_changed(LINK(this, ScListSubMenuControl, ColorSelChangedHdl));
|
||||
mxTextColorMenu->connect_selection_changed(
|
||||
LINK(this, ScListSubMenuControl, ColorSelChangedHdl));
|
||||
SetupMenu(*mxBackColorMenu);
|
||||
SetupMenu(*mxTextColorMenu);
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ void ScConsolidateDlg::Init()
|
|||
m_xLbDestArea->connect_focus_in( LINK( this, ScConsolidateDlg, GetFocusHdl ) );
|
||||
m_xEdDataArea->SetModifyHdl( LINK( this, ScConsolidateDlg, ModifyHdl ) );
|
||||
m_xEdDestArea->SetModifyHdl( LINK( this, ScConsolidateDlg, ModifyHdl ) );
|
||||
m_xLbConsAreas->connect_changed( LINK( this, ScConsolidateDlg, SelectTVHdl ) );
|
||||
m_xLbConsAreas->connect_selection_changed(LINK(this, ScConsolidateDlg, SelectTVHdl));
|
||||
m_xLbDataArea->connect_changed( LINK( this, ScConsolidateDlg, SelectCBHdl ) );
|
||||
m_xLbDestArea->connect_changed( LINK( this, ScConsolidateDlg, SelectCBHdl ) );
|
||||
m_xBtnOk->connect_clicked( LINK( this, ScConsolidateDlg, OkHdl ) );
|
||||
|
|
|
@ -82,9 +82,9 @@ void ScTpSubTotalGroup::Init()
|
|||
assert(pDoc && "Document not found :-(");
|
||||
|
||||
mxLbGroup->connect_changed( LINK( this, ScTpSubTotalGroup, SelectListBoxHdl ) );
|
||||
mxLbColumns->connect_changed( LINK( this, ScTpSubTotalGroup, SelectTreeListBoxHdl ) );
|
||||
mxLbColumns->connect_selection_changed(LINK(this, ScTpSubTotalGroup, SelectTreeListBoxHdl));
|
||||
mxLbColumns->connect_toggled( LINK( this, ScTpSubTotalGroup, CheckHdl ) );
|
||||
mxLbFunctions->connect_changed( LINK( this, ScTpSubTotalGroup, SelectTreeListBoxHdl) );
|
||||
mxLbFunctions->connect_selection_changed(LINK(this, ScTpSubTotalGroup, SelectTreeListBoxHdl));
|
||||
mxLbSelectAllColumns->connect_toggled( LINK( this, ScTpSubTotalGroup, CheckBoxHdl ) );
|
||||
|
||||
mnFieldArr.resize(SC_MAXFIELDS(pDoc->GetSheetLimits()));
|
||||
|
|
|
@ -40,7 +40,7 @@ SearchResultsDlg::SearchResultsDlg(SfxBindings* _pBindings, weld::Window* pParen
|
|||
o3tl::narrowing<int>(mxList->get_approximate_digit_width() * 10)
|
||||
};
|
||||
mxList->set_column_fixed_widths(aWidths);
|
||||
mxList->connect_changed(LINK(this, SearchResultsDlg, ListSelectHdl));
|
||||
mxList->connect_selection_changed(LINK(this, SearchResultsDlg, ListSelectHdl));
|
||||
mxList->connect_column_clicked(LINK(this, SearchResultsDlg, HeaderBarClick));
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ ScFunctionWin::ScFunctionWin(weld::Widget* pParent)
|
|||
m_xSearchString->connect_key_press(LINK(this, ScFunctionWin, KeyInputHdl));
|
||||
|
||||
xCatBox->connect_changed(LINK( this, ScFunctionWin, SelComboHdl));
|
||||
xFuncList->connect_changed(LINK( this, ScFunctionWin, SelTreeHdl));
|
||||
xFuncList->connect_selection_changed(LINK(this, ScFunctionWin, SelTreeHdl));
|
||||
|
||||
xFuncList->connect_row_activated(LINK( this, ScFunctionWin, SetRowActivatedHdl));
|
||||
xInsertButton->connect_clicked(LINK( this, ScFunctionWin, SetSelectionClickHdl));
|
||||
|
|
|
@ -61,7 +61,10 @@ public:
|
|||
void CheckForFormulaString();
|
||||
|
||||
int n_children() const { return m_xTreeView->n_children(); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink) { m_xTreeView->connect_changed(rLink); }
|
||||
void connect_changed(const Link<weld::TreeView&, void>& rLink)
|
||||
{
|
||||
m_xTreeView->connect_selection_changed(rLink);
|
||||
}
|
||||
void set_cursor(int nPos) { m_xTreeView->set_cursor(nPos); }
|
||||
|
||||
void addEntry(const ScRangeNameLine& rLine, bool bSetCurEntry);
|
||||
|
|
|
@ -126,7 +126,7 @@ ScAcceptChgDlg::ScAcceptChgDlg(SfxBindings* pB, SfxChildWindow* pCW, weld::Windo
|
|||
|
||||
weld::TreeView& rTreeView = pTheView->GetWidget();
|
||||
rTreeView.connect_expanding(LINK(this, ScAcceptChgDlg, ExpandingHandle));
|
||||
rTreeView.connect_changed(LINK(this, ScAcceptChgDlg, SelectHandle));
|
||||
rTreeView.connect_selection_changed(LINK(this, ScAcceptChgDlg, SelectHandle));
|
||||
rTreeView.connect_popup_menu(LINK(this, ScAcceptChgDlg, CommandHdl));
|
||||
rTreeView.set_sort_func([this](const weld::TreeIter& rLeft, const weld::TreeIter& rRight){
|
||||
return ColCompareHdl(rLeft, rRight);
|
||||
|
|
|
@ -361,7 +361,7 @@ ScConflictsDlg::ScConflictsDlg(weld::Window* pParent, ScViewData* pViewData, ScD
|
|||
|
||||
maSelectionIdle.SetInvokeHandler( LINK( this, ScConflictsDlg, UpdateSelectionHdl ) );
|
||||
|
||||
rTreeView.connect_changed(LINK(this, ScConflictsDlg, SelectHandle));
|
||||
rTreeView.connect_selection_changed(LINK(this, ScConflictsDlg, SelectHandle));
|
||||
|
||||
m_xBtnKeepMine->connect_clicked( LINK( this, ScConflictsDlg, KeepMineHandle ) );
|
||||
m_xBtnKeepOther->connect_clicked( LINK( this, ScConflictsDlg, KeepOtherHandle ) );
|
||||
|
|
|
@ -101,7 +101,7 @@ void ScColRowNameRangesDlg::Init()
|
|||
m_xBtnCancel->connect_clicked ( LINK( this, ScColRowNameRangesDlg, CancelBtnHdl ) );
|
||||
m_xBtnAdd->connect_clicked ( LINK( this, ScColRowNameRangesDlg, AddBtnHdl ) );
|
||||
m_xBtnRemove->connect_clicked ( LINK( this, ScColRowNameRangesDlg, RemoveBtnHdl ) );
|
||||
m_xLbRange->connect_changed( LINK( this, ScColRowNameRangesDlg, Range1SelectHdl ) );
|
||||
m_xLbRange->connect_selection_changed(LINK(this, ScColRowNameRangesDlg, Range1SelectHdl));
|
||||
m_xEdAssign->SetModifyHdl ( LINK( this, ScColRowNameRangesDlg, Range1DataModifyHdl ) );
|
||||
m_xBtnColHead->connect_toggled ( LINK( this, ScColRowNameRangesDlg, ColRowToggleHdl ) );
|
||||
m_xEdAssign2->SetModifyHdl ( LINK( this, ScColRowNameRangesDlg, Range2DataModifyHdl ) );
|
||||
|
|
|
@ -72,7 +72,7 @@ void ScInsertTableDlg::Init_Impl( bool bFromFile )
|
|||
m_xBtnBrowse->connect_clicked( LINK( this, ScInsertTableDlg, BrowseHdl_Impl ) );
|
||||
m_xBtnNew->connect_toggled( LINK( this, ScInsertTableDlg, ChoiceHdl_Impl ) );
|
||||
m_xBtnFromFile->connect_toggled( LINK( this, ScInsertTableDlg, ChoiceHdl_Impl ) );
|
||||
m_xLbTables->connect_changed( LINK( this, ScInsertTableDlg, SelectHdl_Impl ) );
|
||||
m_xLbTables->connect_selection_changed(LINK(this, ScInsertTableDlg, SelectHdl_Impl));
|
||||
m_xNfCount->connect_value_changed( LINK( this, ScInsertTableDlg, CountHdl_Impl));
|
||||
m_xBtnOk->connect_clicked( LINK( this, ScInsertTableDlg, DoEnterHdl ));
|
||||
m_xBtnBefore->set_active(true);
|
||||
|
|
|
@ -50,7 +50,7 @@ ScLinkedAreaDlg::ScLinkedAreaDlg(weld::Widget* pParent)
|
|||
|
||||
m_xCbUrl->connect_entry_activate(LINK(this, ScLinkedAreaDlg, FileHdl));
|
||||
m_xBtnBrowse->connect_clicked(LINK( this, ScLinkedAreaDlg, BrowseHdl));
|
||||
m_xLbRanges->connect_changed(LINK( this, ScLinkedAreaDlg, RangeHdl));
|
||||
m_xLbRanges->connect_selection_changed(LINK(this, ScLinkedAreaDlg, RangeHdl));
|
||||
m_xLbRanges->set_size_request(m_xLbRanges->get_approximate_digit_width() * 54,
|
||||
m_xLbRanges->get_height_rows(5));
|
||||
m_xBtnReload->connect_toggled(LINK( this, ScLinkedAreaDlg, ReloadHdl));
|
||||
|
|
|
@ -82,7 +82,7 @@ ScAutoFormatDlg::~ScAutoFormatDlg()
|
|||
|
||||
void ScAutoFormatDlg::Init()
|
||||
{
|
||||
m_xLbFormat->connect_changed( LINK( this, ScAutoFormatDlg, SelFmtHdl ) );
|
||||
m_xLbFormat->connect_selection_changed(LINK(this, ScAutoFormatDlg, SelFmtHdl));
|
||||
m_xBtnNumFormat->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) );
|
||||
m_xBtnBorder->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) );
|
||||
m_xBtnFont->connect_toggled( LINK( this, ScAutoFormatDlg, CheckHdl ) );
|
||||
|
|
|
@ -77,7 +77,7 @@ ScSolverOptionsDialog::ScSolverOptionsDialog(weld::Window* pParent,
|
|||
|
||||
m_xBtnEdit->connect_clicked( LINK( this, ScSolverOptionsDialog, ButtonHdl ) );
|
||||
|
||||
m_xLbSettings->connect_changed( LINK( this, ScSolverOptionsDialog, SettingsSelHdl ) );
|
||||
m_xLbSettings->connect_selection_changed(LINK(this, ScSolverOptionsDialog, SettingsSelHdl));
|
||||
m_xLbSettings->connect_row_activated( LINK( this, ScSolverOptionsDialog, SettingsDoubleClickHdl ) );
|
||||
|
||||
sal_Int32 nSelect = -1;
|
||||
|
|
|
@ -195,7 +195,7 @@ ScScenarioWindow::ScScenarioWindow(weld::Builder& rBuilder, const OUString& aQH_
|
|||
m_xLbScenario->set_tooltip_text(aQH_List);
|
||||
m_xEdComment->set_tooltip_text(aQH_Comment);
|
||||
|
||||
m_xLbScenario->connect_changed(LINK(this, ScScenarioWindow, SelectHdl));
|
||||
m_xLbScenario->connect_selection_changed(LINK(this, ScScenarioWindow, SelectHdl));
|
||||
m_xLbScenario->connect_row_activated(LINK(this, ScScenarioWindow, DoubleClickHdl));
|
||||
m_xLbScenario->connect_key_press(LINK(this, ScScenarioWindow, KeyInputHdl));
|
||||
m_xLbScenario->connect_popup_menu(LINK(this, ScScenarioWindow, ContextMenuHdl));
|
||||
|
|
|
@ -89,7 +89,7 @@ void ScTpUserLists::Init()
|
|||
SfxViewShell* pSh = SfxViewShell::Current();
|
||||
ScTabViewShell* pViewSh = dynamic_cast<ScTabViewShell*>( pSh );
|
||||
|
||||
mxLbLists->connect_changed ( LINK( this, ScTpUserLists, LbSelectHdl ) );
|
||||
mxLbLists->connect_selection_changed(LINK(this, ScTpUserLists, LbSelectHdl));
|
||||
mxBtnNew->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) );
|
||||
mxBtnDiscard->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) );
|
||||
mxBtnAdd->connect_clicked ( LINK( this, ScTpUserLists, BtnClickHdl ) );
|
||||
|
|
|
@ -96,7 +96,7 @@ ScXMLSourceDlg::ScXMLSourceDlg(
|
|||
mxBtnOk->connect_clicked(aBtnHdl);
|
||||
mxBtnCancel->connect_clicked(aBtnHdl);
|
||||
|
||||
mxLbTree->connect_changed(LINK(this, ScXMLSourceDlg, TreeItemSelectHdl));
|
||||
mxLbTree->connect_selection_changed(LINK(this, ScXMLSourceDlg, TreeItemSelectHdl));
|
||||
|
||||
Link<formula::RefEdit&,void> aLink = LINK(this, ScXMLSourceDlg, RefModifiedHdl);
|
||||
mxRefEdit->SetModifyHdl(aLink);
|
||||
|
|
|
@ -453,7 +453,7 @@ CustomAnimationList::CustomAnimationList(std::unique_ptr<weld::TreeView> xTreeVi
|
|||
mxEmptyLabel->set_stack_background();
|
||||
|
||||
mxTreeView->set_selection_mode(SelectionMode::Multiple);
|
||||
mxTreeView->connect_changed(LINK(this, CustomAnimationList, SelectHdl));
|
||||
mxTreeView->connect_selection_changed(LINK(this, CustomAnimationList, SelectHdl));
|
||||
mxTreeView->connect_key_press(LINK(this, CustomAnimationList, KeyInputHdl));
|
||||
mxTreeView->connect_popup_menu(LINK(this, CustomAnimationList, CommandHdl));
|
||||
mxTreeView->connect_row_activated(LINK(this, CustomAnimationList, DoubleClickHdl));
|
||||
|
|
|
@ -163,7 +163,7 @@ css::ui::LayoutSize CustomAnimationPane::GetHeightForWidth(const sal_Int32 /*nWi
|
|||
|
||||
void CustomAnimationPane::initialize()
|
||||
{
|
||||
mxLBAnimation->connect_changed(LINK(this, CustomAnimationPane, AnimationSelectHdl));
|
||||
mxLBAnimation->connect_selection_changed(LINK(this, CustomAnimationPane, AnimationSelectHdl));
|
||||
mxCustomAnimationList->setController( static_cast<ICustomAnimationListController*> ( this ) );
|
||||
mxCustomAnimationList->set_size_request(mxCustomAnimationList->get_approximate_digit_width() * 15,
|
||||
mxCustomAnimationList->get_height_rows(4));
|
||||
|
|
|
@ -141,7 +141,7 @@ SvxBulletAndPositionDlg::SvxBulletAndPositionDlg(weld::Window* pWindow, const Sf
|
|||
m_xBitmapMB->connect_selected(LINK(this, SvxBulletAndPositionDlg, GraphicHdl_Impl));
|
||||
m_xBitmapMB->connect_toggled(LINK(this, SvxBulletAndPositionDlg, PopupActivateHdl_Impl));
|
||||
m_xLevelLB->set_selection_mode(SelectionMode::Multiple);
|
||||
m_xLevelLB->connect_changed(LINK(this, SvxBulletAndPositionDlg, LevelHdl_Impl));
|
||||
m_xLevelLB->connect_selection_changed(LINK(this, SvxBulletAndPositionDlg, LevelHdl_Impl));
|
||||
m_xWidthMF->connect_value_changed(LINK(this, SvxBulletAndPositionDlg, SizeHdl_Impl));
|
||||
m_xHeightMF->connect_value_changed(LINK(this, SvxBulletAndPositionDlg, SizeHdl_Impl));
|
||||
m_xRatioCB->connect_toggled(LINK(this, SvxBulletAndPositionDlg, RatioHdl_Impl));
|
||||
|
|
|
@ -66,7 +66,7 @@ SdPhotoAlbumDialog::SdPhotoAlbumDialog(weld::Window* pWindow, SdDrawDocument* pA
|
|||
m_xDownBtn->set_sensitive(false);
|
||||
m_xRemoveBtn->connect_clicked(LINK(this, SdPhotoAlbumDialog, RemoveHdl));
|
||||
m_xRemoveBtn->set_sensitive(false);
|
||||
m_xImagesLst->connect_changed(LINK(this, SdPhotoAlbumDialog, SelectHdl));
|
||||
m_xImagesLst->connect_selection_changed(LINK(this, SdPhotoAlbumDialog, SelectHdl));
|
||||
m_xInsTypeCombo->connect_changed(LINK(this, SdPhotoAlbumDialog, TypeSelectHdl));
|
||||
|
||||
m_pGraphicFilter = std::make_unique<GraphicFilter>();
|
||||
|
|
|
@ -29,7 +29,7 @@ SdSelectLayerDlg::SdSelectLayerDlg(weld::Window* pParent)
|
|||
m_xListLB->set_size_request(m_xListLB->get_approximate_digit_width() * 32,
|
||||
m_xListLB->get_height_rows(8));
|
||||
m_xListLB->connect_row_activated(LINK(this, SdSelectLayerDlg, DoubleClickHdl));
|
||||
m_xListLB->connect_changed(LINK(this, SdSelectLayerDlg, SelectHdl));
|
||||
m_xListLB->connect_selection_changed(LINK(this, SdSelectLayerDlg, SelectHdl));
|
||||
}
|
||||
|
||||
IMPL_LINK_NOARG(SdSelectLayerDlg, DoubleClickHdl, weld::TreeView&, bool)
|
||||
|
|
|
@ -51,7 +51,7 @@ SdCustomShowDlg::SdCustomShowDlg(weld::Window* pWindow, SdDrawDocument& rDrawDoc
|
|||
m_xBtnEdit->connect_clicked( aLink );
|
||||
m_xBtnRemove->connect_clicked( aLink );
|
||||
m_xBtnCopy->connect_clicked( aLink );
|
||||
m_xLbCustomShows->connect_changed( LINK( this, SdCustomShowDlg, SelectListBoxHdl ) );
|
||||
m_xLbCustomShows->connect_selection_changed(LINK(this, SdCustomShowDlg, SelectListBoxHdl));
|
||||
|
||||
m_xBtnStartShow->connect_clicked( LINK( this, SdCustomShowDlg, StartShowHdl ) ); // for test
|
||||
|
||||
|
@ -255,8 +255,8 @@ SdDefineCustomShowDlg::SdDefineCustomShowDlg(weld::Window* pWindow, SdDrawDocume
|
|||
m_xBtnAdd->connect_clicked( aLink );
|
||||
m_xBtnRemove->connect_clicked( aLink );
|
||||
m_xEdtName->connect_changed( LINK( this, SdDefineCustomShowDlg, ClickButtonEditHdl ) );
|
||||
m_xLbPages->connect_changed( LINK( this, SdDefineCustomShowDlg, ClickButtonHdl4 ) ); // because of status
|
||||
m_xLbCustomPages->connect_changed( LINK( this, SdDefineCustomShowDlg, ClickButtonHdl3 ) ); // because of status
|
||||
m_xLbPages->connect_selection_changed(LINK(this, SdDefineCustomShowDlg, ClickButtonHdl4)); // because of status
|
||||
m_xLbCustomPages->connect_selection_changed(LINK(this, SdDefineCustomShowDlg, ClickButtonHdl3)); // because of status
|
||||
|
||||
m_xBtnOK->connect_clicked( LINK( this, SdDefineCustomShowDlg, OKHdl ) );
|
||||
|
||||
|
|
|
@ -752,7 +752,7 @@ SdPageObjsTLV::SdPageObjsTLV(std::unique_ptr<weld::TreeView> xTreeView)
|
|||
, m_nRowActivateEventId(nullptr)
|
||||
{
|
||||
m_xTreeView->connect_expanding(LINK(this, SdPageObjsTLV, RequestingChildrenHdl));
|
||||
m_xTreeView->connect_changed(LINK(this, SdPageObjsTLV, SelectHdl));
|
||||
m_xTreeView->connect_selection_changed(LINK(this, SdPageObjsTLV, SelectHdl));
|
||||
m_xTreeView->connect_row_activated(LINK(this, SdPageObjsTLV, RowActivatedHdl));
|
||||
m_xTreeView->connect_drag_begin(LINK(this, SdPageObjsTLV, DragBeginHdl));
|
||||
m_xTreeView->connect_key_press(LINK(this, SdPageObjsTLV, KeyInputHdl));
|
||||
|
|
|
@ -406,7 +406,7 @@ IndexTabPage_Impl::IndexTabPage_Impl(weld::Widget* pParent, SfxHelpIndexWindow_I
|
|||
aAutoCompleteIdle.SetInvokeHandler( LINK(this, IndexTabPage_Impl, AutoCompleteHdl ));
|
||||
aKeywordTimer.SetInvokeHandler( LINK( this, IndexTabPage_Impl, TimeoutHdl ) );
|
||||
m_xIndexList->connect_row_activated(LINK(this, IndexTabPage_Impl, DoubleClickHdl));
|
||||
m_xIndexList->connect_changed(LINK(this, IndexTabPage_Impl, TreeChangeHdl));
|
||||
m_xIndexList->connect_selection_changed(LINK(this, IndexTabPage_Impl, TreeChangeHdl));
|
||||
m_xIndexList->connect_custom_get_size(LINK(this, IndexTabPage_Impl, CustomGetSizeHdl));
|
||||
m_xIndexList->connect_custom_render(LINK(this, IndexTabPage_Impl, CustomRenderHdl));
|
||||
m_xIndexList->set_column_custom_renderer(0, true);
|
||||
|
|
|
@ -31,7 +31,7 @@ TemplateDlgLocalView::TemplateDlgLocalView(std::unique_ptr<weld::ScrolledWindow>
|
|||
{
|
||||
mxTreeView->connect_row_activated(LINK(this, TemplateDlgLocalView, RowActivatedHdl));
|
||||
mxTreeView->connect_column_clicked(LINK(this, ListView, ColumnClickedHdl));
|
||||
mxTreeView->connect_changed(LINK(this, TemplateDlgLocalView, ListViewChangedHdl));
|
||||
mxTreeView->connect_selection_changed(LINK(this, TemplateDlgLocalView, ListViewChangedHdl));
|
||||
mxTreeView->connect_popup_menu(LINK(this, TemplateDlgLocalView, PopupMenuHdl));
|
||||
mxTreeView->connect_key_press(LINK(this, TemplateDlgLocalView, KeyPressHdl));
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ DevelopmentToolDockingWindow::DevelopmentToolDockingWindow(SfxBindings* pInputBi
|
|||
pInputBindings->GetDispatcher()->GetFrame()->GetObjectShell()->GetBaseModel())
|
||||
, maObjectInspectorTreeHandler(mpObjectInspectorWidgets)
|
||||
{
|
||||
mpDocumentModelTreeView->connect_changed(
|
||||
mpDocumentModelTreeView->connect_selection_changed(
|
||||
LINK(this, DevelopmentToolDockingWindow, DocumentModelTreeViewSelectionHandler));
|
||||
mpDomToolbar->connect_clicked(
|
||||
LINK(this, DevelopmentToolDockingWindow, DomToolbarButtonClicked));
|
||||
|
|
|
@ -941,13 +941,13 @@ ObjectInspectorTreeHandler::ObjectInspectorTreeHandler(
|
|||
mpObjectInspectorWidgets->mpPropertiesTreeView->connect_popup_menu(
|
||||
LINK(this, ObjectInspectorTreeHandler, PopupMenuHandler));
|
||||
|
||||
mpObjectInspectorWidgets->mpInterfacesTreeView->connect_changed(
|
||||
mpObjectInspectorWidgets->mpInterfacesTreeView->connect_selection_changed(
|
||||
LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
|
||||
mpObjectInspectorWidgets->mpServicesTreeView->connect_changed(
|
||||
mpObjectInspectorWidgets->mpServicesTreeView->connect_selection_changed(
|
||||
LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
|
||||
mpObjectInspectorWidgets->mpPropertiesTreeView->connect_changed(
|
||||
mpObjectInspectorWidgets->mpPropertiesTreeView->connect_selection_changed(
|
||||
LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
|
||||
mpObjectInspectorWidgets->mpMethodsTreeView->connect_changed(
|
||||
mpObjectInspectorWidgets->mpMethodsTreeView->connect_selection_changed(
|
||||
LINK(this, ObjectInspectorTreeHandler, SelectionChanged));
|
||||
|
||||
mpObjectInspectorWidgets->mpInterfacesTreeView->make_sorted();
|
||||
|
|
|
@ -369,11 +369,11 @@ void StyleList::Initialize()
|
|||
m_xFmtLb->connect_row_activated(LINK(this, StyleList, TreeListApplyHdl));
|
||||
m_xFmtLb->connect_mouse_press(LINK(this, StyleList, MousePressHdl));
|
||||
m_xFmtLb->connect_query_tooltip(LINK(this, StyleList, QueryTooltipHdl));
|
||||
m_xFmtLb->connect_changed(LINK(this, StyleList, FmtSelectHdl));
|
||||
m_xFmtLb->connect_selection_changed(LINK(this, StyleList, FmtSelectHdl));
|
||||
m_xFmtLb->connect_popup_menu(LINK(this, StyleList, PopupFlatMenuHdl));
|
||||
m_xFmtLb->connect_key_press(LINK(this, StyleList, KeyInputHdl));
|
||||
m_xFmtLb->set_selection_mode(SelectionMode::Multiple);
|
||||
m_xTreeBox->connect_changed(LINK(this, StyleList, FmtSelectHdl));
|
||||
m_xTreeBox->connect_selection_changed(LINK(this, StyleList, FmtSelectHdl));
|
||||
m_xTreeBox->connect_row_activated(LINK(this, StyleList, TreeListApplyHdl));
|
||||
m_xTreeBox->connect_mouse_press(LINK(this, StyleList, MousePressHdl));
|
||||
m_xTreeBox->connect_query_tooltip(LINK(this, StyleList, QueryTooltipHdl));
|
||||
|
|
|
@ -170,7 +170,7 @@ SfxVersionDialog::SfxVersionDialog(weld::Window* pParent, SfxViewFrame* pVwFrame
|
|||
m_xSaveCheckBox->connect_toggled(LINK(this, SfxVersionDialog, ToggleHdl_Impl));
|
||||
m_xCmisButton->connect_clicked( aClickLink );
|
||||
|
||||
m_xVersionBox->connect_changed( LINK( this, SfxVersionDialog, SelectHdl_Impl ) );
|
||||
m_xVersionBox->connect_selection_changed(LINK(this, SfxVersionDialog, SelectHdl_Impl));
|
||||
m_xVersionBox->connect_row_activated( LINK( this, SfxVersionDialog, DClickHdl_Impl ) );
|
||||
|
||||
m_xVersionBox->grab_focus();
|
||||
|
|
|
@ -280,7 +280,7 @@ SfxNewFileDialog::SfxNewFileDialog(weld::Window *pParent, SfxNewFileDialogMode n
|
|||
bool bExpand = !sExtraData.isEmpty() && sExtraData[0] == 'Y';
|
||||
m_xMoreBt->set_expanded(bExpand && (nFlags != SfxNewFileDialogMode::NONE));
|
||||
|
||||
m_xTemplateLb->connect_changed(LINK(this, SfxNewFileDialog, TemplateSelect));
|
||||
m_xTemplateLb->connect_selection_changed(LINK(this, SfxNewFileDialog, TemplateSelect));
|
||||
m_xTemplateLb->connect_row_activated(LINK(this, SfxNewFileDialog, DoubleClick));
|
||||
|
||||
// update the template configuration if necessary
|
||||
|
@ -294,7 +294,7 @@ SfxNewFileDialog::SfxNewFileDialog(weld::Window *pParent, SfxNewFileDialogMode n
|
|||
{
|
||||
for(sal_uInt16 i = 0; i < nCount; ++i)
|
||||
m_xRegionLb->append_text(m_aTemplates.GetFullRegionName(i));
|
||||
m_xRegionLb->connect_changed(LINK(this, SfxNewFileDialog, RegionSelect));
|
||||
m_xRegionLb->connect_selection_changed(LINK(this, SfxNewFileDialog, RegionSelect));
|
||||
}
|
||||
|
||||
m_aPrevIdle.SetPriority( TaskPriority::LOWEST );
|
||||
|
|
|
@ -47,7 +47,8 @@ SfxSaveAsTemplateDialog::SfxSaveAsTemplateDialog(weld::Window* pParent, uno::Ref
|
|||
SetCategoryLBEntries(msCategories);
|
||||
|
||||
m_xTemplateNameEdit->connect_changed(LINK(this, SfxSaveAsTemplateDialog, TemplateNameEditHdl));
|
||||
m_xLBCategory->connect_changed(LINK(this, SfxSaveAsTemplateDialog, SelectCategoryHdl));
|
||||
m_xLBCategory->connect_selection_changed(
|
||||
LINK(this, SfxSaveAsTemplateDialog, SelectCategoryHdl));
|
||||
m_xLBCategory->set_size_request(m_xLBCategory->get_approximate_digit_width() * 32,
|
||||
m_xLBCategory->get_height_rows(8));
|
||||
m_xOKButton->connect_clicked(LINK(this, SfxSaveAsTemplateDialog, OkClickHdl));
|
||||
|
|
|
@ -1267,7 +1267,8 @@ SfxTemplateCategoryDialog::SfxTemplateCategoryDialog(weld::Window* pParent)
|
|||
mxNewCategoryEdit->connect_changed(LINK(this, SfxTemplateCategoryDialog, NewCategoryEditHdl));
|
||||
mxLBCategory->set_size_request(mxLBCategory->get_approximate_digit_width() * 32,
|
||||
mxLBCategory->get_height_rows(8));
|
||||
mxLBCategory->connect_changed(LINK(this, SfxTemplateCategoryDialog, SelectCategoryHdl));
|
||||
mxLBCategory->connect_selection_changed(
|
||||
LINK(this, SfxTemplateCategoryDialog, SelectCategoryHdl));
|
||||
mxOKButton->set_sensitive(false);
|
||||
}
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue