Changeset d858942


Ignore:
Timestamp:
07/21/21 23:49:20 (10 months ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master
Children:
7dc1b1c
Parents:
29af341
Message:

Expose utc_offset and display_time_shift in Conference class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/conference.h

    r29af341 rd858942  
    5252    QTime dayChangeTime() const {QTime dayChangeTime(0, 0); return dayChangeTime.addSecs(dayChange());}
    5353    int timeslotDuration() const { return value("timeslot_duration").toInt(); } // in seconds
     54    bool hasUtcOffset() const {return !value("utc_offset").isNull();}
     55    int utcOffset() const {return value("utc_offset").toInt();}
     56    bool hasDisplayTimeShift() const {return !value("display_time_shift").isNull();}
     57    int displayTimeShift() const {return value("display_time_shift").toInt();}
    5458    bool isActive() const { return value("active").toBool(); }
    5559    QString url() const { return stringFromNullable(value("url")); }
Note: See TracChangeset for help on using the changeset viewer.