#include "VTDOPMode.h" // Project #include "GuiController.h" VIEW_DEF(VTDOPMode, TDOPModeData) void VTDOPMode::onActionReceive(const TDOPModeData &vData) { opMode ( vData.mOpmode ); subMode ( vData.mSubmode ); // *** 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 ); }