The CmdPackageModelEdit class.
More...
#include <cmdpackagemodeledit.h>
|
virtual bool | performExecute () override |
| Execute the command the first time.
|
|
virtual void | performUndo () override |
| Undo the command.
|
|
virtual void | performRedo () override |
| Redo the command.
|
|
◆ CmdPackageModelEdit() [1/3]
◆ CmdPackageModelEdit() [2/3]
◆ CmdPackageModelEdit() [3/3]
◆ ~CmdPackageModelEdit()
◆ setName()
◆ setStepContent()
void setStepContent |
( |
const QByteArray & |
content | ) |
|
|
noexcept |
◆ operator=()
◆ performExecute()
Execute the command the first time.
- Note
- This method must be implemented in all derived classes. If the first time execution is exactly identical to an "redo" action, you can simple call librepcb::editor::UndoCommand::performRedo() in the implementation of this method.
- Return values
-
true | If the command has done some changes |
false | If the command has done nothing (the command can be deleted) |
Implements UndoCommand.
◆ performUndo()
Undo the command.
- Note
- This method must be implemented in all derived classes.
Implements UndoCommand.
◆ performRedo()
Redo the command.
- Note
- This method must be implemented in all derived classes.
Implements UndoCommand.
◆ mPackage
◆ mModel
◆ mOldName
◆ mNewName
◆ mOldStepContent
QByteArray mOldStepContent |
|
private |
◆ mNewStepContent
QByteArray mNewStepContent |
|
private |
The documentation for this class was generated from the following files: