summaryrefslogtreecommitdiff
path: root/include/vcl/notebookbar.hxx
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2016-07-20 16:08:38 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-07-22 08:59:59 +0000
commitb949604b91f77dee3b2737ea09e1ac3ade4eed1c (patch)
tree84b3f65668c933f8fc5e5ce3541df5aa0919c7ef /include/vcl/notebookbar.hxx
parentb5c05876f73c31270bc374e4f481ef1d09a42e5f (diff)
GSoC notebookbar: file menu
+ added icon to the notebookbar, after click the file menu will appear Change-Id: I30e1ed7e2c4a194e150c7196652904fd4e5c9e8e Reviewed-on: https://gerrit.libreoffice.org/27347 Tested-by: Jenkins <ci@libreoffice.org> 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, 3 insertions, 1 deletions
diff --git a/include/vcl/notebookbar.hxx b/include/vcl/notebookbar.hxx
index 05c91a89a232..51f32aab6d45 100644
--- a/include/vcl/notebookbar.hxx
+++ b/include/vcl/notebookbar.hxx
@@ -17,7 +17,7 @@
#include <com/sun/star/ui/XContextChangeEventListener.hpp>
/// This implements Widget Layout-based notebook-like menu bar.
-class NotebookBar : public Control, public VclBuilderContainer
+class VCL_DLLPUBLIC NotebookBar : public Control, public VclBuilderContainer
{
friend class NotebookBarContextChangeEventListener;
public:
@@ -28,6 +28,8 @@ public:
virtual Size GetOptimalSize() const SAL_OVERRIDE;
virtual void setPosSizePixel(long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags = PosSizeFlags::All) SAL_OVERRIDE;
+ void SetIconClickHdl(Link<NotebookBar*, void> aHdl);
+
virtual void StateChanged(StateChangedType nType) override;
const css::uno::Reference<css::ui::XContextChangeEventListener>& getContextChangeEventListener() const { return m_pEventListener; }