umbrello 25.04.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Uml::CmdSetName Class Reference

#include <cmdsetname.h>

Inheritance diagram for Uml::CmdSetName:
Collaboration diagram for Uml::CmdSetName:

Public Member Functions

 CmdSetName (UMLObject *obj, const QString &name)
 ~CmdSetName ()
void redo ()
void undo ()
Public Member Functions inherited from Uml::CmdBaseObjectCommand
 CmdBaseObjectCommand (UMLObject *object)
virtual ~CmdBaseObjectCommand ()

Private Attributes

QString m_oldname
QString m_name

Additional Inherited Members

Protected Member Functions inherited from Uml::CmdBaseObjectCommand
void setObject (UMLObject *object)
UMLObjectobject ()
Protected Attributes inherited from Uml::CmdBaseObjectCommand
Uml::ID::Type m_objectId
QPointer< UMLObjectm_object

Constructor & Destructor Documentation

◆ CmdSetName()

Uml::CmdSetName::CmdSetName ( UMLObject * obj,
const QString & name )
Here is the call graph for this function:

◆ ~CmdSetName()

Uml::CmdSetName::~CmdSetName ( )

Member Function Documentation

◆ redo()

void Uml::CmdSetName::redo ( )
Here is the call graph for this function:

◆ undo()

void Uml::CmdSetName::undo ( )
Here is the call graph for this function:

Member Data Documentation

◆ m_name

QString Uml::CmdSetName::m_name
private

◆ m_oldname

QString Uml::CmdSetName::m_oldname
private

The documentation for this class was generated from the following files: