Index: sources/gui/guiglobals.cpp =================================================================== diff -u -r296e0e140bfeb193a9f571873afa6934143b1075 -r4a6abe765f03feae8100ec660aa04aa218d4dfa3 --- sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision 296e0e140bfeb193a9f571873afa6934143b1075) +++ sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision 4a6abe765f03feae8100ec660aa04aa218d4dfa3) @@ -21,6 +21,9 @@ #include "guiview.h" // Project - View #include "vtreatmentflows.h" +#include "vtreatmentultrafiltration.h" +#include "vtreatmenttime.h" +#include "valarmstatus.h" namespace Gui { QQuickView *_viewer = nullptr; @@ -38,9 +41,7 @@ qRegisterMetaType ("GuiAlarmID" ); qRegisterMetaType ("GuiAlarmPriority"); - qRegisterMetaType < BloodFlowData >( "BloodFlowData" ); - qRegisterMetaType ("DialysateFlowData" ); - + REGISTER_MODEL_METATYPES } /*! @@ -52,7 +53,10 @@ qmlRegisterType ("Gui.View" , 0, 1, "GuiView"); qmlRegisterUncreatableType ("Gui.Actions", 0, 1, "GuiActions", QStringLiteral("Used only for enumerations no need to have an object")); - qmlRegisterType ("Gui.VTreatmentFlows", 0, 1, "VTreatmentFlows"); + qmlRegisterType ("Gui.VTreatmentFlows" , 0, 1, "VTreatmentFlows" ); + qmlRegisterType ("Gui.VTreatmentUltrafiltration" , 0, 1, "VTreatmentUltrafiltration" ); + qmlRegisterType ("Gui.VTreatmentTime" , 0, 1, "VTreatmentTime" ); + qmlRegisterType ("Gui.VAlarmStatus" , 0, 1, "VAlarmStatus" ); } /*!