X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/7b705076a39208ab529895996fdbf63a9686f9da..7620de0102dfa0ebd5430ae5d64d11ea76b259d3:/src/mvc/event.h diff --git a/src/mvc/event.h b/src/mvc/event.h index 8eaedc1..6c82a2b 100644 --- a/src/mvc/event.h +++ b/src/mvc/event.h @@ -26,6 +26,7 @@ public: static QList getSearchResultByDate(const QDate& date, int conferenceId, QString orderBy); static QList nowEvents(int conferenceId, QString orderBy); // get events scheduled NOW static QList getByTrack(int id); + static QList getByDateAndRoom(const QDate& date, int conferenceId); public: int id() const { return value("id").toInt(); } int conferenceId() const { return value("xid_conference").toInt(); } @@ -44,6 +45,7 @@ public: QString description() const { return value("description").toString(); } // records from other tables associated with 'id' QString room() const; + int roomId() const; QStringList persons() const; void setId(int id) { setValue("id", id); }