Index: sources/gui/GuiView.cpp =================================================================== diff -u -rd7f70405a20319dd9f2dc93ee7f357cc88d0f84b -r7f2b5b06e41e5ab0b86c0b7107a77786e01ce5fa --- sources/gui/GuiView.cpp (.../GuiView.cpp) (revision d7f70405a20319dd9f2dc93ee7f357cc88d0f84b) +++ sources/gui/GuiView.cpp (.../GuiView.cpp) (revision 7f2b5b06e41e5ab0b86c0b7107a77786e01ce5fa) @@ -46,8 +46,6 @@ // since we do not have access to this object because it is created in QML. // Connection to the GuiController made here // It should be defined in the class which wants to connect to signal. - connect(this , SIGNAL(didActionTransmit(GuiActionType,const QVariantList &)), - &_GuiController, SLOT( doActionTransmit(GuiActionType,const QVariantList &))); connect(this , SIGNAL(didQuitApplication()), &_GuiController, SLOT( doQuitApplication())); @@ -83,39 +81,8 @@ connect(&_GuiController, SIGNAL(didPOSTPass (bool)), this , SLOT( onPOSTPass (bool))); } -/*! - * \brief GuiView::doActionTransmit - * \details emits didActionTransmit signal to notify other classes (GuiController) - * , an action has been required to be transmitted. - * \param vAction - the action - * \param vData - the action data - */ -void GuiView::doActionTransmit(GuiActionType vAction, const QVariantList &vData) -{ - // TODO : Remove this code later when Investigated thoroughly. - // This code later needs to be removed when Investigated thoroughly. - emit didActionTransmit(vAction, vData); -} /*! - * \brief GuiView::doActionTransmit - * \details emits didActionTransmit signal to notify other classes (GuiController) - * , an action has been required to be transmitted. - * \note The overloaded method with only one data parameter, for easier use in qml. - * \param vAction - the action - * \param vData - the action data - */ - -void GuiView::doActionTransmit(GuiActionType vAction, const QVariant &vData) -{ - // TODO : Remove this code later when Investigated thoroughly. - // This code later needs to be removed when Investigated thoroughly. - QVariantList mData; - mData += vData; - emit didActionTransmit(vAction, mData); -} - -/*! * \brief GuiView::doUSBDriveMount * \details emits didUSBDriveMount signal to notify other classes (UI) * , the USB drive has been mounted.