diff options
Diffstat (limited to 'common/domain')
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 1 | ||||
-rw-r--r-- | common/domain/applicationdomaintype.h | 1 | ||||
-rw-r--r-- | common/domain/event.fbs | 1 | ||||
-rw-r--r-- | common/domain/typeimplementations.cpp | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index b1469e1..6e22168 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -129,6 +129,7 @@ SINK_REGISTER_PROPERTY(Event, Summary); | |||
129 | SINK_REGISTER_PROPERTY(Event, Description); | 129 | SINK_REGISTER_PROPERTY(Event, Description); |
130 | SINK_REGISTER_PROPERTY(Event, StartTime); | 130 | SINK_REGISTER_PROPERTY(Event, StartTime); |
131 | SINK_REGISTER_PROPERTY(Event, EndTime); | 131 | SINK_REGISTER_PROPERTY(Event, EndTime); |
132 | SINK_REGISTER_PROPERTY(Event, AllDay); | ||
132 | SINK_REGISTER_PROPERTY(Event, Ical); | 133 | SINK_REGISTER_PROPERTY(Event, Ical); |
133 | SINK_REGISTER_PROPERTY(Event, Calendar); | 134 | SINK_REGISTER_PROPERTY(Event, Calendar); |
134 | 135 | ||
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 93de8f5..d995b92 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -401,6 +401,7 @@ struct SINK_EXPORT Event : public Entity { | |||
401 | SINK_EXTRACTED_PROPERTY(QString, Description, description); | 401 | SINK_EXTRACTED_PROPERTY(QString, Description, description); |
402 | SINK_EXTRACTED_PROPERTY(QDateTime, StartTime, startTime); | 402 | SINK_EXTRACTED_PROPERTY(QDateTime, StartTime, startTime); |
403 | SINK_EXTRACTED_PROPERTY(QDateTime, EndTime, endTime); | 403 | SINK_EXTRACTED_PROPERTY(QDateTime, EndTime, endTime); |
404 | SINK_EXTRACTED_PROPERTY(bool, AllDay, allDay); | ||
404 | SINK_PROPERTY(QByteArray, Ical, ical); | 405 | SINK_PROPERTY(QByteArray, Ical, ical); |
405 | SINK_REFERENCE_PROPERTY(Calendar, Calendar, calendar); | 406 | SINK_REFERENCE_PROPERTY(Calendar, Calendar, calendar); |
406 | }; | 407 | }; |
diff --git a/common/domain/event.fbs b/common/domain/event.fbs index 77aaef6..9923810 100644 --- a/common/domain/event.fbs +++ b/common/domain/event.fbs | |||
@@ -6,6 +6,7 @@ table Event { | |||
6 | description:string; | 6 | description:string; |
7 | startTime:string; | 7 | startTime:string; |
8 | endTime:string; | 8 | endTime:string; |
9 | allDay:bool; | ||
9 | ical:string; | 10 | ical:string; |
10 | calendar:string; | 11 | calendar:string; |
11 | } | 12 | } |
diff --git a/common/domain/typeimplementations.cpp b/common/domain/typeimplementations.cpp index b584138..e65c998 100644 --- a/common/domain/typeimplementations.cpp +++ b/common/domain/typeimplementations.cpp | |||
@@ -212,6 +212,7 @@ void TypeImplementation<Event>::configure(PropertyMapper &propertyMapper) | |||
212 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, Uid, uid); | 212 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, Uid, uid); |
213 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, StartTime, startTime); | 213 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, StartTime, startTime); |
214 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, EndTime, endTime); | 214 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, EndTime, endTime); |
215 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, AllDay, allDay); | ||
215 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, Ical, ical); | 216 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, Ical, ical); |
216 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, Calendar, calendar); | 217 | SINK_REGISTER_SERIALIZER(propertyMapper, Event, Calendar, calendar); |
217 | } | 218 | } |