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