Changeset 4693fa6 in confclerk_git for src/mvc/event.h
- Timestamp:
- 01/20/10 22:02:30 (13 years ago)
- Branches:
- master, qt5
- Children:
- 8fe9bd2
- Parents:
- 926f106
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/event.h
r926f106 r4693fa6 24 24 static const int sTable1ColCount; 25 25 static const int sTable2ColCount; 26 static const QString XID_ACTIVITY;27 static const QString START;28 26 public: 29 27 static Event getById(int id, int conferenceId); … … 34 32 int id() const { return value("id").toInt(); } 35 33 int conferenceId() const { return value("xid_conference").toInt(); } 36 QDateTime start() const { return value( START).toDateTime(); }34 QDateTime start() const { return value("start").toDateTime(); } 37 35 int duration() const { return value("duration").toInt(); } 38 int activityId() const { return value(XID_ACTIVITY).toInt(); }36 int trackId() const { return value("xid_track").toInt(); } 39 37 QString type() const { return value("type").toString(); } 40 38 QString language() const { return value("language").toString(); } … … 55 53 void setId(int id) { setValue("id", id); } 56 54 void setConferenceId(int conferenceId) { setValue("xid_conference", conferenceId); } 57 void setStart(const QDateTime & start) { setValue( START, start); }55 void setStart(const QDateTime & start) { setValue("start", start); } 58 56 void setDuration(int duration) { setValue("duration", duration); } 59 void set ActivityId(int activityId) { setValue(XID_ACTIVITY, activityId); }57 void setTrackId(int trackId) { setValue("xid_track", trackId); } 60 58 void setType(const QString & type) { setValue("type", type); } 61 59 void setLanguage(const QString & language) { setValue("language", language); }
Note: See TracChangeset
for help on using the changeset viewer.