• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kpilot

KeyringConduit Class Reference

#include <keyringconduit.h>

Inheritance diagram for KeyringConduit:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 32 of file keyringconduit.h.


Public Member Functions

virtual void _copy (const HHRecord *from, Record *to)
virtual void _copy (const Record *from, HHRecord *to)
virtual HHRecord * createHHRecord (const Record *pcRec)
virtual Record * createPCRecord (const HHRecord *hhRec)
virtual bool equal (const Record *pcRec, const HHRecord *hhRec) const
virtual bool initDataProxies ()
 KeyringConduit (KPilotLink *o, const QVariantList &a=QVariantList())
virtual void loadSettings ()
virtual void test ()

Constructor & Destructor Documentation

KeyringConduit::KeyringConduit ( KPilotLink *  o,
const QVariantList &  a = QVariantList() 
) [explicit]

Definition at line 45 of file keyringconduit.cc.


Member Function Documentation

void KeyringConduit::_copy ( const HHRecord *  from,
Record *  to 
) [virtual]

Copies the field values of from to to.

The method should only touch data that can be synced between the two records and leave the rest of the records data unchanged. After calling this method

RecordConduit::equal( pcRecord, hhRecord ) must return true.

Implements RecordConduit.

Definition at line 264 of file keyringconduit.cc.

void KeyringConduit::_copy ( const Record *  from,
HHRecord *  to 
) [virtual]

Copies the field values of from to to.

The method should only touch data that can be synced between the two records and leave the rest of the records data unchanged. After calling this method

RecordConduit::equal( pcRecord, hhRecord ) must return true.

Implements RecordConduit.

Definition at line 229 of file keyringconduit.cc.

HHRecord * KeyringConduit::createHHRecord ( const Record *  pcRec  )  [virtual]

Creates a new HHRecord object with the same data as pcRec.

Implements RecordConduit.

Definition at line 217 of file keyringconduit.cc.

Record * KeyringConduit::createPCRecord ( const HHRecord *  hhRec  )  [virtual]

Creates a new Record object with the same data as hhRec.

Implements RecordConduit.

Definition at line 208 of file keyringconduit.cc.

bool KeyringConduit::equal ( const Record *  pcRec,
const HHRecord *  hhRec 
) const [virtual]

Compares pcRecord with hhRec and returns true if they are considered equal.

Implements RecordConduit.

Definition at line 196 of file keyringconduit.cc.

bool KeyringConduit::initDataProxies (  )  [virtual]

Initialize the data proxies that are needed during sync and makes sure that all records are loaded for each data proxy.

The following members should be initialized after the call:

  • fLocalDatabase
  • fDatastore
  • fBackupdb

Returns false if one of the dataproxies could not be initialized.

Implements RecordConduit.

Definition at line 66 of file keyringconduit.cc.

void KeyringConduit::loadSettings (  )  [virtual]

Implements RecordConduit.

Definition at line 50 of file keyringconduit.cc.

virtual void KeyringConduit::test (  )  [inline, virtual]

This method is called when the conduit is run in Test Mode.

The implementing class can do whatever it wants to do for test purposes.

Implements RecordConduit.

Definition at line 81 of file keyringconduit.h.


The documentation for this class was generated from the following files:
  • keyringconduit.h
  • keyringconduit.cc

kpilot

Skip menu "kpilot"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal