summaryrefslogtreecommitdiff
path: root/include/vcl/tabctrl.hxx
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2016-08-19 10:20:03 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-08-25 11:46:39 +0000
commit6488d249b0c5649313b6611660aca939e5c374bf (patch)
tree64646f153fd5ef2999dff69a51462dc72fd27369 /include/vcl/tabctrl.hxx
parentb9ab0dd3e5eb3c948ee9a29006637e48d5751a5e (diff)
GSoC notebookbar: container with context support
+ added sfxlo-ContextVBox + notebookbar's .ui file must contain control implementing NotebookbarContextControl interface with id "ContextContainer" Change-Id: Ice81e23c4ba742564ebceeda95be120ea3f58c99 Reviewed-on: https://gerrit.libreoffice.org/28247 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/vcl/tabctrl.hxx')
-rw-r--r--include/vcl/tabctrl.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx
index a79522a03586..b24e3dacf4e3 100644
--- a/include/vcl/tabctrl.hxx
+++ b/include/vcl/tabctrl.hxx
@@ -23,6 +23,7 @@
#include <vcl/dllapi.h>
#include <vcl/ctrl.hxx>
#include <vcl/EnumContext.hxx>
+#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
struct ImplTabItem;
struct ImplTabCtrlData;
@@ -196,13 +197,14 @@ public:
class NotebookBar;
-class VCL_DLLPUBLIC NotebookbarTabControl : public TabControl
+class VCL_DLLPUBLIC NotebookbarTabControl : public TabControl,
+ public NotebookbarContextControl
{
public:
NotebookbarTabControl( vcl::Window* pParent );
- void SetContext( vcl::EnumContext::Context eContext );
- void SetIconClickHdl( Link<NotebookBar*, void> aHdl );
+ void SetContext( vcl::EnumContext::Context eContext ) override;
+ void SetIconClickHdl( Link<NotebookBar*, void> aHdl ) override;
virtual sal_uInt16 GetPageId( const Point& rPos ) const override;
virtual void SelectTabPage( sal_uInt16 nPageId ) override;