kpilot
HHRecord Class Reference
#include <hhrecord.h>

Detailed Description
Definition at line 35 of file hhrecord.h.
Public Member Functions | |
| virtual QStringList | categories () const |
| virtual QString | category () const |
| virtual int | categoryCount () const |
| virtual bool | containsCategory (const QString &category) const |
| virtual bool | equal (const HHRecord *other) const =0 |
| HHRecord (PilotRecord *record, const QString &category) | |
| virtual const QString | id () const |
| virtual bool | isArchived () const |
| virtual bool | isDeleted () const |
| virtual bool | isModified () const |
| PilotRecord * | pilotRecord () const |
| virtual void | setArchived () |
| virtual void | setCategory (int id, const QString &category) |
| virtual void | setId (const QString &id) |
| virtual void | synced () |
| virtual QString | toString () const |
| virtual | ~HHRecord () |
Protected Attributes | |
| QString | fCategory |
| PilotRecord * | fRecord |
Constructor & Destructor Documentation
| HHRecord::HHRecord | ( | PilotRecord * | record, | |
| const QString & | category | |||
| ) |
Definition at line 35 of file hhrecord.cc.
| HHRecord::~HHRecord | ( | ) | [virtual] |
Definition at line 40 of file hhrecord.cc.
Member Function Documentation
| QStringList HHRecord::categories | ( | ) | const [virtual] |
Returns the list of categories set for this record.
Implements Record.
Definition at line 108 of file hhrecord.cc.
| QString HHRecord::category | ( | ) | const [virtual] |
| int HHRecord::categoryCount | ( | ) | const [virtual] |
Returns the number of categories that is set for this record.
Implements Record.
Definition at line 94 of file hhrecord.cc.
| bool HHRecord::containsCategory | ( | const QString & | category | ) | const [virtual] |
Returns whether or not the given category is set for this record.
Implements Record.
Definition at line 101 of file hhrecord.cc.
| virtual bool HHRecord::equal | ( | const HHRecord * | other | ) | const [pure virtual] |
Compares pcRecord with hhRec and returns true if they are considered equal.
Implemented in CalendarHHRecord, ContactsHHRecord, KeyringHHRecord, and TodoHHRecord.
| const QString HHRecord::id | ( | ) | const [virtual] |
| bool HHRecord::isArchived | ( | ) | const [virtual] |
Return whether or not this record is marked for deletion and archiving.
Definition at line 53 of file hhrecord.cc.
| bool HHRecord::isDeleted | ( | ) | const [virtual] |
Returns true when this record is marked for deletion.
Implements Record.
Definition at line 138 of file hhrecord.cc.
| bool HHRecord::isModified | ( | ) | const [virtual] |
Returns true if the record is modified and/or if it's marked as deleted.
Implements Record.
Definition at line 133 of file hhrecord.cc.
| PilotRecord * HHRecord::pilotRecord | ( | ) | const |
| void HHRecord::setArchived | ( | ) | [virtual] |
| void HHRecord::setCategory | ( | int | id, | |
| const QString & | category | |||
| ) | [virtual] |
Sets the category and the id as stored in the appinfo block of the database for this record.
Definition at line 125 of file hhrecord.cc.
| void HHRecord::setId | ( | const QString & | id | ) | [virtual] |
| void HHRecord::synced | ( | ) | [virtual] |
Notify the record that syncing is finished so that it can reset flags.
After calling this function Record::isModified() should return false.
Implements Record.
Definition at line 143 of file hhrecord.cc.
| QString HHRecord::toString | ( | ) | const [virtual] |
Returns a string representation of the record.
Implements Record.
Reimplemented in CalendarHHRecord, ContactsHHRecord, KeyringHHRecord, and HHContact.
Definition at line 149 of file hhrecord.cc.
Member Data Documentation
QString HHRecord::fCategory [protected] |
Definition at line 39 of file hhrecord.h.
PilotRecord* HHRecord::fRecord [protected] |
Definition at line 38 of file hhrecord.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference