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 *)
 ~QtopiaKonnector ()
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 QtopiaKonnector::writeConfig ( KConfig *  cfg  ) 

Write configuration to config file.

Reimplemented from KSync::Konnector.

Definition at line 111 of file qtopiakonnector.cpp.

SynceeList 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.

Definition at line 122 of file qtopiakonnector.cpp.

bool 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.

Definition at line 127 of file qtopiakonnector.cpp.

bool 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.

Definition at line 166 of file qtopiakonnector.cpp.

bool QtopiaKonnector::connectDevice (  )  [virtual]

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

Definition at line 133 of file qtopiakonnector.cpp.

bool QtopiaKonnector::disconnectDevice (  )  [virtual]

Disconnect device.

Implements KSync::Konnector.

Definition at line 139 of file qtopiakonnector.cpp.

KonnectorInfo QtopiaKonnector::info (  )  const [virtual]

Return meta information about this Konnector.

Implements KSync::Konnector.

Definition at line 182 of file qtopiakonnector.cpp.

QStringList QtopiaKonnector::supportedFilterTypes (  )  const [virtual]

Returns a list of supported filter types.

Implements KSync::Konnector.

Definition at line 190 of file qtopiakonnector.cpp.

void QtopiaKonnector::appendSyncee ( KSync::Syncee syn  )  [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.

Definition at line 161 of file qtopiakonnector.cpp.


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