Index: sources/gui/GuiController.cpp =================================================================== diff -u -rd7f70405a20319dd9f2dc93ee7f357cc88d0f84b -r7f2b5b06e41e5ab0b86c0b7107a77786e01ce5fa --- sources/gui/GuiController.cpp (.../GuiController.cpp) (revision d7f70405a20319dd9f2dc93ee7f357cc88d0f84b) +++ sources/gui/GuiController.cpp (.../GuiController.cpp) (revision 7f2b5b06e41e5ab0b86c0b7107a77786e01ce5fa) @@ -21,7 +21,6 @@ // Project #include "Logger.h" #include "ApplicationController.h" -#include "AlarmGenerator.h" #include "MessageAcknowModel.h" // namespace using namespace Gui; @@ -89,10 +88,6 @@ connect(&_ApplicationController, SIGNAL(didExportStat (quint32, const QString &, quint8)), this , SLOT( onExportStat (quint32, const QString &, quint8))); - // transmission fail - connect(&_ApplicationController, SIGNAL(didFailedTransmit(Sequence)), - this , SLOT( onFailedTransmit(Sequence))); - // POST result connect(&_ApplicationController, SIGNAL(didPOSTPass(bool)), this , SLOT( onPOSTPass(bool))); @@ -151,22 +146,6 @@ } /*! - * \brief An Action has been requested - * \details This method Confirmed that if the action is accepted or not, - * Regarding the current state and the action. - * These actions are only user actions and there is only one user interaction, - * So no need to capture from which screen this action comes since we have the current state. - * Sometimes GuiController requires to investigate with the ApplicationController to get approval from HD device. - * \param vAction - User requested Action - * \param vData - Message data to be transmitted. - */ -void GuiController::doActionTransmit(GuiActionType vAction, const QVariantList &vData) -{ - emit didActionTransmit(vAction, vData); -} - - -/*! * \brief GuiController::onUSBDriveMount * \details emits didUSBDriveMount signal to notify other classes (GuiView) * , the USB drive has been mounted. @@ -281,19 +260,6 @@ } /*! - * \brief GuiController::didFailedTransmit - * \details Raises an HD communication timeout alarm if communication with HD is lost. - * \param seq - Sequence that failed to transmit - */ -void GuiController::onFailedTransmit(Sequence) -{ - AlarmStatusData data = AlarmGenerator::ALARM_ID_TD_COMM_TIMEOUT(); - LOG_APPED_MSG(GuiActions::ID_AlarmStatus, AlarmGenerator::toString()); - //DEBUG qDebug() << " A" << _MessageAcknowModel.count(); - emit didActionReceive(data); -} - -/*! * \brief GuiController::onPOSTPass * \details Passes on the Post status * \param vPass - True if passed