Index: sources/view/VCreateTreatment.cpp =================================================================== diff -u -r0622f1ec79b9a24a3f9d58cd2de329df997b37d6 -rcc1e9d6d55c816f3fcd626dc6948cca24da283b3 --- sources/view/VCreateTreatment.cpp (.../VCreateTreatment.cpp) (revision 0622f1ec79b9a24a3f9d58cd2de329df997b37d6) +++ sources/view/VCreateTreatment.cpp (.../VCreateTreatment.cpp) (revision cc1e9d6d55c816f3fcd626dc6948cca24da283b3) @@ -1,16 +1,29 @@ +/*! + * + * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * \copyright + * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN + * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. + * + * \file VCreateTreatment.cpp + * \author (last) Peter Lucia + * \date (last) 15-Oct-2020 + * \author (original) Peter Lucia + * \date (original) 03-Aug-2020 + * + */ #include "VCreateTreatment.h" // Qt // Project -#include "filehandler.h" +#include "FileHandler.h" #include "MsgDefs.h" using namespace Gui; using namespace View; using namespace Storage; - VCreateTreatment::VCreateTreatment(QObject *parent) : QObject(parent) { connect(&_FileSaver, SIGNAL(fileSaved(bool)), @@ -120,7 +133,6 @@ emit resetCreateTreatment(); } - /** * \brief VCreateTreatment::jsonArrayToStringList * Converts a jsonarray of strings to a QStringList @@ -177,7 +189,6 @@ return; } - #ifdef QT_DEBUG emit showConfirm(); #else @@ -334,7 +345,6 @@ void VCreateTreatment::onFinishedConfirm() { qDebug() << "Finished create treatment confirm..."; - QJsonObject obj { {"bloodFlowRate", QString::number(treatmentData.bloodFlowRate)}, {"dialysateFlowRate", QString::number(treatmentData.dialysateFlowRate)},