Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2016-11-25 16:23:56 +0300
committerChristian Kamm <mail@ckamm.de>2016-11-25 16:23:56 +0300
commit68f99bcc27261f3d6a8dccb776864f328cf1560d (patch)
tree4de92bd513d13691aa0bae843741dd7d1d7ae0ad /src/gui/folderman.h
parent7523db354d392fb98c74a03d2a44198b0026ff9c (diff)
AccountSettings: Add a "Force sync now" context menu option
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r--src/gui/folderman.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h
index 3f58538fb..bc627587b 100644
--- a/src/gui/folderman.h
+++ b/src/gui/folderman.h
@@ -161,12 +161,22 @@ public:
/** Queues a folder for syncing. */
void scheduleFolder(Folder*);
+ /** Puts a folder in the very front of the queue. */
+ void scheduleFolderNext(Folder*);
+
/** Queues all folders for syncing. */
void scheduleAllFolders();
void setDirtyProxy(bool value = true);
void setDirtyNetworkLimits();
+ /**
+ * Terminates the current folder sync.
+ *
+ * It does not switch the folder to paused state.
+ */
+ void terminateSyncProcess();
+
signals:
/**
* signal to indicate a folder has changed its sync state.
@@ -247,12 +257,6 @@ private slots:
void slotScheduleFolderByTime();
private:
- /**
- * Terminates the current folder sync.
- *
- * It does not switch the folder to paused state.
- */
- void terminateSyncProcess();
/** Adds a new folder, does not add it to the account settings and
* does not set an account on the new folder.