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

kpilot

HHRecord Class Reference

#include <hhrecord.h>

Inheritance diagram for HHRecord:

Inheritance graph
[legend]

List of all members.


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]

Returns the category of this record.

Definition at line 118 of file hhrecord.cc.

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]

Record methods.

Implements Record.

Definition at line 70 of file hhrecord.cc.

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

HHRecord methods.

Definition at line 45 of file hhrecord.cc.

void HHRecord::setArchived (  )  [virtual]

Marks the record for deletion and for archiving.

Definition at line 60 of file hhrecord.cc.

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]

Sets the id of this record to id;.

Implements Record.

Definition at line 75 of file hhrecord.cc.

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

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