20 lines
277 B
C++
20 lines
277 B
C++
#pragma once
|
|
|
|
#include "MetaData/MetaDataModel.h"
|
|
|
|
#include <QJsonObject>
|
|
|
|
class DataModel : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MetaDataModel m_metaData;
|
|
|
|
public:
|
|
DataModel(QObject *parent);
|
|
|
|
void write(QJsonObject &target) const;
|
|
void read(const QJsonObject &source);
|
|
};
|