#pragma once // Qt #include // Project #include "main.h" // Doxygen : do not remove #include "VAdjustmentResponseBase.h" #include "MAdjustRoWaterModeResponse.h" #include "MSettings.h" // namespace namespace View { /*! * \brief The VAdjustRoWaterMode class * \details View for Model's data representation. */ class VAdjustRoWaterMode : public VAdjustmentResponseBase { Q_OBJECT // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI // has been manually tested that it works perfectly fine TRIGGER ( bool , adjustment , 0) TRIGGER ( bool , status , 0) VIEW_DEC_CLASS_ADJUSTMENT(VAdjustRoWaterMode, AdjustRoWaterModeResponseData) VIEW_DEC_SLOT(SettingsData) public slots: void doAdjustment(int vStatus); signals: /*! * \brief didAdjustment * \details the notification signal to send the user's Request * \param vData - data model includes request information */ void didAdjustment(const AdjustRoWaterModeRequestData &vData); }; }