/*! * * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file VPostTreatmentAdjustPatientDisconnectionConfirm.h * \author (last) Behrouz NematiPour * \date (last) 11-Aug-2023 * \author (original) Behrouz NematiPour * \date (original) 11-Apr-2021 * */ #pragma once #include // Project #include "main.h" // Doxygen : do not remove #include "MPostTreatmentAdjustPatientDisconnectionConfirmResponse.h" #include "VAdjustmentResponseBase.h" namespace View { /*! * \brief The VPostTreatmentAdjustmentPatientDisconnectionConfirm class * \details View for Model's Data representation. * * \sa Model::MAdjustDisposablesRemovalConfirmResponse * */ class VPostTreatmentAdjustmentPatientDisconnectionConfirm : public VAdjustmentResponseBase { Q_OBJECT // friends friend class ::tst_views; // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI TRIGGER( bool , adjustment , 0) VIEW_DEC_CLASS_ADJUSTMENT(VPostTreatmentAdjustmentPatientDisconnectionConfirm, AdjustPatientDisconnectionConfirmResponseData) public slots: void doNotify (); void doConfirm(); signals: /*! * \brief didAdjustment * \details the notification signal to send the user's Patient Disconnection confirm * \param vData - data model includes request information */ void didAdjustment(const AdjustPatientDisconnectionNotifyRequestData &vData); void didAdjustment(const AdjustPatientDisconnectionConfirmRequestData &vData); }; }