summaryrefslogtreecommitdiff
path: root/cui/source/inc/cfg.hxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-11-11 15:23:58 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2015-11-11 15:43:35 +0200
commit899453aa8407fca8a93d51f12ad4e335d1beeb62 (patch)
tree0f595cf8a9e0b93bc83f3661c1b24cf68eab786a /cui/source/inc/cfg.hxx
parent6128c10f550924c2b75f18b6c6220cc1770adba4 (diff)
tdf#93837 Add context menu customization UI
Depends on env. variable for now. Nothing to customize yet anyway. Change-Id: I70edd33b51d931632fac454684d6c22906a727fe
Diffstat (limited to 'cui/source/inc/cfg.hxx')
-rw-r--r--cui/source/inc/cfg.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index f4bb1df273bd..b4cbaa0ff54f 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -59,6 +59,7 @@ class SvxConfigDialog : public SfxTabDialog
private:
css::uno::Reference< css::frame::XFrame > m_xFrame;
sal_uInt16 m_nMenusPageId;
+ sal_uInt16 m_nContextMenusPageId;
sal_uInt16 m_nKeyboardPageId;
sal_uInt16 m_nToolbarsPageId;
sal_uInt16 m_nEventsPageId;
@@ -439,7 +440,7 @@ public:
class SvxMenuConfigPage : public SvxConfigPage
{
private:
-
+ bool m_bIsMenuBar;
DECL_LINK_TYPED( SelectMenu, ListBox&, void );
DECL_LINK_TYPED( SelectMenuEntry, SvTreeListBox *, void );
DECL_LINK_TYPED( NewMenuHdl, Button *, void );
@@ -455,7 +456,7 @@ private:
void DeleteSelectedTopLevel() override;
public:
- SvxMenuConfigPage( vcl::Window *pParent, const SfxItemSet& rItemSet );
+ SvxMenuConfigPage( vcl::Window *pParent, const SfxItemSet& rItemSet, bool bIsMenuBar = true );
virtual ~SvxMenuConfigPage();
virtual void dispose() override;