Ignore:
Timestamp:
01/13/10 21:51:06 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
6a624f7
Parents:
69393c0
Message:

implemented day navigator widget

  • to switch between conference days
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/model/conference.h

    r69393c0 r969a840  
    2424    QString venue() const { return value("venue").toString(); }
    2525    QString city() const { return value("city").toString(); }
    26     QDate start() const { return value("start").toDate(); }
    27     QDate end() const { return value("end").toDate(); }
     26    // TODO: there is some problem with converting "Time_t" to QDateTime: had to manually add 1 day
     27    // NEEDS TO BE FIXED
     28    QDate start() const { return value("start").toDateTime().addDays(1).date(); }
     29    QDate end() const { return value("end").toDateTime().addDays(1).date(); }
     30    //
    2831    int days() const { return value("days").toInt(); }
    2932    int dayChange() const { return value("day_change").toInt(); } // in seconds from 00:00
Note: See TracChangeset for help on using the changeset viewer.