SyncEngine: new aboutToPropagate signal

This commit is contained in:
Markus Goetz 2014-03-27 17:04:31 +01:00
parent 09e6207ce9
commit 54313338cd
2 changed files with 4 additions and 1 deletions

View file

@ -537,6 +537,7 @@ void SyncEngine::slotUpdateFinished(int updateResult)
}
// To announce the beginning of the sync
emit aboutToPropagate(_syncedItems);
emit transmissionProgress(_progressInfo);
if (!_hasFiles && !_syncedItems.isEmpty()) {

View file

@ -67,8 +67,10 @@ signals:
void csyncWarning( const QString& );
void csyncUnavailable();
// before actual syncing (after update+reconcile)
// before actual syncing (after update+reconcile) for each item
void syncItemDiscovered(const SyncFileItem&);
// after the above signals. with the items that actually need propagating
void aboutToPropagate(const SyncFileItemVector&);
// after each job (successful or not)
void jobCompleted(const SyncFileItem&);