kitchensync

KSync::SyncUiFirst Class Reference

Inheritance diagram for KSync::SyncUiFirst:

KSync::SyncUi List of all members.

Detailed Description

Definition at line 31 of file stdsyncui.h.


Public Member Functions

 SyncUiFirst ()
virtual ~SyncUiFirst ()
virtual SyncEntrydeconflict (SyncEntry *syncEntry, SyncEntry *)
virtual bool confirmDelete (SyncEntry *, SyncEntry *)
virtual void informBothDeleted (SyncEntry *, SyncEntry *)

Member Function Documentation

virtual SyncEntry* KSync::SyncUiFirst::deconflict ( SyncEntry syncEntry,
SyncEntry  
) [inline, virtual]

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 37 of file stdsyncui.h.

virtual bool KSync::SyncUiFirst::confirmDelete ( SyncEntry ,
SyncEntry  
) [inline, virtual]

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 42 of file stdsyncui.h.

virtual void KSync::SyncUiFirst::informBothDeleted ( SyncEntry ,
SyncEntry  
) [inline, virtual]

Inform the user that both items where deleted.

Reimplemented from KSync::SyncUi.

Definition at line 47 of file stdsyncui.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys