kpilot
ContactsHHDataProxy Class Reference
#include <contactshhdataproxy.h>

Detailed Description
Definition at line 35 of file conduits/contacts/contactshhdataproxy.h.
Public Member Functions | |
| ContactsHHDataProxy (PilotDatabase *db) | |
| ContactsHHDataProxy (PilotDatabase *db) | |
| bool | createDataStore () |
| bool | createDataStore () |
| HHRecord * | createHHRecord (PilotRecord *rec) |
| PilotAppInfoBase * | readAppInfo () |
| void | setPhoneNumbers (PilotAddress &a, const KABC::PhoneNumber::List &list) |
| ~ContactsHHDataProxy () | |
Protected Member Functions | |
| HHRecord * | createHHRecord (PilotRecord *rec) |
| PilotAppInfoBase * | readAppInfo () |
Constructor & Destructor Documentation
| ContactsHHDataProxy::ContactsHHDataProxy | ( | PilotDatabase * | db | ) |
Creates a new ContactsHHDataProxy object.
Definition at line 52 of file conduits/contacts/contactshhdataproxy.cc.
| ContactsHHDataProxy::ContactsHHDataProxy | ( | PilotDatabase * | db | ) |
Creates a new Contacts Handheld data proxy with db.
| ContactsHHDataProxy::~ContactsHHDataProxy | ( | ) |
Definition at line 35 of file Documentation/base-conduit-template/contactshhdataproxy.cc.
Member Function Documentation
| bool ContactsHHDataProxy::createDataStore | ( | ) | [virtual] |
| bool ContactsHHDataProxy::createDataStore | ( | ) | [virtual] |
Tries to create a new Datastore and returns whether or not it succeeded.
Implements DataProxy.
Definition at line 46 of file conduits/contacts/contactshhdataproxy.cc.
| HHRecord* ContactsHHDataProxy::createHHRecord | ( | PilotRecord * | rec | ) | [virtual] |
| HHRecord * ContactsHHDataProxy::createHHRecord | ( | PilotRecord * | rec | ) | [protected, virtual] |
These functions must be implemented by the subclassing conduit.
This function creates a (subclass of) HHRecord for rec.
Implements HHDataProxy.
Definition at line 57 of file conduits/contacts/contactshhdataproxy.cc.
| PilotAppInfoBase* ContactsHHDataProxy::readAppInfo | ( | ) | [virtual] |
Implementing classes read the appinfo block and return a pointer so that category information can be read and altered.
Implements HHDataProxy.
| PilotAppInfoBase * ContactsHHDataProxy::readAppInfo | ( | ) | [protected, virtual] |
Implementing classes read the appinfo block and return a pointer so that category information can be read and altered.
Implements HHDataProxy.
Definition at line 63 of file conduits/contacts/contactshhdataproxy.cc.
| void ContactsHHDataProxy::setPhoneNumbers | ( | PilotAddress & | a, | |
| const KABC::PhoneNumber::List & | list | |||
| ) |
Set the phone numbers from list in the handheld entry contact as far as possible.
No overflow handling is done at all. If the desktop has more than 5 phone entries, the remainder are dropped.
Definition at line 77 of file conduits/contacts/contactshhdataproxy.cc.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference