umbrello: umbrello/toolbarstatepool.h Source File

umbrello 25.08.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

toolbarstatepool.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2004-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef TOOLBARSTATEPOOL_H
7#define TOOLBARSTATEPOOL_H
8
9#include "toolbarstate.h"
10#include "worktoolbar.h"
11
17 class ToolBarStatePool : public ToolBarState
18{
19 Q_OBJECT
20public:
21
22 virtual ~ToolBarStatePool();
23
24 void setButton(const WorkToolBar::ToolBar_Buttons &button);
25 WorkToolBar::ToolBar_Buttons getButton() const;
26
27protected:
28
29 ToolBarStatePool(UMLScene *umlScene);
30
31private:
32
33 WorkToolBar::ToolBar_Buttons m_ToolBarButton;
34
35};
36
37#endif //TOOLBARSTATEPOOL_H
ToolBarStatePool::m_ToolBarButton
WorkToolBar::ToolBar_Buttons m_ToolBarButton
The current button of the tool.
Definition toolbarstatepool.h:33
ToolBarStatePool::~ToolBarStatePool
virtual ~ToolBarStatePool()
Definition toolbarstatepool.cpp:12
ToolBarStatePool::getButton
WorkToolBar::ToolBar_Buttons getButton() const
Definition toolbarstatepool.cpp:37
ToolBarStatePool::ToolBarStatePool
ToolBarStatePool(UMLScene *umlScene)
Definition toolbarstatepool.cpp:49
ToolBarStatePool::setButton
void setButton(const WorkToolBar::ToolBar_Buttons &button)
Definition toolbarstatepool.cpp:23
ToolBarState::ToolBarState
ToolBarState(UMLScene *umlScene)
Definition toolbarstate.cpp:260
UMLScene
Definition umlscene.h:65
WorkToolBar::ToolBar_Buttons
ToolBar_Buttons
Definition worktoolbar.h:52
toolbarstate.h
worktoolbar.h