kitchensync

KSync::QtopiaKonnector Class Reference

Inheritance diagram for KSync::QtopiaKonnector:

KSync::Konnector List of all members.

Detailed Description

Definition at line 32 of file qtopiakonnector.h.


Public Member Functions

 QtopiaKonnector (const KConfig *)
void writeConfig (KConfig *cfg)
SynceeList syncees ()
bool readSyncees ()
bool writeSyncees ()
bool connectDevice ()
bool disconnectDevice ()
KonnectorInfo info () const
virtual QStringList supportedFilterTypes () const
void setDestinationIP (const QString &IP)
QString destinationIP () const
void setUserName (const QString &name)
QString userName () const
void setPassword (const QString &password)
QString password () const
void setModel (const QString &model)
QString model () const
void setModelName (const QString &name)
QString modelName () const
void appendSyncee (KSync::Syncee *)

Protected Member Functions

QIconSet iconSet () const
QString iconName () const

Member Function Documentation

void KSync::QtopiaKonnector::appendSyncee ( KSync::Syncee  )  [virtual]

Append the Syncee to the internal list of Syncees.

If the Konnector implements this method and can handle the format it will upload the Syncee on writeSyncees. The ownership of

ap is transfered to the Konnector.
The default implementation deletes
ap.
Parameters:
ap The Syncee to append to the list of Syncees
See also:
writeSyncees

Reimplemented from KSync::Konnector.

bool KSync::QtopiaKonnector::connectDevice (  )  [virtual]

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

bool KSync::QtopiaKonnector::disconnectDevice (  )  [virtual]

Disconnect device.

Implements KSync::Konnector.

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

Return meta information about this Konnector.

Implements KSync::Konnector.

bool KSync::QtopiaKonnector::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.

virtual QStringList KSync::QtopiaKonnector::supportedFilterTypes (  )  const [virtual]

Returns a list of supported filter types.

Implements KSync::Konnector.

SynceeList KSync::QtopiaKonnector::syncees (  )  [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.

void KSync::QtopiaKonnector::writeConfig ( KConfig *  cfg  ) 

Write configuration to config file.

Reimplemented from KSync::Konnector.

bool KSync::QtopiaKonnector::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.


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