kitchensync

KSync::LocalKonnector Class Reference

Inheritance diagram for KSync::LocalKonnector:

KSync::Konnector List of all members.

Detailed Description

Definition at line 41 of file localkonnector.h.


Public Member Functions

 LocalKonnector (const KConfig *config)
 ~LocalKonnector ()
void writeConfig (KConfig *)
SynceeList syncees ()
bool readSyncees ()
bool writeSyncees ()
bool connectDevice ()
bool disconnectDevice ()
KSync::KonnectorInfo info () const
virtual QStringList supportedFilterTypes () const
void setCalendarFile (const QString &f)
QString calendarFile () const
void setAddressBookFile (const QString &f)
QString addressBookFile () const
void setBookmarkFile (const QString &f)
QString bookmarkFile () const

Member Function Documentation

void LocalKonnector::writeConfig ( KConfig *   ) 

Write configuration to config file.

Reimplemented from KSync::Konnector.

Definition at line 85 of file localkonnector.cpp.

SynceeList KSync::LocalKonnector::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 50 of file localkonnector.h.

bool LocalKonnector::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 localkonnector.cpp.

bool LocalKonnector::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 192 of file localkonnector.cpp.

bool LocalKonnector::connectDevice (  )  [virtual]

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

Definition at line 166 of file localkonnector.cpp.

bool LocalKonnector::disconnectDevice (  )  [virtual]

Disconnect device.

Implements KSync::Konnector.

Definition at line 171 of file localkonnector.cpp.

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

Return meta information about this Konnector.

Implements KSync::Konnector.

Definition at line 176 of file localkonnector.cpp.

QStringList LocalKonnector::supportedFilterTypes (  )  const [virtual]

Returns a list of supported filter types.

Implements KSync::Konnector.

Definition at line 184 of file localkonnector.cpp.


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