ksync

AddressBookSyncee Class Reference

#include <addressbooksyncee.h>

Inheritance diagram for AddressBookSyncee:

KSyncee List of all members.

Detailed Description

This class provides an implementation of the KSyncee interface for KSync.

It provides syncing of AddressBook files.

Definition at line 49 of file addressbooksyncee.h.


Public Member Functions

 AddressBookSyncee ()
 ~AddressBookSyncee ()
AddressBookSyncEntryfirstEntry ()
AddressBookSyncEntrynextEntry ()
void addEntry (KSyncEntry *)
void removeEntry (KSyncEntry *)
bool read ()
bool write ()

Member Function Documentation

AddressBookSyncEntry * AddressBookSyncee::firstEntry (  )  [virtual]

Return the first KSyncEntry object of the data set.

This function together with nextEntry() is used to iterate through all entries of a KSyncee data set.

Implements KSyncee.

Definition at line 95 of file addressbooksyncee.cpp.

AddressBookSyncEntry * AddressBookSyncee::nextEntry (  )  [virtual]

Return the next KSyncEntry object of the data set.

This function together with firstEntry() is used to iterate through all entries of a KSyncee data set.

Implements KSyncee.

Definition at line 101 of file addressbooksyncee.cpp.

void AddressBookSyncee::addEntry ( KSyncEntry  )  [virtual]

Add a KSyncEntry object to this data set.

Ownership of the object remains with the caller.

Implements KSyncee.

Definition at line 115 of file addressbooksyncee.cpp.

void AddressBookSyncee::removeEntry ( KSyncEntry  )  [virtual]

Remove a KSyncEntry.

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

Implements KSyncee.

Definition at line 126 of file addressbooksyncee.cpp.

bool AddressBookSyncee::read (  )  [virtual]

Read the data set from disk from the file with the name filename().

This function has to be reimplemented by concrete subclasses to provide the actual reading from disk.

Returns:
true, if reading is successful, otherwise false.

Implements KSyncee.

Definition at line 79 of file addressbooksyncee.cpp.

bool AddressBookSyncee::write (  )  [virtual]

Write the data set to disk to the file with the name filename().

This function has to be reimplemented by concrete subclasses to provide the actual writing to disk.

Returns:
true, if writing is successful, otherwise false.

Implements KSyncee.

Definition at line 87 of file addressbooksyncee.cpp.


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