Renamed read/writeProtoBuf to read/write
This commit is contained in:
parent
6f35ffda7f
commit
ef5686e83e
11 changed files with 30 additions and 30 deletions
|
@ -9,7 +9,7 @@ GenusModel::GenusModel(QObject *parent)
|
|||
{"Zirkus", {"Kiste", "Holz", "Vorhang", "Baum"}}};
|
||||
}
|
||||
|
||||
void GenusModel::readProtoBuf(const ESGRAF48::GenusModel &model)
|
||||
void GenusModel::read(const ESGRAF48::GenusModel &model)
|
||||
{
|
||||
const auto &tiereModel = model.tiere();
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ void GenusModel::readProtoBuf(const ESGRAF48::GenusModel &model)
|
|||
emit dataChanged(index(0, 0), index(rowCount() - 1, columnCount() - 1));
|
||||
}
|
||||
|
||||
void GenusModel::writeProtoBuf(ESGRAF48::GenusModel &model) const
|
||||
void GenusModel::write(ESGRAF48::GenusModel &model) const
|
||||
{
|
||||
auto *tiereModel = model.mutable_tiere();
|
||||
if (tiereModel != nullptr)
|
||||
|
|
|
@ -10,6 +10,6 @@ class GenusModel : public CheckableTestModel
|
|||
public:
|
||||
GenusModel(QObject *parent);
|
||||
|
||||
void readProtoBuf(const ESGRAF48::GenusModel &model);
|
||||
void writeProtoBuf(ESGRAF48::GenusModel &model) const;
|
||||
void read(const ESGRAF48::GenusModel &model);
|
||||
void write(ESGRAF48::GenusModel &model) const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue