2018-06-04 16:48:58 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CheckableTestModel.h"
|
2018-11-18 16:40:07 +00:00
|
|
|
#include "PluralModel.pb.h"
|
2018-06-04 16:48:58 +00:00
|
|
|
|
|
|
|
class PluralModel : public CheckableTestModel
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
PluralModel(QObject *parent);
|
2018-08-26 12:24:05 +00:00
|
|
|
|
|
|
|
QVariant data(
|
|
|
|
const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
2018-11-18 16:40:07 +00:00
|
|
|
|
|
|
|
void read(const ESGRAF48::PluralModel &model);
|
|
|
|
void write(ESGRAF48::PluralModel &model) const;
|
2018-12-08 20:02:35 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
std::string getName() const override;
|
2018-06-04 16:48:58 +00:00
|
|
|
};
|