Workspace 6.21.5
Public Member Functions | List of all members
RenumberOperationCmd Class Reference

Command class for changing the ID of an operation. More...

#include <Workspace/DataExecution/UndoCommands/renumberoperationcmd.h>

Inheritance diagram for RenumberOperationCmd:
[legend]

Public Member Functions

 RenumberOperationCmd (Operation &op, const QUuid &newId)
 
void redo () override
 
void undo () override
 

Detailed Description

This command is not really intended for standalone use. Rather, it will usually be used as part of a command macro.

Constructor & Destructor Documentation

◆ RenumberOperationCmd()

RenumberOperationCmd ( Operation op,
const QUuid &  newId 
)
Parameters
opThe operation whose ID should be changed.
newIdThe new ID for the operation.

Member Function Documentation

◆ redo()

void redo ( )
override

◆ undo()

void undo ( )
override