From bbbda3fe9444eba6795a5490da0425cdf8f26361 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 8 Sep 2015 21:08:54 +0200 Subject: Added support for mails to akonadi and the dummyresource. Adding new types definitely needs to become easier. --- common/domain/applicationdomaintype.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'common/domain/applicationdomaintype.cpp') diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 47ff0c3..3cc075b 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp @@ -40,6 +40,18 @@ QByteArray getTypeName() return "akonadiresource"; } +template<> +QByteArray getTypeName() +{ + return "mail"; +} + +template<> +QByteArray getTypeName() +{ + return "folder"; +} + } } -- cgit v1.2.3