Index: sources/gui/GuiController.cpp =================================================================== diff -u -r741b1c70f851810f2c265cdd38dfa158b7ee0c37 -ra3030123e885fb9f22dea5839c4e988896a257e4 --- sources/gui/GuiController.cpp (.../GuiController.cpp) (revision 741b1c70f851810f2c265cdd38dfa158b7ee0c37) +++ sources/gui/GuiController.cpp (.../GuiController.cpp) (revision a3030123e885fb9f22dea5839c4e988896a257e4) @@ -84,6 +84,8 @@ // SD card connect(&_ApplicationController, SIGNAL(didSDCardStateChange(bool,bool)), this , SLOT( onSDCardStateChange(bool,bool))); + connect(&_ApplicationController, SIGNAL(didSDCardSpaceTooLow(quint8)), + this , SLOT( onSDCardSpaceTooLow(quint8))); // Export connect(&_ApplicationController, SIGNAL(didExport()), @@ -279,7 +281,21 @@ } // coco end + /*! + * \brief GuiController::onSDCardSpaceTooLow + * \details The handler slot for the didSDCardSpaceTooLow signal comes form ApplicationController. + * \param vAvailablePercent - the minimum limit of available storage space + */ +void GuiController::onSDCardSpaceTooLow(quint8 vAvailablePercent) +{ + // coco begin validated: This needs to fill up the SD-Card and test with human interactions. + // has been tested manually + emit didSDCardSpaceTooLow(vAvailablePercent); +} +// coco end + +/*! * \brief GuiController::onExport * \details The slot which will be called to notify the export is done * by emitting the didExport signal.