kitchensync

KSync::RemoteKonnector Class Reference

Inheritance diagram for KSync::RemoteKonnector:

KSync::Konnector List of all members.

Detailed Description

Definition at line 42 of file remotekonnector.h.


Public Member Functions

 RemoteKonnector (const KConfig *config)
 ~RemoteKonnector ()
void writeConfig (KConfig *)
SynceeList syncees ()
bool readSyncees ()
bool writeSyncees ()
bool connectDevice ()
bool disconnectDevice ()
KSync::KonnectorInfo info () const
virtual QStringList supportedFilterTypes () const
void setCalendarUrl (const QString &f)
QString calendarUrl () const
void setAddressBookUrl (const QString &f)
QString addressBookUrl () const
void setBookmarkUrl (const QString &f)
QString bookmarkUrl () const

Protected Slots

void slotCalendarData (KIO::Job *, const QByteArray &d)
void slotCalendarReadResult (KIO::Job *job)
void slotAddressBookData (KIO::Job *, const QByteArray &d)
void slotAddressBookReadResult (KIO::Job *job)
void slotCalendarDataReq (KIO::Job *, QByteArray &d)
void slotCalendarWriteResult (KIO::Job *job)
void slotAddressBookDataReq (KIO::Job *, QByteArray &d)
void slotAddressBookWriteResult (KIO::Job *job)

Protected Member Functions

void finishRead ()
void finishWrite ()

Member Function Documentation

void RemoteKonnector::writeConfig ( KConfig *   ) 

Write configuration to config file.

Reimplemented from KSync::Konnector.

Definition at line 84 of file remotekonnector.cpp.

SynceeList KSync::RemoteKonnector::syncees (  )  [inline, 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 51 of file remotekonnector.h.

bool RemoteKonnector::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 93 of file remotekonnector.cpp.

bool RemoteKonnector::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 219 of file remotekonnector.cpp.

bool RemoteKonnector::connectDevice (  )  [virtual]

Connect device.

Return true, if device could be connected.

Implements KSync::Konnector.

Definition at line 193 of file remotekonnector.cpp.

bool RemoteKonnector::disconnectDevice (  )  [virtual]

Disconnect device.

Implements KSync::Konnector.

Definition at line 198 of file remotekonnector.cpp.

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

Return meta information about this Konnector.

Implements KSync::Konnector.

Definition at line 203 of file remotekonnector.cpp.

QStringList RemoteKonnector::supportedFilterTypes (  )  const [virtual]

Returns a list of supported filter types.

Implements KSync::Konnector.

Definition at line 211 of file remotekonnector.cpp.


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