KIMAP
#include <QString>
#include "kimap_export.h"


Go to the source code of this file.
Detailed Description
This file is part of the IMAP support library and defines the RfcCodecs class.
Provides handlers for various RFC/MIME encodings.
Definition in file rfccodecs.h.
Function Documentation
QTextCodec * KIMAP::codecForName | ( | const QString & | name | ) |
Fetches a Codec by name
.
- Parameters
-
name is the QString version of the Codec name.
- Returns
- Text Codec object
Definition at line 280 of file rfccodecs.cpp.
QByteArray KIMAP::decodeImapFolderName | ( | const QByteArray & | inSrc | ) |
Converts an UTF-7 encoded IMAP mailbox to a QByteArray.
- Parameters
-
inSrc is the QByteArray containing the Unicode path.
- Since
- 4.3
Definition at line 56 of file rfccodecs.cpp.
Converts an UTF-7 encoded IMAP mailbox to a Unicode QString.
- Parameters
-
inSrc is the QString containing the Unicode path.
Definition at line 140 of file rfccodecs.cpp.
const QString KIMAP::decodeRFC2047String | ( | const QString & | str, |
QString & | charset, | ||
QString & | language | ||
) |
Decodes a RFC2047 string str
.
- Parameters
-
str is the QString to decode. charset is the character set to use when decoding. language is the language found in the charset.
Definition at line 307 of file rfccodecs.cpp.
Decodes a RFC2047 string str
.
- Parameters
-
str is the QString to decode. charset is the character set to use when decoding.
Definition at line 298 of file rfccodecs.cpp.
Decodes a RFC2047 string str
.
- Parameters
-
str is the QString to decode.
Definition at line 290 of file rfccodecs.cpp.
Decodes a RFC2231 string str
.
- Parameters
-
str is the QString to decode.
Definition at line 601 of file rfccodecs.cpp.
QByteArray KIMAP::encodeImapFolderName | ( | const QByteArray & | src | ) |
Converts an Unicode IMAP mailbox to a QByteArray which can be used in IMAP communication.
- Parameters
-
src is the QByteArray containing the IMAP mailbox.
- Since
- 4.3
Definition at line 183 of file rfccodecs.cpp.
Converts an Unicode IMAP mailbox to a QString which can be used in IMAP communication.
- Parameters
-
src is the QString containing the IMAP mailbox.
Definition at line 178 of file rfccodecs.cpp.
Encodes a RFC2047 string str
.
- Parameters
-
str is the QString to encode.
Definition at line 424 of file rfccodecs.cpp.
const QByteArray KIMAP::encodeRFC2047String | ( | const QByteArray & | str | ) |
Encodes a RFC2047 string str
.
- Parameters
-
str is the QString to encode.
Definition at line 430 of file rfccodecs.cpp.
Encodes a RFC2231 string str
.
- Parameters
-
str is the QString to encode.
Definition at line 548 of file rfccodecs.cpp.
Replaces " with \" and \ with \ " and \ characters.
- Parameters
-
src is the QString to quote.
Definition at line 162 of file rfccodecs.cpp.
QByteArray KIMAP::quoteIMAP | ( | const QByteArray & | src | ) |
Replaces " with \" and \ with \ " and \ characters.
- Parameters
-
src is the QString to quote.
- Since
- 4.3
Definition at line 147 of file rfccodecs.cpp.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:15:31 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.