#include "VAlarmStatus.h" // Project #include "GuiController.h" VIEW_DEF(VAlarmStatus, AlarmStatusData) void VAlarmStatus::onActionReceive(const AlarmStatusData &vData) { qDebug() << "TopP" << vData.mAlarmtop; alarmState ( vData.mAlarmstate ); alarmTop ( vData.mAlarmtop ); silenceExpiresIn ( vData.mSilenceexpiresin ); alarmsFlags ( vData.mAlarmsflags ); // *** 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 ); }