diff -r 2c54b51f39c4 -r bb2d3e476f29 calendarui/inc/calenagendautils.h --- a/calendarui/inc/calenagendautils.h Mon Jul 26 13:54:38 2010 +0530 +++ b/calendarui/inc/calenagendautils.h Mon Aug 09 18:30:52 2010 +0530 @@ -52,6 +52,14 @@ **/ static bool endsAtStartOfDay( AgendaEntry& entry, const QDateTime& day ); + + /** + * Checks if the given entry is an all-day + * Need to call this API only for entry types other than EEvent + * @param entry Entry for which all-day attribute is being queried + * @returns True, If entry is an all-day else False + */ + static bool CalenAgendaUtils::isAlldayEvent( const AgendaEntry& entry ); };