kpilot
Record Class Reference
#include <record.h>

Detailed Description
If subclassing Record, the only thing that should be reimplemented is the isValid() function.If other methods are reimplemented it's not guaranteed that the conduit will work as expected. If you miss a feature which should be in this class, contact the kpilot developers.
Definition at line 40 of file record.h.
Public Member Functions | |
| virtual QStringList | categories () const =0 |
| virtual int | categoryCount () const =0 |
| virtual bool | containsCategory (const QString &category) const =0 |
| virtual const QString | id () const =0 |
| virtual bool | isDeleted () const =0 |
| virtual bool | isModified () const =0 |
| virtual void | setId (const QString &id)=0 |
| virtual void | synced ()=0 |
| virtual QString | toString () const =0 |
| virtual | ~Record () |
Constructor & Destructor Documentation
Member Function Documentation
| virtual QStringList Record::categories | ( | ) | const [pure virtual] |
Returns the list of categories set for this record.
Implemented in HHRecord, CalendarAkonadiRecord, ContactsAkonadiRecord, TodoAkonadiRecord, and AkonadiContact.
| virtual int Record::categoryCount | ( | ) | const [pure virtual] |
Returns the number of categories that is set for this record.
Implemented in HHRecord, CalendarAkonadiRecord, ContactsAkonadiRecord, TodoAkonadiRecord, and AkonadiContact.
| virtual bool Record::containsCategory | ( | const QString & | category | ) | const [pure virtual] |
Returns whether or not the given category is set for this record.
Implemented in HHRecord, CalendarAkonadiRecord, ContactsAkonadiRecord, TodoAkonadiRecord, and AkonadiContact.
| virtual const QString Record::id | ( | ) | const [pure virtual] |
Implemented in AkonadiRecord, HHRecord, and AkonadiContact.
| virtual bool Record::isDeleted | ( | ) | const [pure virtual] |
Returns true when this record is marked for deletion.
Implemented in AkonadiRecord, HHRecord, and AkonadiContact.
| virtual bool Record::isModified | ( | ) | const [pure virtual] |
Returns true if the record is modified and/or if it's marked as deleted.
Implemented in AkonadiRecord, HHRecord, and AkonadiContact.
| virtual void Record::setId | ( | const QString & | id | ) | [pure virtual] |
| virtual void Record::synced | ( | ) | [pure virtual] |
Notify the record that syncing is finished so that it can reset flags.
After calling this function Record::isModified() should return false.
Implemented in AkonadiRecord, HHRecord, and AkonadiContact.
| virtual QString Record::toString | ( | ) | const [pure virtual] |
Returns a string representation of the record.
Implemented in HHRecord, CalendarAkonadiRecord, CalendarHHRecord, ContactsAkonadiRecord, ContactsHHRecord, KeyringHHRecord, TodoAkonadiRecord, AkonadiContact, and HHContact.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference