umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
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);
19
20 void redo();
21 void undo();
22
23 private:
25 };
26}
27
28#endif
The base class for UML objects.
Definition: umlobject.h:70
Definition: cmdremoveumlobject.h:15
void redo()
Definition: cmdremoveumlobject.cpp:38
UMLObject * m_obj
Definition: cmdremoveumlobject.h:24
void undo()
Definition: cmdremoveumlobject.cpp:47
CmdRemoveUMLObject(UMLObject *o)
Definition: cmdremoveumlobject.cpp:21
~CmdRemoveUMLObject()
Definition: cmdremoveumlobject.cpp:31
Definition: basictypes.cpp:23