32 lines
368 B
C
32 lines
368 B
C
|
#pragma once
|
||
|
|
||
|
#include <QJsonObject>
|
||
|
#include <QString>
|
||
|
|
||
|
class TestData
|
||
|
{
|
||
|
private:
|
||
|
class Meta
|
||
|
{
|
||
|
private:
|
||
|
QString m_participant;
|
||
|
QString m_instructor;
|
||
|
|
||
|
public:
|
||
|
void write(QJsonObject &json);
|
||
|
};
|
||
|
|
||
|
class SubTest1
|
||
|
{
|
||
|
public:
|
||
|
void write(QJsonObject &json);
|
||
|
};
|
||
|
|
||
|
private:
|
||
|
Meta m_metaData;
|
||
|
SubTest1 m_subTest1Data;
|
||
|
|
||
|
public:
|
||
|
void write(QJsonObject &json);
|
||
|
};
|