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

Command class for changing an operation's contribution to its parent workspace's progress.

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

Inheritance diagram for ChangeProgressContributionCmd:
[legend]

Public Member Functions

 ChangeProgressContributionCmd (Operation &op, int newContribution)
 
void redo () override
 
void undo () override
 

Constructor & Destructor Documentation

◆ ChangeProgressContributionCmd()

ChangeProgressContributionCmd ( Operation op,
int  newContribution 
)

Member Function Documentation

◆ redo()

void redo ( )
override

◆ undo()

void undo ( )
override