kitchensync

KSync::SyncUiSecond Class Reference

Inheritance diagram for KSync::SyncUiSecond:

KSync::SyncUi List of all members.

Detailed Description

Definition at line 53 of file stdsyncui.h.


Public Member Functions

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

Member Function Documentation

virtual SyncEntry* KSync::SyncUiSecond::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 59 of file stdsyncui.h.

virtual bool KSync::SyncUiSecond::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 64 of file stdsyncui.h.

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

Inform the user that both items where deleted.

Reimplemented from KSync::SyncUi.

Definition at line 69 of file stdsyncui.h.


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