TabBar.hxx (be6d8c25) TabBar.hxx (a2f41a4a)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 20 unchanged lines hidden (view full) ---

29#include <vcl/window.hxx>
30
31#include <com/sun/star/frame/XFrame.hpp>
32#include <boost/function.hpp>
33#include <boost/tuple/tuple.hpp>
34#include <boost/scoped_ptr.hpp>
35
36class Button;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 20 unchanged lines hidden (view full) ---

29#include <vcl/window.hxx>
30
31#include <com/sun/star/frame/XFrame.hpp>
32#include <boost/function.hpp>
33#include <boost/tuple/tuple.hpp>
34#include <boost/scoped_ptr.hpp>
35
36class Button;
37class CheckBox;
37class RadioButton;
38
39namespace css = ::com::sun::star;
40namespace cssu = ::com::sun::star::uno;
41
42
43namespace sfx2 { namespace sidebar {
44

--- 48 unchanged lines hidden (view full) ---

93 const ::rtl::OUString GetDeckIdForIndex (const sal_Int32 nIndex) const;
94 void ToggleHideFlag (const sal_Int32 nIndex);
95 void RestoreHideFlags (void);
96
97 void UpdateFocusManager (FocusManager& rFocusManager);
98
99private:
100 cssu::Reference<css::frame::XFrame> mxFrame;
38class RadioButton;
39
40namespace css = ::com::sun::star;
41namespace cssu = ::com::sun::star::uno;
42
43
44namespace sfx2 { namespace sidebar {
45

--- 48 unchanged lines hidden (view full) ---

94 const ::rtl::OUString GetDeckIdForIndex (const sal_Int32 nIndex) const;
95 void ToggleHideFlag (const sal_Int32 nIndex);
96 void RestoreHideFlags (void);
97
98 void UpdateFocusManager (FocusManager& rFocusManager);
99
100private:
101 cssu::Reference<css::frame::XFrame> mxFrame;
101 ::boost::scoped_ptr<Button> mpMenuButton;
102 ::boost::scoped_ptr<CheckBox> mpMenuButton;
102 class Item
103 {
104 public:
105 DECL_LINK(HandleClick, Button*);
106 ::boost::shared_ptr<RadioButton> mpButton;
107 ::rtl::OUString msDeckId;
108 ::boost::function<void(const ::rtl::OUString&rsDeckId)> maDeckActivationFunctor;
109 bool mbIsHidden;

--- 24 unchanged lines hidden ---
103 class Item
104 {
105 public:
106 DECL_LINK(HandleClick, Button*);
107 ::boost::shared_ptr<RadioButton> mpButton;
108 ::rtl::OUString msDeckId;
109 ::boost::function<void(const ::rtl::OUString&rsDeckId)> maDeckActivationFunctor;
110 bool mbIsHidden;

--- 24 unchanged lines hidden ---