umbrello
2.32.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
umbrello
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
ToolBarStatePool::m_ToolBarButton
WorkToolBar::ToolBar_Buttons m_ToolBarButton
The current button of the tool.
Definition:
toolbarstatepool.h:38
ToolBarStatePool::~ToolBarStatePool
virtual ~ToolBarStatePool()
Definition:
toolbarstatepool.cpp:17
ToolBarStatePool::getButton
WorkToolBar::ToolBar_Buttons getButton() const
Definition:
toolbarstatepool.cpp:42
ToolBarStatePool::ToolBarStatePool
ToolBarStatePool(UMLScene *umlScene)
Definition:
toolbarstatepool.cpp:54
ToolBarStatePool::setButton
void setButton(const WorkToolBar::ToolBar_Buttons &button)
Definition:
toolbarstatepool.cpp:28
ToolBarState
Definition:
toolbarstate.h:70
UMLScene
Definition:
umlscene.h:70
WorkToolBar::ToolBar_Buttons
ToolBar_Buttons
Definition:
worktoolbar.h:57
toolbarstate.h
worktoolbar.h
Generated by
1.9.1