Eneboo - Documentación para desarrolladores
|
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 &) |
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.
decode MIME text (crlf-ended) into UNIX text (cr-ended).
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.
encode UNIX text (cr-ended) into MIME text (crlf-ended).
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).