summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-11-20 15:59:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-11-30 20:40:57 +0100
commitaa0657e2983007c505b1223281df4a3a4eb6e73a (patch)
tree81cd1d9d6292ee304c4bf9a5e042f924be699f28 /include/svtools
parent97e91f6bbc2e81fdb8e6fbf55c551cf4b23fa8dd (diff)
weld ImplTabButtons
create a separate .ui for the ltr-in-rtl scroll arrow region Change-Id: I2ec9099f7441ba82555270b5a99541cd7a989890 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106288 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/tabbar.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/svtools/tabbar.hxx b/include/svtools/tabbar.hxx
index 2a9d8a43eba3..8735e0728599 100644
--- a/include/svtools/tabbar.hxx
+++ b/include/svtools/tabbar.hxx
@@ -267,7 +267,9 @@ carried out over an item resp. over which item the mouse click has
been carried out.
*/
+namespace weld {
class Button;
+}
#define WB_RANGESELECT (WinBits(0x00200000))
#define WB_MULTISELECT (WinBits(0x00400000))
@@ -308,7 +310,6 @@ struct TabBar_Impl;
class SVT_DLLPUBLIC TabBar : public vcl::Window
{
- friend class ImplTabButton;
friend class ImplTabSizer;
private:
@@ -363,9 +364,10 @@ private:
SVT_DLLPRIVATE void ImplPrePaint();
SVT_DLLPRIVATE ImplTabBarItem* ImplGetLastTabBarItem( sal_uInt16 nItemCount );
- DECL_DLLPRIVATE_LINK(ImplClickHdl, Button*, void);
-
- DECL_DLLPRIVATE_LINK(ImplAddClickHandler, Button*, void);
+ DECL_DLLPRIVATE_LINK(ImplClickHdl, weld::Button&, void);
+ DECL_DLLPRIVATE_LINK(ImplAddClickHandler, weld::Button&, void);
+ DECL_DLLPRIVATE_LINK(MousePressHdl, const MouseEvent&, bool);
+ DECL_DLLPRIVATE_LINK(ContextMenuHdl, const CommandEvent&, void);
ImplTabBarItem* seek( size_t i );
ImplTabBarItem* prev();