summaryrefslogtreecommitdiff
path: root/src/sync/synchandler.h
diff options
context:
space:
mode:
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