Ignore:
Timestamp:
04/30/13 23:42:38 (9 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
5130dc7
Parents:
83481c6
Message:

Now the dayChange time is taken into account. This fixes #43.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/conference.h

    r83481c6 r41c4ceb  
    5050    QDate end() const { return value("end").toDate(); }
    5151    int dayChange() const { return value("day_change").toInt(); } // in seconds from 00:00
     52    QTime dayChangeTime() const {QTime dayChangeTime(0, 0); return dayChangeTime.addSecs(dayChange());}
    5253    int timeslotDuration() const { return value("timeslot_duration").toInt(); } // in seconds
    5354    bool isActive() const { return value("active").toBool(); }
Note: See TracChangeset for help on using the changeset viewer.