2018-06-26 14:59:51 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CheckableTestModel.h"
|
2018-11-18 20:29:43 +00:00
|
|
|
#include "LateSkillsPassivModel.pb.h"
|
2018-06-26 14:59:51 +00:00
|
|
|
|
|
|
|
class PassivModel : public CheckableTestModel
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-06-29 17:31:28 +00:00
|
|
|
PassivModel(QObject *parent);
|
|
|
|
bool setData(const QModelIndex &index, const QVariant &value,
|
|
|
|
int role = Qt::EditRole) override;
|
2018-11-18 20:29:43 +00:00
|
|
|
|
|
|
|
void read(const ESGRAF48::LateSkillsPassivModel &model);
|
|
|
|
void write(ESGRAF48::LateSkillsPassivModel &model) const;
|
2018-12-08 20:02:35 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
std::string getName() const override;
|
2018-06-26 14:59:51 +00:00
|
|
|
};
|