[Pkg-owncloud-commits] [owncloud-client] 196/333: Engine: Introduce jobCompleted() signal

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit cc5fabdab0a5f7a89075d9946e5452cdbdf0ca59
Author: Markus Goetz <markus at woboq.com>
Date:   Fri Mar 21 17:13:02 2014 +0100

    Engine: Introduce jobCompleted() signal
---
 src/mirall/syncengine.cpp | 1 +
 src/mirall/syncengine.h   | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp
index bd81aeb..b0745b7 100644
--- a/src/mirall/syncengine.cpp
+++ b/src/mirall/syncengine.cpp
@@ -606,6 +606,7 @@ void SyncEngine::slotJobCompleted(const SyncFileItem &item)
     }
 
     emit transmissionProgress(_progressInfo);
+    emit jobCompleted(item);
 }
 
 void SyncEngine::slotFinished()
diff --git a/src/mirall/syncengine.h b/src/mirall/syncengine.h
index 0853da3..6327ab8 100644
--- a/src/mirall/syncengine.h
+++ b/src/mirall/syncengine.h
@@ -67,6 +67,9 @@ signals:
     // before actual syncing (after update+reconcile)
     void syncItemDisconvered(const SyncFileItem&);
 
+    // after each job (successful or not)
+    void jobCompleted(const SyncFileItem&);
+
     // after sync is done
     void treeWalkResult(const SyncFileItemVector&);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list