kpilot
KeyringConduit Class Reference
#include <keyringconduit.h>

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
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.
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.
Creates a new HHRecord object with the same data as pcRec.
Implements RecordConduit.
Definition at line 217 of file keyringconduit.cc.
Creates a new Record object with the same data as hhRec.
Implements RecordConduit.
Definition at line 208 of file keyringconduit.cc.
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] |
| 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:
KDE 4.2 API Reference