#include "VAlarmTriggered.h" // Project #include "GuiController.h" VIEW_DEF(VAlarmTriggered, AlarmTriggeredData) void VAlarmTriggered::onActionReceive(const AlarmTriggeredData &vData) { alarm ( vData.mAlarm ); almDataType1 ( vData.mAlmdatatype1 ); almData1 ( vData.mAlmdata1 ); almDataType2 ( vData.mAlmdatatype2 ); almData2 ( vData.mAlmdata2 ); almPriority ( vData.mAlmpriority ); almRank ( vData.mAlmrank ); almClrTopOnly ( vData.mAlmclrtoponly ); // *** has to be the last to let the information to be set and then emit the signal *** // *** otherwise will use the previous values before being set. *** adjustment ( true ); }