tdeioslave/imap4

rfcDecoder Class Reference

#include <rfcdecoder.h>

List of all members.

Static Public Member Functions

static TQString fromIMAP (const TQString &src)
static TQString toIMAP (const TQString &inSrc)
static TQString quoteIMAP (const TQString &src)
static TQString decodeQuoting (const TQString &aStr)
static TQTextCodec * codecForName (const TQString &)
static const TQString decodeRFC2047String (const TQString &_str, TQString &charset, TQString &language)
static const TQString decodeRFC2047String (const TQString &_str, TQString &charset)
static const TQString decodeRFC2047String (const TQString &_str)
static const TQString encodeRFC2047String (const TQString &_str, TQString &charset, TQString &language)
static const TQString encodeRFC2047String (const TQString &_str, TQString &charset)
static const TQString encodeRFC2047String (const TQString &_str)
static const TQString encodeRFC2231String (const TQString &_str)
static const TQString decodeRFC2231String (const TQString &_str)

Detailed Description

handler for various rfc/mime encodings

Author:
Sven Carstens <s.carstens@gmx.de>
Date:
2000
Todo:
rename to rfcCodecs as it encodes too.

Definition at line 36 of file rfcdecoder.h.


Member Function Documentation

TQTextCodec * rfcDecoder::codecForName ( const TQString &  _str) [static]

fetch a codec by name

Returns:
Text Codec object

Definition at line 309 of file rfcdecoder.cc.

TQString rfcDecoder::decodeQuoting ( const TQString &  aStr) [static]

remove \ from a string

Bug:
I'm pretty sure this doesn't do what the author meant it to do

Definition at line 295 of file rfcdecoder.cc.

const TQString rfcDecoder::decodeRFC2047String ( const TQString &  _str,
TQString &  charset,
TQString &  language 
) [static]

decode a RFC2047 String

Definition at line 337 of file rfcdecoder.cc.

const TQString rfcDecoder::decodeRFC2047String ( const TQString &  _str,
TQString &  charset 
) [static]

decode a RFC2047 String

Definition at line 328 of file rfcdecoder.cc.

const TQString rfcDecoder::decodeRFC2047String ( const TQString &  _str) [static]

decode a RFC2047 String

Definition at line 319 of file rfcdecoder.cc.

const TQString rfcDecoder::decodeRFC2231String ( const TQString &  _str) [static]

decode a RFC2231 String

Definition at line 629 of file rfcdecoder.cc.

static const TQString rfcDecoder::encodeRFC2047String ( const TQString &  _str,
TQString &  charset,
TQString &  language 
) [static]

encode a RFC2047 String

static const TQString rfcDecoder::encodeRFC2047String ( const TQString &  _str,
TQString &  charset 
) [static]

encode a RFC2047 String

const TQString rfcDecoder::encodeRFC2047String ( const TQString &  _str) [static]

encode a RFC2047 String

Definition at line 461 of file rfcdecoder.cc.

const TQString rfcDecoder::encodeRFC2231String ( const TQString &  _str) [static]

encode a RFC2231 String

Definition at line 575 of file rfcdecoder.cc.

TQString rfcDecoder::fromIMAP ( const TQString &  src) [static]

Convert an IMAP mailbox to a Unicode path.

Definition at line 55 of file rfcdecoder.cc.

TQString rfcDecoder::quoteIMAP ( const TQString &  src) [static]

replace " with \" and \ with \ " and \ characters

Definition at line 158 of file rfcdecoder.cc.

TQString rfcDecoder::toIMAP ( const TQString &  inSrc) [static]

Convert Unicode path to modified UTF-7 IMAP mailbox.

Definition at line 175 of file rfcdecoder.cc.


The documentation for this class was generated from the following files: