summaryrefslogtreecommitdiff
path: root/src/sync/synchandler.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-12-09 15:29:56 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-12-12 16:40:29 +0100
commitc2bbd9066ae8b6902d51b8d9782702252eec5d95 (patch)
tree03b2d030bf08433f1fc346d7ef8b81adeee861c1 /src/sync/synchandler.h
parentRebase fix (diff)
downloadrekonq-c2bbd9066ae8b6902d51b8d9782702252eec5d95.tar.xz
Sync improvements, last bunch!
Improved code division (it will be super easy now adding a new handler) Added a new config UI (QWizard based)
Diffstat (limited to 'src/sync/synchandler.h')
-rw-r--r--src/sync/synchandler.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/sync/synchandler.h b/src/sync/synchandler.h
index 30873fa5..32266d7c 100644
--- a/src/sync/synchandler.h
+++ b/src/sync/synchandler.h
@@ -37,16 +37,25 @@
class SyncHandler : public QObject
{
-
+ Q_OBJECT
+
public:
- SyncHandler(QObject *parent = 0) : QObject(parent) {}
- virtual ~SyncHandler() {}
-
+ SyncHandler(QObject *parent = 0);
+ virtual ~SyncHandler();
+
virtual void syncHistory() = 0;
virtual void syncBookmarks() = 0;
virtual void syncPasswords() = 0;
- virtual void firstTimeSync() = 0;
+ virtual void initialLoadAndCheck() = 0;
+
+Q_SIGNALS:
+ void syncStatus(Rekonq::SyncData type, bool syncDone, QString message);
+
+protected:
+ bool _firstTimeSynced;
+
+
};
#endif // SYNC_HANDLER_H