Index: sources/view/settings/VAdjustmentAlarmVolume.cpp =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r1da89b0452b8ef9448847618e75c118f3f58bd0c --- sources/view/settings/VAdjustmentAlarmVolume.cpp (.../VAdjustmentAlarmVolume.cpp) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/view/settings/VAdjustmentAlarmVolume.cpp (.../VAdjustmentAlarmVolume.cpp) (revision 1da89b0452b8ef9448847618e75c118f3f58bd0c) @@ -26,6 +26,7 @@ void View::VAdjustmentAlarmVolume::initConnections() { ADJUST_VIEW_CONNECTION(AdjustHDAlarmVolumeRequestData ); ACTION_VIEW_CONNECTION(AdjustHDAlarmVolumeResponseData ); + ACTION_VIEW_CONNECTION(SettingsData) } void View::VAdjustmentAlarmVolume::onActionReceive(const AdjustHDAlarmVolumeResponseData &vData) @@ -45,7 +46,7 @@ status(""); } else { - hdAlarmVolumeChanged(_hdAlarmVolume); + hdAlarmVolume(_hdAlarmVolume); // TODO : Rejection Reason (status) // Same thing which has been done for the alarmMapping has to be done for the Reason returning by each response. status(tr("The alarm volume change request has been rejected [%1]").arg(vData.mReason)); @@ -61,3 +62,16 @@ _data.volume(vVolume); emit didAdjustment(_data); } + +/*! + * \brief VDuetRoWaterDG::onSettingsDone + * \details fills the items below, read from the settings file, when the reading is notified done by ApplicationController. + * acidConcentrateOptions + */ +void View::VAdjustmentAlarmVolume::onActionReceive(const SettingsData &) +{ + QString mCategory = Storage::Settings_Category_SettingsSystem; + FROMVARIANT( hdAlarmVolume, "Alarm", "Volume", UInt ); + //POST// + doAdjustment(_hdAlarmVolume); +}