umbrello  2.32.0
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  * 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) 2002-2014 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef CMDREMOVEUMLOBJECT_H
12 #define CMDREMOVEUMLOBJECT_H
13 
14 #include "umlobject.h"
15 #include <QUndoCommand>
16 
17 namespace Uml
18 {
19  class CmdRemoveUMLObject : public QUndoCommand
20  {
21  public:
22  explicit CmdRemoveUMLObject(UMLObject* o);
24 
25  void redo();
26  void undo();
27 
28  private:
30  };
31 }
32 
33 #endif
CmdRemoveUMLObject(UMLObject *o)
Definition: cmdremoveumlobject.cpp:26
UMLObject * m_obj
Definition: cmdremoveumlobject.h:29
The base class for UML objects.
Definition: umlobject.h:73
Definition: basictypes.cpp:36
void redo()
Definition: cmdremoveumlobject.cpp:43
Definition: cmdremoveumlobject.h:19
void undo()
Definition: cmdremoveumlobject.cpp:52
~CmdRemoveUMLObject()
Definition: cmdremoveumlobject.cpp:36