kitchensync

KSync::SyncUiKde Class Reference

Inheritance diagram for KSync::SyncUiKde:

KSync::SyncUi List of all members.

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)
SyncEntrydeconflict (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.

SyncEntry * SyncUiKde::deconflict ( SyncEntry syncEntry,
SyncEntry target 
) [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 43 of file syncuikde.cpp.

bool SyncUiKde::confirmDelete ( SyncEntry entry,
SyncEntry target 
) [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 58 of file syncuikde.cpp.

void SyncUiKde::informBothDeleted ( SyncEntry syncEntry,
SyncEntry target 
) [virtual]

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:
KDE Home | KDE Accessibility Home | Description of Access Keys