aboutsummaryrefslogtreecommitdiff
path: root/lumina-fileinfo/MainUI.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-fileinfo/MainUI.h')
-rw-r--r--lumina-fileinfo/MainUI.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lumina-fileinfo/MainUI.h b/lumina-fileinfo/MainUI.h
index bc2729fd..65349d3e 100644
--- a/lumina-fileinfo/MainUI.h
+++ b/lumina-fileinfo/MainUI.h
@@ -35,7 +35,12 @@ public slots:
private:
Ui::MainUI *ui;
bool canwrite;
+ bool terminate_thread; //flag for terminating the GetDirSize task
void ReloadAppIcon();
+ void GetDirSize(const QString dirname) const; //function to get folder size
+
+signals:
+ void folder_size_changed(quint64 size, quint64 files, quint64 folders, bool finished) const; //Signal for updating the folder size asynchronously
private slots:
//Initialization functions
@@ -50,6 +55,9 @@ private slots:
//XDG Value Changed
void xdgvaluechanged();
+
+ //Folder size
+ void refresh_folder_size(quint64 size, quint64 files, quint64 folders, bool finished); //Slot for updating the folder size asynchronously
};
#endif
bgstack15