umbrello 26.03.70-1a62d36 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
20 public:
21
22 virtual ~ToolBarStatePool();
23
24 void setButton(const WorkToolBar::ToolBar_Buttons &button);
25 WorkToolBar::ToolBar_Buttons getButton() const;
26
27 protected:
28
29 ToolBarStatePool(UMLScene *umlScene);
30
31 private:
32
33 WorkToolBar::ToolBar_Buttons m_ToolBarButton;
34
35};
36
37#endif //TOOLBARSTATEPOOL_H
ToolBarState
Definition: toolbarstate.h:65
ToolBarStatePool
Definition: toolbarstatepool.h:18
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::setButton
void setButton(const WorkToolBar::ToolBar_Buttons &button)
Definition: toolbarstatepool.cpp:23
UMLScene
Definition: umlscene.h:66
WorkToolBar::ToolBar_Buttons
ToolBar_Buttons
Definition: worktoolbar.h:52
toolbarstate.h
worktoolbar.h