kpilot
Contacts Class Reference
#include <contacts.h>

Public Member Functions | |
| Contacts (KPilotLink *o, const QVariantList &a=QVariantList()) | |
| 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 () |
| virtual void | loadSettings () |
| virtual void | test () |
Detailed Description
Definition at line 32 of file contacts.h.
Constructor & Destructor Documentation
| Contacts::Contacts | ( | KPilotLink * | o, | |
| const QVariantList & | a = QVariantList() | |||
| ) | [explicit] |
Definition at line 35 of file contacts.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 85 of file contacts.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 78 of file contacts.cc.
Creates a new HHRecord object with the same data as pcRec.
Implements RecordConduit.
Definition at line 71 of file contacts.cc.
Creates a new Record object with the same data as hhRec.
Implements RecordConduit.
Definition at line 64 of file contacts.cc.
Compares pcRecord with hhRec and returns true if they are considered equal.
Implements RecordConduit.
Definition at line 52 of file contacts.cc.
| bool Contacts::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 45 of file contacts.cc.
| void Contacts::loadSettings | ( | ) | [virtual] |
Implements RecordConduit.
Definition at line 40 of file contacts.cc.
| virtual void Contacts::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 79 of file contacts.h.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference