umbrello: umbrello/cmds/cmdsetvisibility.h Source File

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

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

- File List
- File Members

cmdsetvisibility.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CMDSETVISIBILITY_H
7#define CMDSETVISIBILITY_H
8
9#include "cmdbaseobjectcommand.h"
10
11namespace Uml
12{
13 class CmdSetVisibility : public CmdBaseObjectCommand
14 {
15 public:
16 CmdSetVisibility(UMLObject* obj, Uml::Visibility::Enum visibility);
17 ~CmdSetVisibility();
18
19 void redo();
20 void undo();
21
22 private:
23 Uml::Visibility::Enum m_oldVisibility;
24 Uml::Visibility::Enum m_visibility;
25 };
26}
27
28#endif
UMLObject
The base class for UML objects.
Definition umlobject.h:70
Uml::CmdBaseObjectCommand
Definition cmdbaseobjectcommand.h:19
Uml::CmdSetVisibility
Definition cmdsetvisibility.h:14
Uml::CmdSetVisibility::m_oldVisibility
Uml::Visibility::Enum m_oldVisibility
Definition cmdsetvisibility.h:23
Uml::CmdSetVisibility::redo
void redo()
Definition cmdsetvisibility.cpp:30
Uml::CmdSetVisibility::undo
void undo()
Definition cmdsetvisibility.cpp:37
Uml::CmdSetVisibility::m_visibility
Uml::Visibility::Enum m_visibility
Definition cmdsetvisibility.h:24
Uml::CmdSetVisibility::~CmdSetVisibility
~CmdSetVisibility()
Definition cmdsetvisibility.cpp:26
cmdbaseobjectcommand.h
Uml::Visibility::Enum
Enum
Definition basictypes.h:45
Uml
Definition basictypes.cpp:18
visibility
Definition visibility.py:1