CCalCategory Class Reference

class CCalCategory : public CBase

Calendar categories can be associated with a calendar entry.

There are 12 built in category types defined by TCalCategoryType. Additionally, it is possible to define extended category types which are held as a descriptor of any length.

Any number of categories can be specified for an entry. CCalEntry provides member functions for adding, deleting and fetching categories for an entry.

CCalCategoryManager functions enable the client to add\delete\fetch categories from a Calendar session and to get a list of entries filtered by their category.

Inherits from

Constructor & Destructor Documentation

CCalCategory()

CCalCategory()[private]

CCalCategory(CCalCategoryImpl *)

CCalCategory(CCalCategoryImpl *aImpl)[private]

Parameters

CCalCategoryImpl * aImpl

~CCalCategory()

IMPORT_C~CCalCategory()

Member Functions Documentation

Category()

IMPORT_C TCalCategoryTypeCategory()const

ConstructL(TCalCategoryType)

voidConstructL(TCalCategoryTypeaCategory)[private]

Parameters

TCalCategoryType aCategory

ConstructL(const TDesC &)

voidConstructL(const TDesC &aExtendedName)[private]

Parameters

const TDesC & aExtendedName

ExtendedCategoryName()

IMPORT_C const TDesC &ExtendedCategoryName()const

Impl()

CCalCategoryImpl *Impl()const

NewL(TCalCategoryType)

IMPORT_C CCalCategory *NewL(TCalCategoryTypeaCategory)[static]

Parameters

TCalCategoryType aCategory

NewL(const TDesC &)

IMPORT_C CCalCategory *NewL(const TDesC &aExtendedName)[static]

Parameters

const TDesC & aExtendedName

NewL(CCalCategoryImpl *)

CCalCategory *NewL(CCalCategoryImpl *aImpl)[static]

Parameters

CCalCategoryImpl * aImpl

Member Enumerations Documentation

Enum TCalCategoryType

Calendar category type.

Enumerators

ECalAppointment

Appointment

ECalBusiness

Business

ECalEducation

Education

ECalHoliday

Holiday

ECalMeeting

Meeting

ECalMiscellaneous

All other types

ECalPersonal

Personal

ECalPhoneCall

Phone call

ECalSickDay

Sick day

ECalSpecialOccasion

Special occasion

ECalTravel

Travel

ECalVacation

Vacation

ECalExtended

Extended

Member Data Documentation

CCalCategoryImpl * iCalCategoryImpl

CCalCategoryImpl *iCalCategoryImpl[private]