Eneboo - Documentación para desarrolladores
Funciones
Referencia del Namespace MIMECodec

Funciones

FL_EXPORT QCString canonicalForm (const QCString &)
FL_EXPORT QString translate (const QCString &)
FL_EXPORT QCString fold (const QCString &)
FL_EXPORT QCString unfold (const QCString &)
FL_EXPORT QCString encodeEndLine (const QCString &)
FL_EXPORT QCString decodeEndLine (const QCString &)
FL_EXPORT QCString encodeQuotedPrintable (const QCString &, bool=false, bool=false)
FL_EXPORT QCString decodeQuotedPrintable (const QCString &)
FL_EXPORT QByteArray encodeBase64 (const QByteArray &, bool endNewLine=true, bool endAllNewLines=true)
FL_EXPORT QByteArray decodeBase64 (const QByteArray &)
FL_EXPORT QByteArray encode (const QByteArray &, const char *, bool=false)
FL_EXPORT QByteArray decode (const QByteArray &, const char *)
FL_EXPORT QString encodeMessageId (const QString &, const QString &)
FL_EXPORT QByteArray CramMd5Digest (const QCString &, const QCString &, const QCString &)

Documentación de las funciones

QCString MIMECodec::canonicalForm ( const QCString str)

wrap a text without CR-LF chars on the 76 character boundary.

QByteArray MIMECodec::CramMd5Digest ( const QCString username,
const QCString password,
const QCString challenge 
)

create a cram-md5-digest using username, password, challenge from Rik Hemsley (rikkus) <rik@kde.org>

QByteArray MIMECodec::decode ( const QByteArray buf,
const char *  encoding 
)

decode binary data using encoding name.

QByteArray MIMECodec::decodeBase64 ( const QByteArray buf)

decode base64-encoded binary data.

QCString MIMECodec::decodeEndLine ( const QCString str)

decode MIME text (crlf-ended) into UNIX text (cr-ended).

QCString MIMECodec::decodeQuotedPrintable ( const QCString text)

decode quoted-printable encoded text.

QByteArray MIMECodec::encode ( const QByteArray buf,
const char *  encoding,
bool  footer = false 
)

encode binary data using the given encoding name ("base64", "quoted-printable", "7bit", "8bit", "binary", "none", "quoted-printable-compat" <- this can be used only for encoding).

QByteArray MIMECodec::encodeBase64 ( const QByteArray buf,
bool  endNewLine = true,
bool  endAllNewLines = true 
)

encode binary data in base64 format.

QCString MIMECodec::encodeEndLine ( const QCString str)

encode UNIX text (cr-ended) into MIME text (crlf-ended).

QString MIMECodec::encodeMessageId ( const QString indexNr,
const QString userName 
)

encode the message id. It has a unique number/string and the user name like parameter.

QCString MIMECodec::encodeQuotedPrintable ( const QCString str,
bool  compat = false,
bool  footer = false 
)

encode text in quoted-printable format (the bool parameter forces extra MIME gateway compatibility).

QCString MIMECodec::fold ( const QCString str)

MIME-fold text (used for headers).

QString MIMECodec::translate ( const QCString name)

translate a MIME-encoded text.

QCString MIMECodec::unfold ( const QCString str)

unfold MIME-folded text.

 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'