diff options
author | Christian Kamm <mail@ckamm.de> | 2015-09-04 11:33:48 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2015-09-04 11:42:21 +0300 |
commit | 641f56664ed9b2e900f35bf48287effb99049fe8 (patch) | |
tree | f5eb017f08550c296406ad9cbfe97499923a5f42 /src/gui/folderman.h | |
parent | 419deff861d5eec7835fa1ec111e897e78ecb6a0 (diff) |
FolderStatus: Show 'waiting for other folder' #3619
We monitor the scheduling queue and show messages like
"Waiting for 5 other folders...".
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r-- | src/gui/folderman.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h index 013ce8323..0dd052262 100644 --- a/src/gui/folderman.h +++ b/src/gui/folderman.h @@ -109,6 +109,16 @@ public: bool ignoreHiddenFiles() const; void setIgnoreHiddenFiles(bool ignore); + /** + * Access to the current queue of scheduled folders. + */ + QQueue<Folder*> scheduleQueue() const; + + /** + * Access to the currently syncing folder. + */ + Folder* currentSyncFolder() const; + signals: /** * signal to indicate a folder has changed its sync state. @@ -117,6 +127,11 @@ signals: */ void folderSyncStateChange(Folder*); + /** + * Indicates when the schedule queue changes. + */ + void scheduleQueueChanged(); + void folderListLoaded(const Folder::Map &); public slots: |