calendarui/inc/calenagendautils.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
child 55 2c54b51f39c4
child 58 ef813d54df51
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
    41 NONSHARABLE_CLASS( CALENAGENDAUTIL_EXPORT CalenAgendaUtils )
    41 NONSHARABLE_CLASS( CALENAGENDAUTIL_EXPORT CalenAgendaUtils )
    42     {
    42     {
    43     public:
    43     public:
    44         
    44         
    45         /**
    45         /**
    46          * Removes entries ending aDay at midnight.
       
    47          **/
       
    48         static void removeEntriesEndingAtMidnightL( QList<AgendaEntry>& list, 
       
    49                                                                     const QDateTime& day );
       
    50 
       
    51         /**
       
    52          * Checks that if entry ends at starting midnight of the day,
    46          * Checks that if entry ends at starting midnight of the day,
    53          * but has started earlier.
    47          * but has started earlier.
    54          * Such entries are not shown in day that they end, because end time 
    48          * Such entries are not shown in day that they end, because end time 
    55          * is just marking the end of previous day. 
    49          * is just marking the end of previous day. 
    56          * @returns ETrue, if entry ends at starting midnight of day, but starts before that
    50          * @returns ETrue, if entry ends at starting midnight of day, but starts before that
    57          *          EFalse, otherwise
    51          *          EFalse, otherwise
    58          **/
    52          **/
    59         static bool endsAtStartOfDayL( AgendaEntry& entry,
    53         static bool endsAtStartOfDay( AgendaEntry& entry,
    60                                                         const QDateTime& day );
    54                                                         const QDateTime& day );
    61 
    55 
    62     };
    56     };
    63 
    57 
    64 #endif // CALENAGENDAUTILS_H
    58 #endif // CALENAGENDAUTILS_H