akonadi/kmime
20 #ifndef AKONADI_SPECIALMAILCOLLECTIONS_H
21 #define AKONADI_SPECIALMAILCOLLECTIONS_H
23 #include "akonadi-kmime_export.h"
25 #include "akonadi/specialcollections.h"
29 class SpecialMailCollectionsPrivate;
99 bool hasCollection(Type type,
const AgentInstance &instance)
const;
105 Akonadi::Collection collection(Type type,
const AgentInstance &instance)
const;
112 static Type specialCollectionType(
const Akonadi::Collection &collection);
123 bool registerCollection(Type type,
const Akonadi::Collection &collection);
131 bool unregisterCollection(
const Collection &collection);
137 bool hasDefaultCollection(Type type)
const;
143 Akonadi::Collection defaultCollection(Type type)
const;
145 void verifyI18nDefaultCollection(Type type);
147 void slotCollectionModified(KJob *job);
150 friend class SpecialMailCollectionsPrivate;
152 #if 1 // TODO do this only if building tests:
154 friend class LocalFoldersTest;
159 SpecialMailCollectionsPrivate *
const d;
165 #endif // AKONADI_SPECIALMAILCOLLECTIONS_H
@ Drafts
The drafts collection.
Interface to special mail collections such as inbox, outbox etc.
@ Trash
The trash collection.
Type
Describes the possible types of special mail collections.
@ Templates
The templates collection.
@ Inbox
The inbox collection.
@ SentMail
The sent-mail collection.
@ Outbox
The outbox collection.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by
doxygen 1.8.18 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.