calendarui/views/dayview/inc/calendayutils.h
changeset 58 ef813d54df51
parent 50 579cc610882e
child 77 b0711afde476
equal deleted inserted replaced
50:579cc610882e 58:ef813d54df51
    36     
    36     
    37     Qt::Orientation orientation() const;
    37     Qt::Orientation orientation() const;
    38     
    38     
    39     HbMainWindow* mainWindow();
    39     HbMainWindow* mainWindow();
    40     
    40     
    41     bool isHorizontalSwipe(qreal angle) const;
       
    42     
       
    43     /**
    41     /**
    44      * Get event's start/end time fromm agenda entry.
    42      * Get event's start/end time fromm agenda entry.
    45      * Start/end time are validated to be within the current day (the case of
    43      * Start/end time are validated to be within the current day (the case of
    46      * multi-day events)
    44      * multi-day events)
    47      * @param start [out] valid start time
    45      * @param start [out] valid start time
    48      * @param end [out] valid end time
    46      * @param end [out] valid end time
    49      * @param entry [in] agenda entry asociated with the event.
    47      * @param entry [in] agenda entry asociated with the event.
    50      * @param currentDate [in] current date
    48      * @param currentDate [in] current date
    51      */
    49      */
    52     void getEventValidStartEndTime( QDateTime& start, QDateTime& end,
    50     void getEventValidStartEndTime( QDateTime& start, QDateTime& end,
    53                                    AgendaEntry& entry, QDateTime& currentDate );
    51                                    const AgendaEntry& entry, QDateTime& currentDate );
    54     
    52     
    55 protected:
    53 protected:
    56     CalenDayUtils();
    54     CalenDayUtils();
    57     
    55     
    58 private:
    56 private: