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

cmdsetstereotype.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 CMDSETSTEREOTYPE_H
7#define CMDSETSTEREOTYPE_H
8
9#include "cmdbaseobjectcommand.h"
10
11 namespace Uml
12{
13 class CmdSetStereotype : public CmdBaseObjectCommand
14 {
15 public:
16 CmdSetStereotype(UMLObject * obj, const QString& stereo);
17 ~CmdSetStereotype();
18
19 void redo();
20 void undo();
21
22 private:
23 QString m_stereo;
24 QString m_oldStereo;
25 };
26}
27
28#endif
UMLObject
The base class for UML objects.
Definition umlobject.h:70
Uml::CmdBaseObjectCommand
Definition cmdbaseobjectcommand.h:19
Uml::CmdSetStereotype
Definition cmdsetstereotype.h:14
Uml::CmdSetStereotype::~CmdSetStereotype
~CmdSetStereotype()
Definition cmdsetstereotype.cpp:24
Uml::CmdSetStereotype::undo
void undo()
Definition cmdsetstereotype.cpp:35
Uml::CmdSetStereotype::CmdSetStereotype
CmdSetStereotype(UMLObject *obj, const QString &stereo)
Definition cmdsetstereotype.cpp:16
Uml::CmdSetStereotype::m_stereo
QString m_stereo
Definition cmdsetstereotype.h:23
Uml::CmdSetStereotype::redo
void redo()
Definition cmdsetstereotype.cpp:28
Uml::CmdSetStereotype::m_oldStereo
QString m_oldStereo
Definition cmdsetstereotype.h:24
cmdbaseobjectcommand.h
Uml
Definition basictypes.cpp:18