kitchensync
KSync::AddressBookSyncee Class Reference
#include <addressbooksyncee.h>
Inheritance diagram for KSync::AddressBookSyncee:

Detailed Description
This class provides an implementation of the KSyncee interface for KSync.It provides syncing of AddressBook files.
Definition at line 71 of file addressbooksyncee.h.
Public Member Functions | |
AddressBookSyncee (AddressBookMerger *m=0) | |
AddressBookSyncee (KABC::AddressBook *, AddressBookMerger *m=0) | |
void | reset () |
AddressBookSyncEntry * | firstEntry () |
AddressBookSyncEntry * | nextEntry () |
void | addEntry (SyncEntry *) |
void | removeEntry (SyncEntry *) |
QString | type () const |
QString | generateNewId () const |
bool | writeBackup (const QString &) |
bool | restoreBackup (const QString &) |
Member Function Documentation
|
Add a SyncEntry object to this data set. Ownership of the object is transfered and the SyncEntry now belongs to this Syncee. Use KSync::SyncEntry::clone() to create an exact copy of a KSync::SyncEntry.
Implements KSync::Syncee. Definition at line 181 of file addressbooksyncee.cpp. |
|
Return the first SyncEntry object of the data set. This function together with nextEntry() is used to iterate through all entries of a Syncee data set. Implements KSync::Syncee. Definition at line 170 of file addressbooksyncee.cpp. |
|
When dealing with special uid Konnector- You might want a new uid to be generated. To later find an Entry again you'll need this map Reimplemented from KSync::Syncee. Definition at line 235 of file addressbooksyncee.cpp. |
|
Return the next SyncEntry object of the data set. This function together with firstEntry() is used to iterate through all entries of a Syncee data set. Implements KSync::Syncee. Definition at line 175 of file addressbooksyncee.cpp. |
|
Remove a SyncEntry. The entry is removed from the data set, but the object is not deleted. Implements KSync::Syncee. Definition at line 209 of file addressbooksyncee.cpp. |
|
Reset Syncee to initial state. This is called when the data the Syncee operates on is changed externally, i.e. without using the Syncees addEntry() removeEntry(), replaceEntry() methods. Reimplemented from KSync::Syncee. Definition at line 165 of file addressbooksyncee.cpp. |
|
The type of the Syncee. Sometimes it is not possible to use dynamic_cast and this way a type is nice to have; Reimplemented from KSync::Syncee. |
The documentation for this class was generated from the following files: