kitchensync
KSync::SyncUiKde Class Reference
Inheritance diagram for KSync::SyncUiKde:

Detailed Description
Definition at line 30 of file syncuikde.h.
Public Member Functions | |
SyncUiKde (QWidget *parent, bool confirmDelete, bool inform=false) | |
virtual | ~SyncUiKde () |
void | setConfirmDelete (bool b) |
SyncEntry * | deconflict (SyncEntry *syncEntry, SyncEntry *target) |
bool | confirmDelete (SyncEntry *entry, SyncEntry *target) |
void | informBothDeleted (SyncEntry *syncEntry, SyncEntry *target) |
Member Function Documentation
void SyncUiKde::setConfirmDelete | ( | bool | b | ) |
Alter the need to confirm deletion by the user.
You can change if a user needs to confirm the deletion of a SyncEntry
Definition at line 117 of file syncuikde.cpp.
Deconflict two conflicting SyncEntry objects.
Returns the entry, which has been chosen by the user to take precedence over the other.
The default implementation always returns 0, which should be interpreted to not sync the entries at all. Reimplement this function in a subclass to provide a more useful implementation to KSyncer.
Reimplemented from KSync::SyncUi.
Definition at line 43 of file syncuikde.cpp.
Confirm if the SyncEntry should be deleted.
It gets called if one side was unchanged and the other deleted.
Reimplemented from KSync::SyncUi.
Definition at line 58 of file syncuikde.cpp.
Inform the user that both items where deleted.
Reimplemented from KSync::SyncUi.
Definition at line 104 of file syncuikde.cpp.
The documentation for this class was generated from the following files: