LibreOffice Module sfx2 (master)
1
sfx2
source
sidebar
uiobject.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
10
#include <
vcl/uitest/uiobject.hxx
>
11
#include <
sfx2/sidebar/TabBar.hxx
>
12
13
namespace
sfx2::sidebar
14
{
15
class
TabBarUIObject
:
public
WindowUIObject
16
{
17
VclPtr<sfx2::sidebar::TabBar>
mxTabBar
;
18
19
virtual
OUString
get_name
()
const override
;
20
21
public
:
22
TabBarUIObject
(
const
VclPtr<TabBar>
& xTabBar);
23
24
virtual
void
execute
(
const
OUString& rAction,
const
StringMap
& rParameters)
override
;
25
virtual
StringMap
get_state
()
override
;
26
27
static
std::unique_ptr<UIObject>
create
(
vcl::Window
* pWindow);
28
};
29
30
}
// namespace sidebar
31
32
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
TabBar.hxx
VclPtr< sfx2::sidebar::TabBar >
WindowUIObject
sfx2::sidebar::TabBarUIObject
Definition:
uiobject.hxx:16
sfx2::sidebar::TabBarUIObject::TabBarUIObject
TabBarUIObject(const VclPtr< TabBar > &xTabBar)
Definition:
uiobject.cxx:15
sfx2::sidebar::TabBarUIObject::get_name
virtual OUString get_name() const override
Definition:
uiobject.cxx:57
sfx2::sidebar::TabBarUIObject::create
static std::unique_ptr< UIObject > create(vcl::Window *pWindow)
Definition:
uiobject.cxx:50
sfx2::sidebar::TabBarUIObject::execute
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
Definition:
uiobject.cxx:38
sfx2::sidebar::TabBarUIObject::mxTabBar
VclPtr< sfx2::sidebar::TabBar > mxTabBar
Definition:
uiobject.hxx:17
sfx2::sidebar::TabBarUIObject::get_state
virtual StringMap get_state() override
Definition:
uiobject.cxx:21
sfx2::sidebar
Definition:
appdata.hxx:56
vcl::Window
uiobject.hxx
StringMap
std::map< OUString, OUString > StringMap
Generated on Sun Jul 30 2023 04:34:02 for LibreOffice Module sfx2 (master) by
1.9.3