kpilot
AkonadiContact Class Reference
#include <akonadicontact.h>
Detailed Description
Definition at line 32 of file akonadicontact.h.
Public Member Functions | |
| AkonadiContact () | |
| QStringList | categories () const |
| int | categoryCount () const |
| bool | containsCategory (const QString &category) const |
| bool | equal (const Record *other) const |
| const QString | id () const |
| bool | isDeleted () const |
| bool | isModified () const |
| void | setId (const QString &id) |
| void | synced () |
| QString | toString () const |
| ~AkonadiContact () | |
Constructor & Destructor Documentation
| AkonadiContact::AkonadiContact | ( | ) |
Definition at line 32 of file akonadicontact.cc.
| AkonadiContact::~AkonadiContact | ( | ) |
Definition at line 37 of file akonadicontact.cc.
Member Function Documentation
| QStringList AkonadiContact::categories | ( | ) | const [virtual] |
Returns the list of categories set for this record.
Implements Record.
Definition at line 41 of file akonadicontact.cc.
| int AkonadiContact::categoryCount | ( | ) | const [virtual] |
Returns the number of categories that is set for this record.
Implements Record.
Definition at line 48 of file akonadicontact.cc.
| bool AkonadiContact::containsCategory | ( | const QString & | category | ) | const [virtual] |
Returns whether or not the given category is set for this record.
Implements Record.
Definition at line 55 of file akonadicontact.cc.
| bool AkonadiContact::equal | ( | const Record * | other | ) | const |
Returns whether or not the current record is equal to other.
Implementing conduits should add support for both implementing records for this. This means that if pcRec->equal( hhRec ) is true, then also hhRec->equal( pcRec ) should be true.
Definition at line 62 of file akonadicontact.cc.
| const QString AkonadiContact::id | ( | ) | const [virtual] |
| bool AkonadiContact::isDeleted | ( | ) | const [virtual] |
Returns true when this record is marked for deletion.
Implements Record.
Definition at line 76 of file akonadicontact.cc.
| bool AkonadiContact::isModified | ( | void | ) | const [virtual] |
Returns true if the record is modified and/or if it's marked as deleted.
Implements Record.
Definition at line 83 of file akonadicontact.cc.
| void AkonadiContact::setId | ( | const QString & | id | ) | [virtual] |
Sets the id of this record to id;.
Implements Record.
Definition at line 90 of file akonadicontact.cc.
| void AkonadiContact::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 96 of file akonadicontact.cc.
| QString AkonadiContact::toString | ( | ) | const [virtual] |
Returns a string representation of the record.
Implements Record.
Definition at line 102 of file akonadicontact.cc.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference