summaryrefslogtreecommitdiffstats
path: root/common/domain/applicationdomaintype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/domain/applicationdomaintype.cpp')
-rw-r--r--common/domain/applicationdomaintype.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp
index 1647951..6d16a3c 100644
--- a/common/domain/applicationdomaintype.cpp
+++ b/common/domain/applicationdomaintype.cpp
@@ -206,6 +206,11 @@ Entity::~Entity()
206 206
207} 207}
208 208
209Contact::~Contact()
210{
211
212}
213
209Event::~Event() 214Event::~Event()
210{ 215{
211 216
@@ -325,6 +330,12 @@ SinkResource ImapResource::create(const QByteArray &account)
325} 330}
326 331
327template<> 332template<>
333QByteArray getTypeName<Contact>()
334{
335 return "contact";
336}
337
338template<>
328QByteArray getTypeName<Event>() 339QByteArray getTypeName<Event>()
329{ 340{
330 return "event"; 341 return "event";
@@ -377,6 +388,7 @@ QByteArrayList getTypeNames()
377 types << ApplicationDomain::getTypeName<Folder>(); 388 types << ApplicationDomain::getTypeName<Folder>();
378 types << ApplicationDomain::getTypeName<Event>(); 389 types << ApplicationDomain::getTypeName<Event>();
379 types << ApplicationDomain::getTypeName<Todo>(); 390 types << ApplicationDomain::getTypeName<Todo>();
391 types << ApplicationDomain::getTypeName<Contact>();
380 } 392 }
381 return types; 393 return types;
382} 394}