kitchensync
KSync::SyncHistory< Syn, Ent > Class Template Reference
#include <synchistory.h>
Inheritance diagram for KSync::SyncHistory< Syn, Ent >:

Detailed Description
template<class Syn, class Ent>
class KSync::SyncHistory< Syn, Ent >
This is the generic base class for keeping track of additions, deletions, modifications between different syncs.
In the purest version it relies on timestamps of
- See also:
- KSync::SyncEntry::timestamp for finding the changes, additions and deletions. You can change the way it operates from where it reads the information, on how the control string looks like, on howto safe it.
Definition at line 84 of file synchistory.h.
Public Member Functions | |
SyncHistory (Syn *, const QString &file) | |
virtual | ~SyncHistory () |
void | save () |
void | load () |
Protected Member Functions | |
virtual void | save (SyncHistoryMap *) |
virtual SyncHistoryMap * | load (const QString &) |
virtual QString | string (Ent *) |
Constructor & Destructor Documentation
|
Construct a new SyncHistory. Construct a new SyncHistory instance.
Definition at line 121 of file synchistory.h. |
|
d'tor
Definition at line 130 of file synchistory.h. |
Member Function Documentation
|
Load and apply MetaInformation. Fill the supplied Syncee with the MetaInformation from the file specified. if we've a UID but we can not find it in the Syncee it was removed Definition at line 165 of file synchistory.h. |
|
Safe the Metainformation Saves the MetaInformation of the supplied Syncee to the file specified.
Definition at line 141 of file synchistory.h. |
The documentation for this class was generated from the following file: