Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



How to create and use entries


Creating entries

To create a new entry, use:

Alternatively, use the corresponding NewLC() functions.

You can also create a new entry, copying its details from an existing entry, using the entry classes' respective CopyFromL() functions.

[Top]


Retrieving the different entry types

Entries can be retrieved using functions provided by the model classes. When entries or instances are retrieved from the model they have to be retrieved into a CAgnEntry, because their type is unknown at this stage.

[Top]


Rich text in entries

Entries contain text which is typically displayed by the user interface. The Agenda model stores this text as rich text, which means it can contain embedded pictures and other objects such as Word documents. An entry's rich text can be accessed using CAgnEntry::RichTextL(), which returns a pointer to a CRichText object. CRichText provides an API for retrieving and updating the rich text.

[Top]


Repeating entries

To make an entry repeating:


Notes

[Top]


Retrieving an entry's category

To check if an entry has any categories, use CAgnEntry::HasCategory(). Retrieve the entry's category using CAgnEntry::FetchCategory().