diff options
Diffstat (limited to 'common/domain/applicationdomaintype.cpp')
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 99f14a1..1efe052 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -96,6 +96,15 @@ SINK_REGISTER_PROPERTY(Folder, SpecialPurpose); | |||
96 | SINK_REGISTER_PROPERTY(Folder, Enabled); | 96 | SINK_REGISTER_PROPERTY(Folder, Enabled); |
97 | SINK_REGISTER_PROPERTY(Folder, Parent); | 97 | SINK_REGISTER_PROPERTY(Folder, Parent); |
98 | 98 | ||
99 | SINK_REGISTER_PROPERTY(Contact, Uid); | ||
100 | SINK_REGISTER_PROPERTY(Contact, Fn); | ||
101 | SINK_REGISTER_PROPERTY(Contact, Emails); | ||
102 | SINK_REGISTER_PROPERTY(Contact, Vcard); | ||
103 | SINK_REGISTER_PROPERTY(Contact, Addressbook); | ||
104 | |||
105 | SINK_REGISTER_PROPERTY(Addressbook, Name); | ||
106 | SINK_REGISTER_PROPERTY(Addressbook, Parent); | ||
107 | |||
99 | static const int foo = [] { | 108 | static const int foo = [] { |
100 | QMetaType::registerEqualsComparator<Reference>(); | 109 | QMetaType::registerEqualsComparator<Reference>(); |
101 | QMetaType::registerDebugStreamOperator<Reference>(); | 110 | QMetaType::registerDebugStreamOperator<Reference>(); |
@@ -369,6 +378,12 @@ QByteArray getTypeName<Contact>() | |||
369 | } | 378 | } |
370 | 379 | ||
371 | template<> | 380 | template<> |
381 | QByteArray getTypeName<Addressbook>() | ||
382 | { | ||
383 | return "addressbook"; | ||
384 | } | ||
385 | |||
386 | template<> | ||
372 | QByteArray getTypeName<Event>() | 387 | QByteArray getTypeName<Event>() |
373 | { | 388 | { |
374 | return "event"; | 389 | return "event"; |