umbrello: umbrello/cmds/generic/cmdremoveumlobject.h Source File

umbrello 2.38.3 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

cmdremoveumlobject.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 CMDREMOVEUMLOBJECT_H
7#define CMDREMOVEUMLOBJECT_H
8
9#include "umlobject.h"
10#include <QUndoCommand>
11
12namespace Uml
13{
14 class CmdRemoveUMLObject : public QUndoCommand
15 {
16 public:
17 explicit CmdRemoveUMLObject(UMLObject* o);
18 ~CmdRemoveUMLObject();
19
20 void redo();
21 void undo();
22
23 private:
24 UMLObject *m_obj;
25 };
26}
27
28#endif
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
Uml::CmdRemoveUMLObject
Definition: cmdremoveumlobject.h:15
Uml::CmdRemoveUMLObject::redo
void redo()
Definition: cmdremoveumlobject.cpp:38
Uml::CmdRemoveUMLObject::m_obj
UMLObject * m_obj
Definition: cmdremoveumlobject.h:24
Uml::CmdRemoveUMLObject::undo
void undo()
Definition: cmdremoveumlobject.cpp:47
Uml::CmdRemoveUMLObject::~CmdRemoveUMLObject
~CmdRemoveUMLObject()
Definition: cmdremoveumlobject.cpp:31
Uml
Definition: basictypes.cpp:18
umlobject.h