kitchensync

KSync::UnknownSyncee Class Reference

Inheritance diagram for KSync::UnknownSyncee:

KSync::Syncee List of all members.

Detailed Description

Definition at line 124 of file unknownsyncee.h.


Public Member Functions

 UnknownSyncee (Merger *m=0)
 ~UnknownSyncee ()
UnknownSyncEntryfirstEntry ()
UnknownSyncEntrynextEntry ()
QString type () const
void addEntry (SyncEntry *)
void removeEntry (SyncEntry *)
bool writeBackup (const QString &)
bool restoreBackup (const QString &)

Member Function Documentation

UnknownSyncEntry * UnknownSyncee::firstEntry (  )  [virtual]

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 156 of file unknownsyncee.cpp.

UnknownSyncEntry * UnknownSyncee::nextEntry (  )  [virtual]

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 161 of file unknownsyncee.cpp.

QString KSync::UnknownSyncee::type (  )  const

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.

void UnknownSyncee::addEntry ( SyncEntry  )  [virtual]

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.

See also:
KSync::SyncEntry::clone

Implements KSync::Syncee.

Definition at line 167 of file unknownsyncee.cpp.

void UnknownSyncee::removeEntry ( SyncEntry  )  [virtual]

Remove a SyncEntry.

The entry is removed from the data set, but the object is not deleted.

Implements KSync::Syncee.

Definition at line 177 of file unknownsyncee.cpp.


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