diff options
author | Rémi Nicole <nicole@kolabsystems.com> | 2018-05-06 17:42:37 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-06 17:52:51 +0200 |
commit | 90a8d33f7c17c802730fd9b978db0e32d28a7dff (patch) | |
tree | d270feeb64815da8de3ffb544b14af362424c279 /common/domain/applicationdomaintype.cpp | |
parent | 3d998856895f0e82a4d0eadd398dafbe1d027e34 (diff) | |
download | sink-90a8d33f7c17c802730fd9b978db0e32d28a7dff.tar.gz sink-90a8d33f7c17c802730fd9b978db0e32d28a7dff.zip |
Implement Todo entity type
Summary:
Some notes:
- Needed to specialize some flatbuffers related functions for serializing QStringList and int
- Removed useless qWarnings in caldav test
- Rename EventSynchronizer -> CalDAVSynchronizer since it also synchronizes Calendars and Todos (and more to come!)
Reviewers: cmollekopf
Tags: #sink
Differential Revision: https://phabricator.kde.org/D12695
Diffstat (limited to 'common/domain/applicationdomaintype.cpp')
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 78d46ee..b1469e1 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -132,6 +132,19 @@ SINK_REGISTER_PROPERTY(Event, EndTime); | |||
132 | SINK_REGISTER_PROPERTY(Event, Ical); | 132 | SINK_REGISTER_PROPERTY(Event, Ical); |
133 | SINK_REGISTER_PROPERTY(Event, Calendar); | 133 | SINK_REGISTER_PROPERTY(Event, Calendar); |
134 | 134 | ||
135 | SINK_REGISTER_ENTITY(Todo); | ||
136 | SINK_REGISTER_PROPERTY(Todo, Uid); | ||
137 | SINK_REGISTER_PROPERTY(Todo, Summary); | ||
138 | SINK_REGISTER_PROPERTY(Todo, Description); | ||
139 | SINK_REGISTER_PROPERTY(Todo, CompletedDate); | ||
140 | SINK_REGISTER_PROPERTY(Todo, DueDate); | ||
141 | SINK_REGISTER_PROPERTY(Todo, StartDate); | ||
142 | SINK_REGISTER_PROPERTY(Todo, Status); | ||
143 | SINK_REGISTER_PROPERTY(Todo, Priority); | ||
144 | SINK_REGISTER_PROPERTY(Todo, Categories); | ||
145 | SINK_REGISTER_PROPERTY(Todo, Ical); | ||
146 | SINK_REGISTER_PROPERTY(Todo, Calendar); | ||
147 | |||
135 | SINK_REGISTER_ENTITY(Calendar); | 148 | SINK_REGISTER_ENTITY(Calendar); |
136 | SINK_REGISTER_PROPERTY(Calendar, Name); | 149 | SINK_REGISTER_PROPERTY(Calendar, Name); |
137 | 150 | ||