equal
deleted
inserted
replaced
46 AgendaEntry CalenActionUiUtils::findPossibleInstanceL(const TCalenInstanceId& id, |
46 AgendaEntry CalenActionUiUtils::findPossibleInstanceL(const TCalenInstanceId& id, |
47 AgendaUtil* agendaUtil ) |
47 AgendaUtil* agendaUtil ) |
48 { |
48 { |
49 OstTraceFunctionEntry0( CALENACTIONUIUTILS_FINDPOSSIBLEINSTANCEL_ENTRY ); |
49 OstTraceFunctionEntry0( CALENACTIONUIUTILS_FINDPOSSIBLEINSTANCEL_ENTRY ); |
50 |
50 |
51 QList<AgendaEntry> instances = agendaUtil->createEntryIdListForDay(id.mInstanceTime, |
51 AgendaUtil::FilterFlags filter = |
52 AgendaUtil::FilterFlags(AgendaUtil::IncludeAll)); |
52 AgendaUtil::FilterFlags(AgendaUtil::IncludeAnniversaries | |
|
53 AgendaUtil::IncludeAppointments | |
|
54 AgendaUtil::IncludeEvents | |
|
55 AgendaUtil::IncludeReminders | |
|
56 AgendaUtil::IncludeIncompletedTodos); |
|
57 QList<AgendaEntry> instances = |
|
58 agendaUtil->createEntryIdListForDay(id.mInstanceTime, filter); |
53 AgendaEntry result; |
59 AgendaEntry result; |
54 |
60 |
55 // For instances finishing the next day (now possible with unified DateTime editor), |
61 // For instances finishing the next day (now possible with unified DateTime editor), |
56 // we have to do our best to match the instance time exactly - otherwise we could |
62 // we have to do our best to match the instance time exactly - otherwise we could |
57 // match the LocalUid to the incorrect instance in a series. |
63 // match the LocalUid to the incorrect instance in a series. |