- void setId(int id) { setValue("id", id); }
- void setConferenceId(int conferenceId) { setValue("xid_conference", conferenceId); }
- void setStart(const QDateTime& start) { setValue("start", start); }
- void setDuration(int duration) { setValue("duration", duration); }
- void setActivityId(int activityId) { setValue("xid_activity", activityId); }
- void setType(const QString& type) { setValue("type", type); }
- void setLanguage(const QString& language) { setValue("language", language); }
- void setFavourite(bool favourite) { setValue("favourite", (int)favourite); }
- void setHasAlarm(bool alarm) { setValue("alarm", (int)alarm); }
+ void setId(int id)
+ {
+ setValue("id", id);
+ }
+
+ void setConferenceId(int conferenceId)
+ {
+ setValue("xid_conference", conferenceId);
+ }
+
+ void setStart(const QDateTime & start)
+ {
+ setValue(START, start);
+ }
+
+ void setDuration(int duration)
+ {
+ setValue("duration", duration);
+ }
+
+ void setActivityId(int activityId)
+ {
+ setValue(XID_ACTIVITY, activityId);
+ }
+
+ void setType(const QString & type)
+ {
+ setValue("type", type);
+ }
+
+ void setLanguage(const QString & language)
+ {
+ setValue("language", language);
+ }
+
+ void setFavourite(bool favourite)
+ {
+ setValue("favourite", (int)((favourite)));
+ }
+
+ void setHasAlarm(bool alarm)
+ {
+ setValue("alarm", (int)((alarm))); }