summaryrefslogtreecommitdiffstats
path: root/common/domain/applicationdomaintype.cpp
diff options
context:
space:
mode:
authorRémi Nicole <nicole@kolabsystems.com>2018-05-06 17:42:37 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-06 17:52:51 +0200
commit90a8d33f7c17c802730fd9b978db0e32d28a7dff (patch)
treed270feeb64815da8de3ffb544b14af362424c279 /common/domain/applicationdomaintype.cpp
parent3d998856895f0e82a4d0eadd398dafbe1d027e34 (diff)
downloadsink-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.cpp13
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);
132SINK_REGISTER_PROPERTY(Event, Ical); 132SINK_REGISTER_PROPERTY(Event, Ical);
133SINK_REGISTER_PROPERTY(Event, Calendar); 133SINK_REGISTER_PROPERTY(Event, Calendar);
134 134
135SINK_REGISTER_ENTITY(Todo);
136SINK_REGISTER_PROPERTY(Todo, Uid);
137SINK_REGISTER_PROPERTY(Todo, Summary);
138SINK_REGISTER_PROPERTY(Todo, Description);
139SINK_REGISTER_PROPERTY(Todo, CompletedDate);
140SINK_REGISTER_PROPERTY(Todo, DueDate);
141SINK_REGISTER_PROPERTY(Todo, StartDate);
142SINK_REGISTER_PROPERTY(Todo, Status);
143SINK_REGISTER_PROPERTY(Todo, Priority);
144SINK_REGISTER_PROPERTY(Todo, Categories);
145SINK_REGISTER_PROPERTY(Todo, Ical);
146SINK_REGISTER_PROPERTY(Todo, Calendar);
147
135SINK_REGISTER_ENTITY(Calendar); 148SINK_REGISTER_ENTITY(Calendar);
136SINK_REGISTER_PROPERTY(Calendar, Name); 149SINK_REGISTER_PROPERTY(Calendar, Name);
137 150