Index: sources/gui/guiglobals.cpp =================================================================== diff -u -reece7acacf84e8cc34b830f6b5ab3f112823a905 -r6ae83fa9a1a3204864fc5b50fe906ac09e9c1ea5 --- sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision eece7acacf84e8cc34b830f6b5ab3f112823a905) +++ sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision 6ae83fa9a1a3204864fc5b50fe906ac09e9c1ea5) @@ -21,7 +21,7 @@ #include "guiview.h" // Project -#include "mmodel.h" +#include "MModel.h" #include "vview.h" #include "valarmstatus.h" @@ -35,8 +35,15 @@ #include "vtreatmenttime.h" #include "vtreatmentranges.h" -#include "vloadcellreadings.h" -#include "vtemperaturesensors.h" +#include "VDGDrainPumpData.h" +#include "VDGHeatersData.h" +#include "VDGLoadCellReadingsData.h" +#include "VDGOperationModeData.h" +#include "VDGPressuresData.h" +#include "VDGROPumpData.h" +#include "VDGReservoirData.h" +#include "VDGTemperaturesData.h" +#include "VDGValvesStatesData.h" #include "vtreatmentadjustmentduration.h" #include "vtreatmentadjustmentflows.h" @@ -60,6 +67,9 @@ qRegisterMetaType ("GuiRequestReasons"); + // Note that this Models are not uded in the qml + // but Qt needs them to be registered to be able to use them in between threads queue + // by their metadata information. REGISTER_MODEL_METATYPES }