kitchensync

KSync::KABCKonnector Class Reference

Inheritance diagram for KSync::KABCKonnector:

KSync::Konnector List of all members.

Detailed Description

Definition at line 37 of file kabckonnector.h.


Public Member Functions

 KABCKonnector (const KConfig *config)
 ~KABCKonnector ()
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 ()

Member Function Documentation

void KABCKonnector::writeConfig ( KConfig *   ) 

Write configuration to config file.

Reimplemented from KSync::Konnector.

Definition at line 87 of file kabckonnector.cpp.

SynceeList KSync::KABCKonnector::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 47 of file kabckonnector.h.

bool KABCKonnector::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 94 of file kabckonnector.cpp.

bool KABCKonnector::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 130 of file kabckonnector.cpp.

bool KABCKonnector::connectDevice (  )  [virtual]

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

Definition at line 107 of file kabckonnector.cpp.

bool KABCKonnector::disconnectDevice (  )  [virtual]

Disconnect device.

Implements KSync::Konnector.

Definition at line 112 of file kabckonnector.cpp.

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

Return meta information about this Konnector.

Implements KSync::Konnector.

Definition at line 117 of file kabckonnector.cpp.

QStringList KABCKonnector::supportedFilterTypes (  )  const [virtual]

Returns a list of supported filter types.

Implements KSync::Konnector.

Definition at line 125 of file kabckonnector.cpp.


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