Index: sources/view/VTreatmentCreate.cpp =================================================================== diff -u -r82b22f0f0ae1ff5b0a5c1524c7e91cc8d667b180 -ra8ce0941b44e15fb7b9365f98d4656e232d4bf35 --- sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision 82b22f0f0ae1ff5b0a5c1524c7e91cc8d667b180) +++ sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision a8ce0941b44e15fb7b9365f98d4656e232d4bf35) @@ -30,7 +30,6 @@ { ADJUST_VIEW_CONNECTION(AdjustParametersValidationRequestData ) ACTION_VIEW_CONNECTION(AdjustParametersValidationResponseData ) - ADJUST_VIEW_CONNECTION(AdjustParametersConfirmRequestData ) ACTION_VIEW_CONNECTION(AdjustSerialNumberTDResponseData ) } @@ -41,7 +40,7 @@ void VTreatmentCreate::doValidation() { AdjustParametersValidationRequestData data; - + data.mFinalConfirmation = _finalConfirmation ; data.mTreatmentModality = _treatmentModality ; data.mHDFTreatmentMode = _hdfTreatmentMode ; data.mBloodFlowRate = _bloodFlowRate ; @@ -72,42 +71,6 @@ } /** - * \brief VCreateTreatment::doConfirm - * \details Emits treatment data to GUI controller, - * who emits to application controller - * \note Finished create treatment confirm... - */ -void VTreatmentCreate::doConfirm() { - AdjustParametersConfirmRequestData confirmTreatmentRequest; - confirmTreatmentRequest.requestedState = AdjustParametersConfirmRequestData::eConfirm; - emit didAdjustment(confirmTreatmentRequest); -} - -/** - * \brief VCreateTreatment::doCancel - * \details Notifies FW the user has canceled confirming the treatment parameters - * \note Telling FW user is canceling confirm treatment parameters... - */ -void VTreatmentCreate::doCancel() -{ - AdjustParametersConfirmRequestData confirmTreatmentRequest; - confirmTreatmentRequest.requestedState = AdjustParametersConfirmRequestData::eCancel; - parametersValidated(false); - emit didAdjustment(confirmTreatmentRequest); -} - -/** - * \brief VCreateTreatment::enumToString - * Convenience function to convert an enum to a string - * \param vEnum - the enum value - * \return QString - the enum name - */ -QString VTreatmentCreate::enumToString(GuiRequestReasons vEnum) -{ - return Gui::enumString(vEnum, "[%1] Unknown Rejection Reason"); -} - -/** * \brief VCreateTreatment::onFWValidationResponse * Slot to handle a validation response from FW * \param actionType The action type must be a create treatment response