diff options
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-rw-r--r-- | common/domain/applicationdomaintype.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 39e66ab..93de8f5 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -407,6 +407,17 @@ struct SINK_EXPORT Event : public Entity { | |||
407 | 407 | ||
408 | struct SINK_EXPORT Todo : public Entity { | 408 | struct SINK_EXPORT Todo : public Entity { |
409 | SINK_ENTITY(Todo, todo); | 409 | SINK_ENTITY(Todo, todo); |
410 | SINK_EXTRACTED_PROPERTY(QString, Uid, uid); | ||
411 | SINK_EXTRACTED_PROPERTY(QString, Summary, summary); | ||
412 | SINK_EXTRACTED_PROPERTY(QString, Description, description); | ||
413 | SINK_EXTRACTED_PROPERTY(QDateTime, CompletedDate, completedDate); | ||
414 | SINK_EXTRACTED_PROPERTY(QDateTime, DueDate, dueDate); | ||
415 | SINK_EXTRACTED_PROPERTY(QDateTime, StartDate, startDate); | ||
416 | SINK_EXTRACTED_PROPERTY(QString, Status, status); | ||
417 | SINK_EXTRACTED_PROPERTY(int, Priority, priority); | ||
418 | SINK_EXTRACTED_PROPERTY(QStringList, Categories, categories); | ||
419 | SINK_PROPERTY(QByteArray, Ical, ical); | ||
420 | SINK_REFERENCE_PROPERTY(Calendar, Calendar, calendar); | ||
410 | }; | 421 | }; |
411 | 422 | ||
412 | struct SINK_EXPORT Folder : public Entity { | 423 | struct SINK_EXPORT Folder : public Entity { |
@@ -506,6 +517,11 @@ namespace Event { | |||
506 | static constexpr const char *calendar = "calendar"; | 517 | static constexpr const char *calendar = "calendar"; |
507 | static constexpr const char *storage = "event.storage"; | 518 | static constexpr const char *storage = "event.storage"; |
508 | }; | 519 | }; |
520 | namespace Todo { | ||
521 | static constexpr const char *todo = "todo"; | ||
522 | static constexpr const char *calendar = "calendar"; | ||
523 | static constexpr const char *storage = "todo.storage"; | ||
524 | }; | ||
509 | }; | 525 | }; |
510 | 526 | ||
511 | namespace SpecialPurpose { | 527 | namespace SpecialPurpose { |
@@ -558,6 +574,7 @@ class SINK_EXPORT TypeImplementation; | |||
558 | REGISTER_TYPE(Sink::ApplicationDomain::Contact) \ | 574 | REGISTER_TYPE(Sink::ApplicationDomain::Contact) \ |
559 | REGISTER_TYPE(Sink::ApplicationDomain::Addressbook) \ | 575 | REGISTER_TYPE(Sink::ApplicationDomain::Addressbook) \ |
560 | REGISTER_TYPE(Sink::ApplicationDomain::Event) \ | 576 | REGISTER_TYPE(Sink::ApplicationDomain::Event) \ |
577 | REGISTER_TYPE(Sink::ApplicationDomain::Todo) \ | ||
561 | REGISTER_TYPE(Sink::ApplicationDomain::Calendar) \ | 578 | REGISTER_TYPE(Sink::ApplicationDomain::Calendar) \ |
562 | REGISTER_TYPE(Sink::ApplicationDomain::Mail) \ | 579 | REGISTER_TYPE(Sink::ApplicationDomain::Mail) \ |
563 | REGISTER_TYPE(Sink::ApplicationDomain::Folder) \ | 580 | REGISTER_TYPE(Sink::ApplicationDomain::Folder) \ |