20#ifndef LIBREPCB_EDITOR_CMDPROJECTEDIT_H
21#define LIBREPCB_EDITOR_CMDPROJECTEDIT_H
26#include "../../undocommand.h"
59 void setAuthor(
const QString& newAuthor)
noexcept;
The Project class represents a whole (opened) project with all its content.
Definition project.h:71
The CmdProjectEdit class.
Definition cmdprojectedit.h:51
FileProofName mNewVersion
Definition cmdprojectedit.h:90
void performRedo() override
Redo the command.
Definition cmdprojectedit.cpp:127
AttributeList mNewAttributes
Definition cmdprojectedit.h:92
AttributeList mOldAttributes
Definition cmdprojectedit.h:91
QStringList mNewLocaleOrder
Definition cmdprojectedit.h:94
QStringList mOldLocaleOrder
Definition cmdprojectedit.h:93
void performUndo() override
Undo the command.
Definition cmdprojectedit.cpp:117
~CmdProjectEdit() noexcept
Definition cmdprojectedit.cpp:58
QStringList mOldNormOrder
Definition cmdprojectedit.h:95
OutputJobList mOldOutputJobs
Definition cmdprojectedit.h:97
ElementName mNewName
Definition cmdprojectedit.h:86
OutputJobList mNewOutputJobs
Definition cmdprojectedit.h:98
void setOutputBaseDir(const QString &dir) noexcept
Project & mProject
Definition cmdprojectedit.h:82
void setNormOrder(const QStringList &order) noexcept
Definition cmdprojectedit.cpp:90
void setOutputJobs(const OutputJobList &jobs) noexcept
Definition cmdprojectedit.cpp:95
QStringList mNewNormOrder
Definition cmdprojectedit.h:96
ElementName mOldName
Definition cmdprojectedit.h:85
QString mOldAuthor
Definition cmdprojectedit.h:87
void setVersion(const FileProofName &newVersion) noexcept
Definition cmdprojectedit.cpp:75
void setName(const ElementName &newName) noexcept
Definition cmdprojectedit.cpp:65
void setAttributes(const AttributeList &attributes) noexcept
Definition cmdprojectedit.cpp:80
FileProofName mOldVersion
Definition cmdprojectedit.h:89
bool performExecute() override
Execute the command the first time.
Definition cmdprojectedit.cpp:104
void setLocaleOrder(const QStringList &order) noexcept
Definition cmdprojectedit.cpp:85
void setAuthor(const QString &newAuthor) noexcept
Definition cmdprojectedit.cpp:70
QString mNewAuthor
Definition cmdprojectedit.h:88
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76
type_safe::constrained_type< QString, FileProofNameConstraint, FileProofNameVerifier > FileProofName
Definition fileproofname.h:88
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition elementname.h:84