This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
ESGRAF48/source/DataModel.h

22 lines
328 B
C
Raw Normal View History

2018-05-16 05:02:12 +00:00
#pragma once
2018-05-18 18:36:48 +00:00
#include "MetaData/MetaDataModel.h"
2018-05-22 18:23:03 +00:00
#include "Genus/GenusModel.h"
2018-05-16 05:02:12 +00:00
#include <QJsonObject>
class DataModel : public QObject
{
Q_OBJECT
public:
MetaDataModel m_metaData;
2018-05-22 18:23:03 +00:00
GenusModel m_genus;
2018-05-16 05:02:12 +00:00
public:
DataModel(QObject *parent);
void write(QJsonObject &target) const;
void read(const QJsonObject &source);
};