/*
* Copyright (C) 2010 Ixonos Plc.
+ * Copyright (C) 2011-2012 Philipp Spitzer, gregor herrmann, Stefan Stahl
*
* This file is part of ConfClerk.
*
static QList<Event> getByDate(const QDate & date, int conferenceId, QString orderBy);
static QList<Event> getFavByDate(const QDate & date, int conferenceId); // get Favourities by Date
static QList<Event> getSearchResultByDate(const QDate& date, int conferenceId, QString orderBy);
- static QList<Event> nowEvents(int conferenceId, QString orderBy); // get events scheduled NOW
static QList<Event> getByTrack(int id);
static QList<Event> getByDateAndRoom(const QDate& date, int conferenceId);
static QList<Event> conflictEvents(int aEventId, int conferenceId);
int id() const { return value("id").toInt(); }
int conferenceId() const { return value("xid_conference").toInt(); }
QDateTime start() const { return value("start").toDateTime(); }
+ /// duration of the event in seconds
int duration() const { return value("duration").toInt(); }
int trackId() const { return value("xid_track").toInt(); }
QString type() const { return value("type").toString(); }