kitchensync

KSync::KCalKonnector Class Reference

Inheritance diagram for KSync::KCalKonnector:

KSync::Konnector List of all members.

Detailed Description

Definition at line 34 of file kcalkonnector.h.


Public Member Functions

 KCalKonnector (const KConfig *config)
 ~KCalKonnector ()
void writeConfig (KConfig *)
SynceeList syncees ()
bool readSyncees ()
bool writeSyncees ()
bool connectDevice ()
bool disconnectDevice ()
KSync::KonnectorInfo info () const
virtual QStringList supportedFilterTypes () const
void setCurrentResource (const QString &identifier)
QString currentResource () const

Protected Slots

void loadingFinished ()
void savingFinished ()

Member Function Documentation

void KCalKonnector::writeConfig ( KConfig *   ) 

Write configuration to config file.

Reimplemented from KSync::Konnector.

Definition at line 80 of file kcalkonnector.cpp.

SynceeList KSync::KCalKonnector::syncees (  )  [inline, virtual]

Get list of Syncees used by this Konnector.

It will contain a Syncee for each supported data type. If readSyncees() hasn't be called before, the Syncees will be empty.

Implements KSync::Konnector.

Definition at line 44 of file kcalkonnector.h.

bool KCalKonnector::readSyncees (  )  [virtual]

Request list of Syncee objects containing PIM data from connected entity.

The response is sent with the signal synceesRead(). If an error occurs during read the signal synceeReadError() is emitted.

Returns:
true, if request could successfully be started, false otherwise.

Implements KSync::Konnector.

Definition at line 87 of file kcalkonnector.cpp.

bool KCalKonnector::writeSyncees (  )  [virtual]

Request to write back data contained in Syncee objects hold by the connected entity.

The end of the write operation is signalled with synceesWritten(). If an error occurs during write the signal synceeWriteError() is emitted.

Returns:
true, if request could successfully be started, false otherwise.

Implements KSync::Konnector.

Definition at line 123 of file kcalkonnector.cpp.

bool KCalKonnector::connectDevice (  )  [virtual]

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

Definition at line 100 of file kcalkonnector.cpp.

bool KCalKonnector::disconnectDevice (  )  [virtual]

Disconnect device.

Implements KSync::Konnector.

Definition at line 105 of file kcalkonnector.cpp.

KSync::KonnectorInfo KCalKonnector::info (  )  const [virtual]

Return meta information about this Konnector.

Implements KSync::Konnector.

Definition at line 110 of file kcalkonnector.cpp.

QStringList KCalKonnector::supportedFilterTypes (  )  const [virtual]

Returns a list of supported filter types.

Implements KSync::Konnector.

Definition at line 118 of file kcalkonnector.cpp.


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