diff options
-rw-r--r-- | common/domain/applicationdomaintype.h | 8 | ||||
-rw-r--r-- | common/specialpurposepreprocessor.cpp | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index e9f11ba..e581e07 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -338,6 +338,14 @@ namespace Mail { | |||
338 | }; | 338 | }; |
339 | }; | 339 | }; |
340 | 340 | ||
341 | namespace SpecialPurpose { | ||
342 | namespace Mail { | ||
343 | static constexpr const char *inbox = "inbox"; | ||
344 | static constexpr const char *drafts = "drafts"; | ||
345 | static constexpr const char *trash = "trash"; | ||
346 | }; | ||
347 | }; | ||
348 | |||
341 | /** | 349 | /** |
342 | * All types need to be registered here an MUST return a different name. | 350 | * All types need to be registered here an MUST return a different name. |
343 | * | 351 | * |
diff --git a/common/specialpurposepreprocessor.cpp b/common/specialpurposepreprocessor.cpp index 0985880..b9ad94a 100644 --- a/common/specialpurposepreprocessor.cpp +++ b/common/specialpurposepreprocessor.cpp | |||
@@ -13,6 +13,7 @@ static QHash<QByteArray, QString> specialPurposeFolders() | |||
13 | //FIXME localize | 13 | //FIXME localize |
14 | hash.insert("drafts", "Drafts"); | 14 | hash.insert("drafts", "Drafts"); |
15 | hash.insert("trash", "Trash"); | 15 | hash.insert("trash", "Trash"); |
16 | hash.insert("inbox", "Inbox"); | ||
16 | return hash; | 17 | return hash; |
17 | } | 18 | } |
18 | 19 | ||