akonadi/kmime
#include <specialmailcollectionsrequestjob.h>
Inherits SpecialCollectionsRequestJob.
Public Member Functions | |
SpecialMailCollectionsRequestJob (QObject *parent=0) | |
~SpecialMailCollectionsRequestJob () | |
void | requestCollection (SpecialMailCollections::Type type, const AgentInstance &instance) |
void | requestDefaultCollection (SpecialMailCollections::Type type) |
Detailed Description
A job to request SpecialMailCollections.
Use this job to request the SpecialMailCollections you need. You can request both default SpecialMailCollections and SpecialMailCollections in a given resource. The default SpecialMailCollections resource is created when the first default SpecialCollection is requested, but if a SpecialCollection in a custom resource is requested, this job expects that resource to exist already.
If the folders you requested already exist, this job simply succeeds. Otherwise, it creates the required collections and registers them with SpecialMailCollections.
Example:
- Since
- 4.4
Definition at line 72 of file specialmailcollectionsrequestjob.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new special mail collections request job.
Definition at line 63 of file specialmailcollectionsrequestjob.cpp.
SpecialMailCollectionsRequestJob::~SpecialMailCollectionsRequestJob | ( | ) |
Destroys the special mail collections request job.
Definition at line 98 of file specialmailcollectionsrequestjob.cpp.
Member Function Documentation
void SpecialMailCollectionsRequestJob::requestCollection | ( | SpecialMailCollections::Type | type, |
const AgentInstance & | instance | ||
) |
Requests a special mail collection of the given type
in the given resource instance
.
Definition at line 107 of file specialmailcollectionsrequestjob.cpp.
void SpecialMailCollectionsRequestJob::requestDefaultCollection | ( | SpecialMailCollections::Type | type | ) |
Requests a special mail collection of the given type
in the default resource.
Definition at line 102 of file specialmailcollectionsrequestjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.