![]() |
Home | ![]() |
The QMailMessageBodyFwd class declares enumerations used by QMailMessageBody More...
#include <QMailMessageBodyFwd>
This class is under development and is subject to change.
Inherited by QMailMessageBody.
enum | EncodingFormat { Encoded, Decoded } |
enum | EncodingStatus { AlreadyEncoded, RequiresEncoding } |
enum | TransferEncoding { NoEncoding, SevenBit, EightBit, Base64, QuotedPrintable, Binary } |
The QMailMessageBodyFwd class declares enumerations used by QMailMessageBody
QMailMessageBodyFwd allows QMailMessageBody::TransferEncoding and QMailMessageBody::EncodingStatus to be used without including all of qmailmessage.h.
This enum type is used to describe the format in which body data should be presented.
Constant | Value | Description |
---|---|---|
QMailMessageBodyFwd::Encoded | 1 | The body data should be presented in encoded form. |
QMailMessageBodyFwd::Decoded | 2 | The body data should be presented in unencoded form. |
This enum type is used to describe the encoding status of body data.
Constant | Value | Description |
---|---|---|
QMailMessageBodyFwd::AlreadyEncoded | 1 | The body data is already encoded to the necessary encoding. |
QMailMessageBodyFwd::RequiresEncoding | 2 | The body data is unencoded, and thus requires encoding for transmission. |
This enum type is used to describe a type of binary to text encoding. Encoding types used here are documented in RFC 2045 "Format of Internet Message Bodies"
Constant | Value | Description |
---|---|---|
QMailMessageBodyFwd::NoEncoding | 0 | The encoding is not specified. |
QMailMessageBodyFwd::SevenBit | 1 | The data is not encoded, but contains only 7-bit ASCII data. |
QMailMessageBodyFwd::EightBit | 2 | The data is not encoded, but contains data using only 8-bit characters which form a superset of ASCII. |
QMailMessageBodyFwd::Base64 | 3 | A 65-character subset of US-ASCII is used, enabling 6 bits to be represented per printable character. |
QMailMessageBodyFwd::QuotedPrintable | 4 | A method of encoding that tends to leave text similar to US-ASCII unmodified for readability. |
QMailMessageBodyFwd::Binary | 5 | The data is not encoded to any limited subset of octet values. |
See also QMailCodec.
Copyright © 2010 QtSoftware | Messaging Framework |