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

kpilot

Record Class Reference

#include <record.h>

Inheritance diagram for Record:

Inheritance graph
[legend]

List of all members.


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

virtual Record::~Record (  )  [inline, virtual]

Definition at line 43 of file record.h.


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]

Sets the id of this record to id;.

Implemented in AkonadiRecord, HHRecord, and AkonadiContact.

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:
  • record.h

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
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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