diff FileDBLink.hpp @ 93:308a718812ba

Small refactoring to allow lazy commits.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Tue, 22 Oct 2013 11:53:54 +0200
parents f49023c61dac
children c7da835ea912
line wrap: on
line diff
--- a/FileDBLink.hpp	Mon Oct 21 20:03:39 2013 +0200
+++ b/FileDBLink.hpp	Tue Oct 22 11:53:54 2013 +0200
@@ -5,7 +5,8 @@
 #include <QtCore/QDateTime>
 #include <QtCore/QFileInfo>
 
-class FileDBLink {
+class FileDBLink : public QObject {
+  Q_OBJECT
 public:
   class DBInfo {
   public:
@@ -108,6 +109,9 @@
   computeHash(const QString& path,
 	      QCryptographicHash::Algorithm = QCryptographicHash::Sha1);
 
+signals:
+  void progressUpdate(int, int);
+
 public:
   enum DBStatus { NONE = 0, MTIME_DIFFERENT, SAME};