removed testdata class
This commit is contained in:
parent
c7bd71f805
commit
fc80dcb3b4
4 changed files with 0 additions and 37 deletions
|
@ -12,7 +12,6 @@ qt5_wrap_ui(UI_HEADERS
|
|||
|
||||
add_executable(${PROJECT_NAME}
|
||||
LogoTest.cpp
|
||||
testdata.cpp
|
||||
DataModel.cpp
|
||||
MetaDataModel.cpp
|
||||
mainwindow.cpp
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
#include "testdata.h"
|
||||
#include "DataModel.h"
|
||||
#include "MetaDataModel.h"
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#include "testdata.h"
|
||||
|
||||
void TestData::SubTest1::write(QJsonObject &json)
|
||||
{
|
||||
json["type"] = "SubTest1";
|
||||
}
|
||||
|
||||
void TestData::write(QJsonObject &json)
|
||||
{
|
||||
QJsonObject subTest1Data;
|
||||
m_subTest1Data.write(subTest1Data);
|
||||
json["SubTest1"] = subTest1Data;
|
||||
}
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include <QJsonObject>
|
||||
#include <QString>
|
||||
#include <QDate>
|
||||
|
||||
class TestData
|
||||
{
|
||||
private:
|
||||
class SubTest1
|
||||
{
|
||||
public:
|
||||
void write(QJsonObject &json);
|
||||
};
|
||||
|
||||
private:
|
||||
SubTest1 m_subTest1Data;
|
||||
|
||||
public:
|
||||
void write(QJsonObject &json);
|
||||
};
|
Loading…
Reference in a new issue