Used to indicate what message data should be fetched. More...
#include <fetchjob.h>
Public Types | |
enum | Mode { Headers, Flags, Structure, Content, Full } |
Public Attributes | |
Mode | mode |
QList< QByteArray > | parts |
Detailed Description
Used to indicate what message data should be fetched.
This doesn't provide the same fine-grained control over what is fetched that the IMAP FETCH command normally does, but the common cases are catered for.
Definition at line 71 of file fetchjob.h.
Member Enumeration Documentation
Used to indicate what part of the message should be fetched.
- Enumerator:
Definition at line 76 of file fetchjob.h.
Member Data Documentation
Specify what message data should be fetched.
Definition at line 132 of file fetchjob.h.
QList<QByteArray> KIMAP::FetchJob::FetchScope::parts |
Specify which message parts to operate on.
This refers to multipart-MIME message parts or MIME-IMB encapsulated message parts.
Note that this is ignored unless mode
is Headers or Content.
If mode
is Headers, this sets the parts to get the MIME headers for. If this list is empty, the headers for the whole message (the RFC-2822 headers) are fetched.
If mode
is Content, this sets the parts to fetch. Parts are fetched wholesale. If this list is empty, the whole message body is fetched (all MIME parts together).
Definition at line 128 of file fetchjob.h.
The documentation for this struct was generated from the following file: