removed testdata class

This commit is contained in:
Michael Mandl 2018-05-16 07:39:08 +02:00
parent c7bd71f805
commit fc80dcb3b4
4 changed files with 0 additions and 37 deletions

View file

@ -12,7 +12,6 @@ qt5_wrap_ui(UI_HEADERS
add_executable(${PROJECT_NAME} add_executable(${PROJECT_NAME}
LogoTest.cpp LogoTest.cpp
testdata.cpp
DataModel.cpp DataModel.cpp
MetaDataModel.cpp MetaDataModel.cpp
mainwindow.cpp mainwindow.cpp

View file

@ -1,7 +1,6 @@
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "testdata.h"
#include "DataModel.h" #include "DataModel.h"
#include "MetaDataModel.h" #include "MetaDataModel.h"

View file

@ -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;
}

View file

@ -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);
};