Index: sources/gui/GuiView.cpp =================================================================== diff -u -r64d87d540594252e8039ab2595016d98f1e3cc28 -ra3030123e885fb9f22dea5839c4e988896a257e4 --- sources/gui/GuiView.cpp (.../GuiView.cpp) (revision 64d87d540594252e8039ab2595016d98f1e3cc28) +++ sources/gui/GuiView.cpp (.../GuiView.cpp) (revision a3030123e885fb9f22dea5839c4e988896a257e4) @@ -53,16 +53,18 @@ &_GuiController, SLOT( doUSBDriveUmount())); // From OS : USB drive removed connect(&_GuiController, SIGNAL(didUSBDriveMount ()), - this , SLOT( doUSBDriveMount ())); + this , SLOT( onUSBDriveMount ())); connect(&_GuiController, SIGNAL(didUSBDriveRemove()), - this , SLOT( doUSBDriveRemove())); + this , SLOT( onUSBDriveRemove())); // SD Card connect(&_GuiController, SIGNAL(didSDCardStateChange(bool,bool)), - this , SLOT( doSDCardStateChange(bool,bool))); + this , SLOT( onSDCardStateChange(bool,bool))); + connect(&_GuiController, SIGNAL(didSDCardStateChange(bool,bool)), + this , SLOT( onSDCardStateChange(bool,bool))); connect(&_GuiController, SIGNAL(didExport()), - this , SLOT( doExport())); + this , SLOT( onExport())); // From UI : Export Log connect(this , SIGNAL(didExportLog()), @@ -123,7 +125,7 @@ * \details emits didUSBDriveMount signal to notify other classes (UI) * , the USB drive has been mounted. */ -void GuiView::doUSBDriveMount () +void GuiView::onUSBDriveMount () { // coco begin validated: This needs user interaction to plug-in USB device // has been tested manually @@ -149,7 +151,7 @@ * \details emits didUSBDriveRemove signal to notify other classes (UI) * , the USB drive has been removed. */ -void GuiView::doUSBDriveRemove() +void GuiView::onUSBDriveRemove() { // coco begin validated: This needs user interaction to plug-in USB device // has been tested manually @@ -158,13 +160,13 @@ // coco end /*! - * \brief GuiView::doSDCardStateChange + * \brief GuiView::onSDCardStateChange * \details emits didSDCardStateChange signal to notify other classes (UI) * , the SD Card Stte has been changed. * \param vIsReady - SdCard is Ready * \param vIsReadOnly - SdCard is ReadOnly */ -void GuiView::doSDCardStateChange(bool vIsReady, bool vIsReadOnly) +void GuiView::onSDCardStateChange(bool vIsReady, bool vIsReadOnly) { // coco begin validated: This needs user interaction to plug-in USB device // has been tested manually @@ -174,11 +176,24 @@ // coco end /*! + * \brief GuiController::doSDCardSpaceTooLow + * \details The handler slot for the didSDCardSpaceTooLow signal comes form GuiController. + * \param vAvailablePercent - the minimum limit of available storage space + */ +void GuiView::onSDCardSpaceTooLow(quint8 vAvailablePercent) +{ + // coco begin validated: This needs to fill up the SD-Card and test with human interactions. + // has been tested manually + sdTooLowPecent(vAvailablePercent); +} +// coco end + +/*! * \brief GuiView::onExport * \details The slot which will be called to notify the export is done * by emitting the didExport signal. */ -void GuiView::doExport() +void GuiView::onExport() { // coco begin validated: This needs user interaction to plug-in USB device // has been tested manually