summaryrefslogtreecommitdiff
path: root/include/vcl/notebookbar.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/notebookbar.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/notebookbar.hxx')
-rw-r--r--include/vcl/notebookbar.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/notebookbar.hxx b/include/vcl/notebookbar.hxx
index 51f32aab6d45..d2a279ffe3ad 100644
--- a/include/vcl/notebookbar.hxx
+++ b/include/vcl/notebookbar.hxx
@@ -12,8 +12,8 @@
#include <vcl/builder.hxx>
#include <vcl/ctrl.hxx>
-#include <vcl/tabctrl.hxx>
#include <vcl/EnumContext.hxx>
+#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <com/sun/star/ui/XContextChangeEventListener.hpp>
/// This implements Widget Layout-based notebook-like menu bar.
@@ -35,7 +35,7 @@ public:
const css::uno::Reference<css::ui::XContextChangeEventListener>& getContextChangeEventListener() const { return m_pEventListener; }
private:
css::uno::Reference<css::ui::XContextChangeEventListener> m_pEventListener;
- VclPtr<NotebookbarTabControl> m_pTabControl;
+ NotebookbarContextControl* m_pContextContainer;
};