umbrello 26.07.70-c53146a 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

cmdbaseobjectcommand.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 CMDBASEOBJECTCOMMAND_H
7#define CMDBASEOBJECTCOMMAND_H
8
9#include "basictypes.h"
10
11#include <QPointer>
12#include <QUndoCommand>
13
14 class UMLObject;
15
16 namespace Uml
17{
18 class CmdBaseObjectCommand : public QUndoCommand
19 {
20 public:
21 explicit CmdBaseObjectCommand(UMLObject *object);
22 virtual ~CmdBaseObjectCommand();
23
24 protected:
25 Uml::ID::Type m_objectId;
26 QPointer<UMLObject> m_object;
27
28 void setObject(UMLObject* object);
29 UMLObject* object();
30 };
31}
32
33#endif // CMDBASEOBJECTCOMMAND_H
basictypes.h
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
Uml::CmdBaseObjectCommand
Definition: cmdbaseobjectcommand.h:19
Uml::CmdBaseObjectCommand::m_objectId
Uml::ID::Type m_objectId
Definition: cmdbaseobjectcommand.h:25
Uml::CmdBaseObjectCommand::object
UMLObject * object()
Definition: cmdbaseobjectcommand.cpp:35
Uml::CmdBaseObjectCommand::~CmdBaseObjectCommand
virtual ~CmdBaseObjectCommand()
Definition: cmdbaseobjectcommand.cpp:23
Uml::CmdBaseObjectCommand::setObject
void setObject(UMLObject *object)
Definition: cmdbaseobjectcommand.cpp:27
Uml::CmdBaseObjectCommand::m_object
QPointer< UMLObject > m_object
Definition: cmdbaseobjectcommand.h:26
Uml::ID::Type
std::string Type
Definition: basictypes.h:371
Uml
Definition: basictypes.cpp:17