20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICIMAGEREMOVE_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICIMAGEREMOVE_H
26#include "../../undocommand.h"
37class TransactionalDirectory;
The SI_Image class represents an image in a schematic.
Definition si_image.h:45
Helper class to access a subdirectory of TransactionalFileSystem.
Definition transactionaldirectory.h:51
The CmdSchematicImageRemove class.
Definition cmdschematicimageremove.h:48
void performRedo() override
Redo the command.
Definition cmdschematicimageremove.cpp:88
CmdSchematicImageRemove()=delete
void performUndo() override
Undo the command.
Definition cmdschematicimageremove.cpp:76
TransactionalDirectory & mDirectory
Definition cmdschematicimageremove.h:73
QByteArray mFileContent
Definition cmdschematicimageremove.h:74
CmdSchematicImageRemove(const CmdSchematicImageRemove &other)=delete
SI_Image & mImage
Definition cmdschematicimageremove.h:72
~CmdSchematicImageRemove() noexcept
Definition cmdschematicimageremove.cpp:50
bool performExecute() override
Execute the command the first time.
Definition cmdschematicimageremove.cpp:57
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:77