Home

QMailMessageBodyFwd Class Reference

The QMailMessageBodyFwd class declares enumerations used by QMailMessageBody More...

    #include <QMailMessageBodyFwd>

This class is under development and is subject to change.

Inherited by QMailMessageBody.


Public Types

enum EncodingFormat { Encoded, Decoded }
enum EncodingStatus { AlreadyEncoded, RequiresEncoding }
enum TransferEncoding { NoEncoding, SevenBit, EightBit, Base64, QuotedPrintable, Binary }

Detailed Description

The QMailMessageBodyFwd class declares enumerations used by QMailMessageBody

QMailMessageBodyFwd allows QMailMessageBody::TransferEncoding and QMailMessageBody::EncodingStatus to be used without including all of qmailmessage.h.


Member Type Documentation

enum QMailMessageBodyFwd::EncodingFormat

This enum type is used to describe the format in which body data should be presented.

ConstantValueDescription
QMailMessageBodyFwd::Encoded1The body data should be presented in encoded form.
QMailMessageBodyFwd::Decoded2The body data should be presented in unencoded form.

enum QMailMessageBodyFwd::EncodingStatus

This enum type is used to describe the encoding status of body data.

ConstantValueDescription
QMailMessageBodyFwd::AlreadyEncoded1The body data is already encoded to the necessary encoding.
QMailMessageBodyFwd::RequiresEncoding2The body data is unencoded, and thus requires encoding for transmission.

enum QMailMessageBodyFwd::TransferEncoding

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"

ConstantValueDescription
QMailMessageBodyFwd::NoEncoding0The encoding is not specified.
QMailMessageBodyFwd::SevenBit1The data is not encoded, but contains only 7-bit ASCII data.
QMailMessageBodyFwd::EightBit2The data is not encoded, but contains data using only 8-bit characters which form a superset of ASCII.
QMailMessageBodyFwd::Base643A 65-character subset of US-ASCII is used, enabling 6 bits to be represented per printable character.
QMailMessageBodyFwd::QuotedPrintable4A method of encoding that tends to leave text similar to US-ASCII unmodified for readability.
QMailMessageBodyFwd::Binary5The data is not encoded to any limited subset of octet values.

See also QMailCodec.


Copyright © 2010 QtSoftware
Messaging Framework