summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-28 16:05:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-29 11:51:17 +0200
commit652e2136984a5b023b5551914cb9786a0d8f1540 (patch)
tree35c97066b96e5ba9277e4df34e162d699d9fc1a5 /cui/source/inc
parent7f8f7e7284e29cc0e8a0f282761abea428d0eb33 (diff)
change TreeView toggle signal to provide an iter instead of a row index
Change-Id: Ib611780816d170daa40f394b9798640ff6284d68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95056 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/SvxNotebookbarConfigPage.hxx3
-rw-r--r--cui/source/inc/SvxToolbarConfigPage.hxx3
-rw-r--r--cui/source/inc/multipat.hxx3
-rw-r--r--cui/source/inc/optlingu.hxx8
4 files changed, 6 insertions, 11 deletions
diff --git a/cui/source/inc/SvxNotebookbarConfigPage.hxx b/cui/source/inc/SvxNotebookbarConfigPage.hxx
index 47870949d9aa..7e417463ab30 100644
--- a/cui/source/inc/SvxNotebookbarConfigPage.hxx
+++ b/cui/source/inc/SvxNotebookbarConfigPage.hxx
@@ -75,8 +75,7 @@ public:
class SvxNotebookbarEntriesListBox final : public SvxMenuEntriesListBox
{
void ChangedVisibility(int nRow);
- typedef std::pair<int, int> row_col;
- DECL_LINK(CheckButtonHdl, const row_col&, void);
+ DECL_LINK(CheckButtonHdl, const weld::TreeView::iter_col&, void);
DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
public:
diff --git a/cui/source/inc/SvxToolbarConfigPage.hxx b/cui/source/inc/SvxToolbarConfigPage.hxx
index 5902cdf4b268..00672453df1b 100644
--- a/cui/source/inc/SvxToolbarConfigPage.hxx
+++ b/cui/source/inc/SvxToolbarConfigPage.hxx
@@ -77,8 +77,7 @@ class SvxToolbarEntriesListBox final : public SvxMenuEntriesListBox
{
void ChangedVisibility(int nRow);
- typedef std::pair<int, int> row_col;
- DECL_LINK(CheckButtonHdl, const row_col&, void);
+ DECL_LINK(CheckButtonHdl, const weld::TreeView::iter_col&, void);
DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
public:
diff --git a/cui/source/inc/multipat.hxx b/cui/source/inc/multipat.hxx
index 67832c1e8cae..fcc60bb08693 100644
--- a/cui/source/inc/multipat.hxx
+++ b/cui/source/inc/multipat.hxx
@@ -44,8 +44,7 @@ private:
DECL_LINK(AddHdl_Impl, weld::Button&, void);
DECL_LINK(DelHdl_Impl, weld::Button&, void);
DECL_LINK(SelectHdl_Impl, weld::TreeView&, void);
- typedef std::pair<int, int> row_col;
- DECL_LINK(CheckHdl_Impl, const row_col&, void);
+ DECL_LINK(CheckHdl_Impl, const weld::TreeView::iter_col&, void);
public:
SvxMultiPathDialog(weld::Window* pParent);
diff --git a/cui/source/inc/optlingu.hxx b/cui/source/inc/optlingu.hxx
index bc12d3991daa..35d34eb101db 100644
--- a/cui/source/inc/optlingu.hxx
+++ b/cui/source/inc/optlingu.hxx
@@ -67,8 +67,7 @@ class SvxEditModulesDlg : public weld::GenericDialogController
DECL_LINK( ClickHdl_Impl, weld::Button&, void );
DECL_LINK( BackHdl_Impl, weld::Button&, void );
DECL_LINK( LangSelectListBoxHdl_Impl, weld::ComboBox&, void );
- typedef std::pair<int, int> row_col;
- DECL_LINK( BoxCheckButtonHdl_Impl, const row_col&, void );
+ DECL_LINK( BoxCheckButtonHdl_Impl, const weld::TreeView::iter_col&, void );
void LangSelectHdl_Impl(const SvxLanguageBox* pBox);
public:
@@ -125,9 +124,8 @@ private:
DECL_LINK( SelectHdl_Impl, weld::TreeView&, void );
DECL_LINK( ClickHdl_Impl, weld::Button&, void );
DECL_LINK( BoxDoubleClickHdl_Impl, weld::TreeView&, bool );
- typedef std::pair<int, int> row_col;
- DECL_LINK( ModulesBoxCheckButtonHdl_Impl, const row_col&, void );
- DECL_LINK( DicsBoxCheckButtonHdl_Impl, const row_col&, void );
+ DECL_LINK( ModulesBoxCheckButtonHdl_Impl, const weld::TreeView::iter_col&, void );
+ DECL_LINK( DicsBoxCheckButtonHdl_Impl, const weld::TreeView::iter_col&, void );
DECL_LINK( PostDblClickHdl_Impl, void *, void);
void UpdateModulesBox_Impl();