kitchensync Library API Documentation

Threaded::ThreadedPlugin Class Reference

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

#include <threadedkonnector.h>

Inheritance diagram for Threaded::ThreadedPlugin:

KSync::Konnector List of all members.

Public Member Functions

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

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.


Constructor & Destructor Documentation

ThreadedPlugin::ThreadedPlugin const KConfig *  config  ) 
 

Parameters:
parent the Parent Object
name the name
strlist a QStringList which is not used but necessary for KGenericFactory
Definition at line 44 of file threadedkonnector.cpp.


Member Function Documentation

Kapabilities ThreadedPlugin::capabilities  )  [virtual]
 

return our capabilities()

Implements KSync::Konnector.

Definition at line 70 of file threadedkonnector.cpp.

void ThreadedPlugin::setCapabilities const KSync::Kapabilities &   ) 
 

the user configured this konnector apply his preferecnes

Definition at line 75 of file threadedkonnector.cpp.

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 79 of file threadedkonnector.cpp.

References Threaded::ClientManager::readSyncees().

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 84 of file threadedkonnector.cpp.

References Threaded::ClientManager::writeSyncees().

bool ThreadedPlugin::connectDevice  )  [virtual]
 

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

Definition at line 89 of file threadedkonnector.cpp.

References Threaded::ClientManager::connectDevice().

bool ThreadedPlugin::disconnectDevice  )  [virtual]
 

Disconnect device.

Implements KSync::Konnector.

Definition at line 94 of file threadedkonnector.cpp.

References Threaded::ClientManager::disconnectDevice().

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

the state and some informations

Implements KSync::Konnector.

Definition at line 99 of file threadedkonnector.cpp.

void ThreadedPlugin::download const QString  ) 
 

download a resource/url/foobar

Definition at line 104 of file threadedkonnector.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 27 12:50:53 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003