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/testdata.h

36 lines
451 B
C++

#pragma once
#include <QJsonObject>
#include <QString>
#include <QDate>
class TestData
{
private:
class Meta
{
private:
QString m_participant;
QString m_instructor;
QDate m_dateOfBirth;
QDate m_dateOfTest;
QString m_remarks;
public:
void write(QJsonObject &json);
};
class SubTest1
{
public:
void write(QJsonObject &json);
};
private:
Meta m_metaData;
SubTest1 m_subTest1Data;
public:
void write(QJsonObject &json);
};