umbrello: umbrello/toolbarstatepool.h Source File

umbrello 2.31.1 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 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2004-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef TOOLBARSTATEPOOL_H
12 #define TOOLBARSTATEPOOL_H
13
14 #include "toolbarstate.h"
15 #include "worktoolbar.h"
16
22 class ToolBarStatePool : public ToolBarState
23 {
24 Q_OBJECT
25 public:
26
27 virtual ~ToolBarStatePool();
28
29 void setButton(const WorkToolBar::ToolBar_Buttons &button);
30 WorkToolBar::ToolBar_Buttons getButton() const;
31
32 protected:
33
34 ToolBarStatePool(UMLScene *umlScene);
35
36 private:
37
38 WorkToolBar::ToolBar_Buttons m_ToolBarButton;
39
40 };
41
42 #endif //TOOLBARSTATEPOOL_H
ToolBarStatePool
Definition: toolbarstatepool.h:23
WorkToolBar::tbb_Arrow
@ tbb_Arrow
Definition: worktoolbar.h:59
worktoolbar.h
WorkToolBar::ToolBar_Buttons
ToolBar_Buttons
Definition: worktoolbar.h:57
ToolBarStatePool::m_ToolBarButton
WorkToolBar::ToolBar_Buttons m_ToolBarButton
The current button of the tool.
Definition: toolbarstatepool.h:46
toolbarstate.h
ToolBarStatePool::ToolBarStatePool
ToolBarStatePool(UMLScene *umlScene)
Definition: toolbarstatepool.cpp:54
ToolBarState::init
virtual void init()
Definition: toolbarstate.cpp:41
ToolBarStatePool::getButton
WorkToolBar::ToolBar_Buttons getButton() const
Definition: toolbarstatepool.cpp:42
toolbarstatepool.h
UMLScene
Definition: umlscene.h:69
ToolBarStatePool::setButton
void setButton(const WorkToolBar::ToolBar_Buttons &button)
Definition: toolbarstatepool.cpp:28
ToolBarStatePool::~ToolBarStatePool
virtual ~ToolBarStatePool()
Definition: toolbarstatepool.cpp:17
ToolBarState
Definition: toolbarstate.h:70