Index: sources/gui/GuiView.h =================================================================== diff -u -r64d87d540594252e8039ab2595016d98f1e3cc28 -ra3030123e885fb9f22dea5839c4e988896a257e4 --- sources/gui/GuiView.h (.../GuiView.h) (revision 64d87d540594252e8039ab2595016d98f1e3cc28) +++ sources/gui/GuiView.h (.../GuiView.h) (revision a3030123e885fb9f22dea5839c4e988896a257e4) @@ -45,6 +45,9 @@ // has been tested manually PROPERTY(bool, sdIsReady , false) PROPERTY(bool, sdIsReadOnly, false) + + // this property will be set if the sd-card space gets lower than required amount in percent that has been defined in DriveWatcher. + PROPERTY(qint8, sdTooLowPecent, -1) // -1 means the event never happened // coco end public: @@ -56,18 +59,18 @@ private slots: void onActionReceive (GuiActionType vAction, const QVariantList &vData); // UI <= HD/DG - void doUSBDriveMount (); - void doUSBDriveRemove(); + void onUSBDriveMount (); + void onUSBDriveRemove(); - void doExport (); + void onExport (); + void onSDCardStateChange(bool vIsReady, bool vIsReadOnly); + void onSDCardSpaceTooLow(quint8 vAvailablePercent); + public slots: // is public since will be used in the UI and is in the same thread. void doActionTransmit(GuiActionType vAction, const QVariantList &vData); // UI => HD/DG void doActionTransmit(GuiActionType vAction, const QVariant &vData); // UI => HD/DG void doUSBDriveUmount(); - - void doSDCardStateChange(bool vIsReady, bool vIsReadOnly); - void doExportLog (); signals: