kitchensync Library API Documentation

KSync::DummyKonnector 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 <dummykonnector.h>

Inheritance diagram for KSync::DummyKonnector:

Inheritance graph
[legend]
Collaboration diagram for KSync::DummyKonnector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DummyKonnector (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 &)
KSync::ConfigWidgetconfigWidget (const KSync::Kapabilities &, QWidget *parent, const char *name)
KSync::ConfigWidgetconfigWidget (QWidget *parent, const char *name)

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 38 of file dummykonnector.h.


Constructor & Destructor Documentation

DummyKonnector::DummyKonnector 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 58 of file dummykonnector.cpp.


Member Function Documentation

KSync::Kapabilities DummyKonnector::capabilities  )  [virtual]
 

return our capabilities()

Implements KSync::Konnector.

Definition at line 77 of file dummykonnector.cpp.

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

the user configured this konnector apply his preferecnes

Definition at line 95 of file dummykonnector.cpp.

SynceeList DummyKonnector::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 99 of file dummykonnector.cpp.

bool DummyKonnector::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 104 of file dummykonnector.cpp.

References KSync::Konnector::synceesRead().

bool DummyKonnector::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 149 of file dummykonnector.cpp.

References KSync::Konnector::synceesWritten().

bool DummyKonnector::connectDevice  )  [virtual]
 

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

Definition at line 113 of file dummykonnector.cpp.

bool DummyKonnector::disconnectDevice  )  [virtual]
 

Disconnect device.

Implements KSync::Konnector.

Definition at line 118 of file dummykonnector.cpp.

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

the state and some informations

Implements KSync::Konnector.

Definition at line 123 of file dummykonnector.cpp.

void DummyKonnector::download const QString  ) 
 

download a resource/url/foobar

Definition at line 133 of file dummykonnector.cpp.

KSync::ConfigWidget * DummyKonnector::configWidget const KSync::Kapabilities &  ,
QWidget parent,
const char *  name
 

configuration widgets

Definition at line 138 of file dummykonnector.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.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 4 04:47:21 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003