KIMAP

rfccodecs.h File Reference
#include <QString>
#include "kimap_export.h"
Include dependency graph for rfccodecs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

KIMAP_EXPORT QByteArray KIMAP::decodeImapFolderName (const QByteArray &inSrc)
 
KIMAP_EXPORT QString KIMAP::decodeImapFolderName (const QString &inSrc)
 
KIMAP_EXPORT QByteArray KIMAP::encodeImapFolderName (const QByteArray &src)
 
KIMAP_EXPORT QString KIMAP::encodeImapFolderName (const QString &src)
 
KIMAP_EXPORT QByteArray KIMAP::quoteIMAP (const QByteArray &src)
 
KIMAP_EXPORT QString KIMAP::quoteIMAP (const QString &src)
 

Detailed Description

This file is part of the IMAP support library and defines the RfcCodecs class.

Provides handlers for various RFC/MIME encodings.

Author
Sven Carstens

Definition in file rfccodecs.h.

Function Documentation

◆ decodeImapFolderName() [1/2]

QByteArray KIMAP::decodeImapFolderName ( const QByteArray & inSrc)
nodiscard

Converts an UTF-7 encoded IMAP mailbox to a QByteArray.

Parameters
inSrcis the QByteArray containing the Unicode path.
Since
4.3

Definition at line 53 of file rfccodecs.cpp.

◆ decodeImapFolderName() [2/2]

QString KIMAP::decodeImapFolderName ( const QString & inSrc)
nodiscard

Converts an UTF-7 encoded IMAP mailbox to a Unicode QString.

Parameters
inSrcis the QString containing the Unicode path.

Definition at line 142 of file rfccodecs.cpp.

◆ encodeImapFolderName() [1/2]

QByteArray KIMAP::encodeImapFolderName ( const QByteArray & src)
nodiscard

Converts an Unicode IMAP mailbox to a QByteArray which can be used in IMAP communication.

Parameters
srcis the QByteArray containing the IMAP mailbox.
Since
4.3

Definition at line 185 of file rfccodecs.cpp.

◆ encodeImapFolderName() [2/2]

QString KIMAP::encodeImapFolderName ( const QString & src)
nodiscard

Converts an Unicode IMAP mailbox to a QString which can be used in IMAP communication.

Parameters
srcis the QString containing the IMAP mailbox.

Definition at line 180 of file rfccodecs.cpp.

◆ quoteIMAP() [1/2]

QByteArray KIMAP::quoteIMAP ( const QByteArray & src)
nodiscard

Replaces " with \" and \ with \\ " and \ characters.

Parameters
srcis the QString to quote.
Since
4.3

Definition at line 149 of file rfccodecs.cpp.

◆ quoteIMAP() [2/2]

QString KIMAP::quoteIMAP ( const QString & src)
nodiscard

Replaces " with \" and \ with \\ " and \ characters.

Parameters
srcis the QString to quote.

Definition at line 164 of file rfccodecs.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.