class CCalCategory : public CBase;
Description
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.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CCalCategory
- Calendar categories can be associated with a calendar entry.
Members
Defined in CCalCategory
:
Inherited from CBase
:
Construction and destruction
IMPORT_C static CCalCategory* NewL(TCalCategoryType aCategory);
Description
Parameters
Return value
IMPORT_C static CCalCategory* NewL(TCalCategoryType aCategory);
Description
Allocates and constructs a category object of one of the standard types.
Parameters
Return value
IMPORT_C static CCalCategory* NewL(const TDesC &aExtendedName);
Description
Parameters
Return value
IMPORT_C ~CCalCategory();
Description
IMPORT_C static CCalCategory* NewL(const TDesC &aExtendedName);
Description
Allocates and constructs a category object of user-defined type with specified category name.
Parameters
const TDesC16 &aExtendedName |
The extended category name.
|
|
Return value
IMPORT_C ~CCalCategory();
Description
The destructor frees all resources owned by the category, prior to its destruction.
IMPORT_C TCalCategoryType Category() const;
Description
Return value
IMPORT_C TCalCategoryType Category() const;
Description
Gets the category type.
Return value
ExtendedCategoryName()const
IMPORT_C const TDesC& ExtendedCategoryName() const;
Description
Return value
ExtendedCategoryName()const
IMPORT_C const TDesC& ExtendedCategoryName() const;
Description
Gets the extended category name.
Return value
const TDesC16 & |
The extended category name if there is one, otherwise an empty descriptor.
|
|
TCalCategoryType
Description
Calendar category type.
TCalCategoryType
Description
Calendar category type.