20#ifndef LIBREPCB_CORE_PROJECTJSONOUTPUTJOB_H
21#define LIBREPCB_CORE_PROJECTJSONOUTPUTJOB_H
54 virtual QString
getTypeTr()
const noexcept override;
55 virtual QIcon
getTypeIcon()
const noexcept override;
62 static QString
getTypeName() noexcept {
return "project_json"; }
64 return tr(
"Project Data") %
" (*.json)";
66 virtual std::shared_ptr<OutputJob>
cloneShared() const noexcept override;
Base class for all output job types.
Definition: outputjob.h:50
JSON project data output job.
Definition: projectjsonoutputjob.h:43
virtual ~ProjectJsonOutputJob() noexcept
Definition: projectjsonoutputjob.cpp:53
ProjectJsonOutputJob() noexcept
Definition: projectjsonoutputjob.cpp:37
virtual QString getTypeTr() const noexcept override
Definition: projectjsonoutputjob.cpp:60
void setOutputPath(const QString &path) noexcept
Definition: projectjsonoutputjob.cpp:72
virtual bool equals(const OutputJob &rhs) const noexcept override
Definition: projectjsonoutputjob.cpp:96
static QString getTypeName() noexcept
Definition: projectjsonoutputjob.h:62
static QString getTypeTrStatic() noexcept
Definition: projectjsonoutputjob.h:63
QString mOutputPath
Definition: projectjsonoutputjob.h:76
virtual QIcon getTypeIcon() const noexcept override
Definition: projectjsonoutputjob.cpp:64
virtual void serializeDerived(SExpression &root) const override
Definition: projectjsonoutputjob.cpp:91
const QString & getOutputPath() const noexcept
Definition: projectjsonoutputjob.h:56
virtual std::shared_ptr< OutputJob > cloneShared() const noexcept override
Definition: projectjsonoutputjob.cpp:83
The SExpression class.
Definition: sexpression.h:69
Definition: occmodel.cpp:77