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.
Public Member Functions | |
---|---|
~CCalCategory() | |
IMPORT_C TCalCategoryType | Category() |
IMPORT_C const TDesC & | ExtendedCategoryName() |
CCalCategoryImpl * | Impl() |
IMPORT_C CCalCategory * | NewL(TCalCategoryType) |
IMPORT_C CCalCategory * | NewL(const TDesC &) |
CCalCategory * | NewL(CCalCategoryImpl *) |
Private Member Functions | |
---|---|
CCalCategory() | |
CCalCategory(CCalCategoryImpl *) | |
void | ConstructL(TCalCategoryType) |
void | ConstructL(const TDesC &) |
Public Member Enumerations | |
---|---|
enum | TCalCategoryType { ECalAppointment, ECalBusiness, ECalEducation, ECalHoliday, ECalMeeting, ECalMiscellaneous, ECalPersonal, ECalPhoneCall, ECalSickDay, ECalSpecialOccasion, ECalTravel, ECalVacation, ECalExtended } |
Private Attributes | |
---|---|
CCalCategoryImpl * | iCalCategoryImpl |
CCalCategory | ( | CCalCategoryImpl * | aImpl | ) | [private] |
CCalCategoryImpl * aImpl |
void | ConstructL | ( | TCalCategoryType | aCategory | ) | [private] |
TCalCategoryType aCategory |
void | ConstructL | ( | const TDesC & | aExtendedName | ) | [private] |
const TDesC & aExtendedName |
IMPORT_C CCalCategory * | NewL | ( | TCalCategoryType | aCategory | ) | [static] |
TCalCategoryType aCategory |
IMPORT_C CCalCategory * | NewL | ( | const TDesC & | aExtendedName | ) | [static] |
const TDesC & aExtendedName |
CCalCategory * | NewL | ( | CCalCategoryImpl * | aImpl | ) | [static] |
CCalCategoryImpl * aImpl |
Calendar category type.
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 |