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

cmdcreateumlobject.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 CMDCREATEUMLOBJECT_H
7#define CMDCREATEUMLOBJECT_H
8
9#include "umlobject.h"
10#include <QDomElement>
11#include <QUndoCommand>
12
13 class UMLPackage;
14
15 namespace Uml
16{
17 class CmdCreateUMLObject : public QUndoCommand
18 {
19 public:
20 explicit CmdCreateUMLObject(UMLObject* o);
21 ~CmdCreateUMLObject();
22
23 void redo();
24 void undo();
25
26 private:
27 UMLObject *m_obj;
28 UMLPackage *m_package;
29 UMLObject::ObjectType m_type;
30 QString m_name;
31 bool m_skipSignal;
32 };
33}
34
35#endif
UMLObject
The base class for UML objects.
Definition umlobject.h:70
UMLObject::ObjectType
ObjectType
Definition umlobject.h:76
UMLPackage
Non-graphical information for a Package.
Definition package.h:28
Uml::CmdCreateUMLObject
Definition cmdcreateumlobject.h:18
Uml::CmdCreateUMLObject::~CmdCreateUMLObject
~CmdCreateUMLObject()
Definition cmdcreateumlobject.cpp:38
Uml::CmdCreateUMLObject::m_name
QString m_name
Definition cmdcreateumlobject.h:30
Uml::CmdCreateUMLObject::m_obj
UMLObject * m_obj
Definition cmdcreateumlobject.h:27
Uml::CmdCreateUMLObject::CmdCreateUMLObject
CmdCreateUMLObject(UMLObject *o)
Definition cmdcreateumlobject.cpp:23
Uml::CmdCreateUMLObject::m_package
UMLPackage * m_package
Definition cmdcreateumlobject.h:28
Uml::CmdCreateUMLObject::m_type
UMLObject::ObjectType m_type
Definition cmdcreateumlobject.h:29
Uml::CmdCreateUMLObject::m_skipSignal
bool m_skipSignal
Definition cmdcreateumlobject.h:31
Uml::CmdCreateUMLObject::redo
void redo()
Definition cmdcreateumlobject.cpp:45
Uml::CmdCreateUMLObject::undo
void undo()
Definition cmdcreateumlobject.cpp:71
Uml
Definition basictypes.cpp:18
umlobject.h