CalenAgendaUtils Class Reference
Public Member Functions |
---|
IMPORT_C void | CreateEntryIdListForDayL(RPointerArray< CCalInstance > &, CCalInstanceView *, const TTime &, const TBool, const TBool) |
IMPORT_C TTimeIntervalMinutes | DurationL(const CCalEntry &) |
IMPORT_C TBool | EndsAtStartOfDayL(CCalInstance *, const TTime &) |
IMPORT_C TTime | EntryTimeL(const CCalEntry &) |
IMPORT_C void | FindEventsForDayRangeL(CCalInstanceView *, RPointerArray< CCalInstance > &, const CalCommon::TCalViewFilter &, const TTime &, const TTime &) |
IMPORT_C void | FindTodosForDayRangeL(CCalInstanceView *, RPointerArray< CCalInstance > &, const TTime &, const TTime &) |
IMPORT_C TBool | IsEmptyText(const TDesC &) |
IMPORT_C TBool | IsRepeatingL(const CCalEntry &) |
IMPORT_C TBool | IsTimedEntryL(CCalEntry::TType) |
IMPORT_C void | RemoveEntriesEndingAtMidnightL(RPointerArray< CCalInstance > &, const TTime &) |
IMPORT_C void | SortInstanceList(RPointerArray< CCalInstance > &) |
IMPORT_C void | SortPopupInstanceList(RPointerArray< CCalInstance > &) |
Member Functions Documentation
CompareNonTimedNotesL(const CCalInstance &, const CCalInstance &)
CompareTimedNotesL(const CCalInstance &, const CCalInstance &)
CompareToDosL(const CCalEntry &, const CCalEntry &)
CreateEntryIdListForDayL(RPointerArray< CCalInstance > &, CCalInstanceView *, const TTime &, const TBool, const TBool)
Parameters
RPointerArray< CCalInstance > & aList | The list will contain all the entries for the specified day once the function completes |
CCalInstanceView * aInstanceView | The instance view from which all the instances of the entries will be fetched |
const TTime & aDay | The day for which the instances of the entries have to be fetched |
const TBool aSortForPopup = EFalse | EFalse by default, does not sort the list. Must be ETrue if the entries need to be sorted by start time |
const TBool aIncludeToDos = ETrue | ETrue by default, includes To-do's also in the list. Must be EFalse if To-do's must be excluded from the list |
DoEntryCompareL(const CCalInstance &, const CCalInstance &)
DoPopupEntryCompareL(const CCalInstance &, const CCalInstance &)
DurationL(const CCalEntry &)
Parameters
const CCalEntry & aEntry | The entry for which duration is required |
EndsAtStartOfDayL(CCalInstance *, const TTime &)
Parameters
CCalInstance * aInstance | The instance for which the check needs to be done |
const TTime & aDay | The day in question |
EntryCompare(const CCalInstance &, const CCalInstance &)
EntryTimeL(const CCalEntry &)
Parameters
const CCalEntry & aEntry | The entry for which the start time is needed |
FindEventsForDayRangeL(CCalInstanceView *, RPointerArray< CCalInstance > &, const CalCommon::TCalViewFilter &, const TTime &, const TTime &)
Parameters
CCalInstanceView * aInstanceView | The instance view from which all the instances of the entries will be fetched |
RPointerArray< CCalInstance > & aList | The list will contain all the entries for the specified day range once the function completes |
const CalCommon::TCalViewFilter & aFilter | Mentions the filtering criteria as specified by CalCommon::TCalViewFilter |
const TTime & aStartDay | The start day |
const TTime & aEndDay | The end day |
FindTodosForDayRangeL(CCalInstanceView *, RPointerArray< CCalInstance > &, const TTime &, const TTime &)
Parameters
CCalInstanceView * aInstanceView | The instance view from which all the instances of the To-Do's will be fetched |
RPointerArray< CCalInstance > & aList | The list will contain all the To-Do's for the specified day range once the function completes |
const TTime & aStartDay | The start day |
const TTime & aEndDay | The end day |
IsEmptyText(const TDesC &)
IMPORT_C TBool | IsEmptyText | ( | const TDesC & | aDes | ) | [static] |
Parameters
const TDesC & aDes | The text to check |
IsRepeatingL(const CCalEntry &)
Parameters
const CCalEntry & aEntry | The entry to be checked |
IsTimedEntryL(CCalEntry::TType)
PopupEntryCompare(const CCalInstance &, const CCalInstance &)
RemoveEntriesEndingAtMidnightL(RPointerArray< CCalInstance > &, const TTime &)
Parameters
RPointerArray< CCalInstance > & aList | The list of all the instances from which the entries ending at midnight needs to be removed |
const TTime & aDay | The day for which the information is requested |
SortInstanceList(RPointerArray< CCalInstance > &)
SortPopupInstanceList(RPointerArray< CCalInstance > &)
Member Enumerations Documentation
Enum TCompareResult
Enumerators
EEqual = 0 | |
ELessThan = -1 | |
EGreaterThan = 1 | |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.