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

kpilot

Contacts Class Reference

#include <contacts.h>

Inheritance diagram for Contacts:
Inheritance graph
[legend]

List of all members.

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

void Contacts::_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 85 of file contacts.cc.

void Contacts::_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 78 of file contacts.cc.

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

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

Implements RecordConduit.

Definition at line 71 of file contacts.cc.

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

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

Implements RecordConduit.

Definition at line 64 of file contacts.cc.

bool Contacts::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 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:
  • contacts.h
  • contacts.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
  •   akonadi_next
  •   clients
  •   kcal
  •   kcm
  •       libmaildir
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
Generated for kdepim by doxygen 1.5.9-20090814
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