kitchensync

Threaded::ThreadedPlugin Class Reference

#include <threadedkonnector.h>

Inheritance diagram for Threaded::ThreadedPlugin:

KSync::Konnector List of all members.

Detailed Description

This plugin gets loaded by the KonnectorManager this is the key to the KonnectorWorld we need to implement the interface to fully support it.

..

Definition at line 39 of file threadedkonnector.h.


Public Member Functions

 ThreadedPlugin (const KConfig *config)
 ~ThreadedPlugin ()
SynceeList syncees ()
bool readSyncees ()
bool writeSyncees ()
bool connectDevice ()
bool disconnectDevice ()
KSync::KonnectorInfo info () const
void download (const QString &)

Member Function Documentation

SynceeList ThreadedPlugin::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 58 of file threadedkonnector.cpp.

bool ThreadedPlugin::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 70 of file threadedkonnector.cpp.

bool ThreadedPlugin::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 75 of file threadedkonnector.cpp.

bool ThreadedPlugin::connectDevice (  )  [virtual]

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

Definition at line 80 of file threadedkonnector.cpp.

bool ThreadedPlugin::disconnectDevice (  )  [virtual]

Disconnect device.

Implements KSync::Konnector.

Definition at line 85 of file threadedkonnector.cpp.

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

the state and some informations

Implements KSync::Konnector.

Definition at line 90 of file threadedkonnector.cpp.

void ThreadedPlugin::download ( const QString &   ) 

download a resource/url/foobar

Definition at line 95 of file threadedkonnector.cpp.


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