tdeioslave/imap4

#include <rfcdecoder.h>

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.car.nosp@m.sten.nosp@m.s@gmx.nosp@m..de
Date
2000
Todo:
rename to rfcCodecs as it encodes too.

Definition at line 36 of file rfcdecoder.h.

Member Function Documentation

◆ codecForName()

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

fetch a codec by name

Returns
Text Codec object

Definition at line 309 of file rfcdecoder.cpp.

◆ decodeQuoting()

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.cpp.

◆ decodeRFC2047String() [1/3]

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

decode a RFC2047 String

Definition at line 319 of file rfcdecoder.cpp.

◆ decodeRFC2047String() [2/3]

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

decode a RFC2047 String

Definition at line 328 of file rfcdecoder.cpp.

◆ decodeRFC2047String() [3/3]

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

decode a RFC2047 String

Definition at line 337 of file rfcdecoder.cpp.

◆ decodeRFC2231String()

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

decode a RFC2231 String

Definition at line 629 of file rfcdecoder.cpp.

◆ encodeRFC2047String() [1/3]

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

encode a RFC2047 String

Definition at line 461 of file rfcdecoder.cpp.

◆ encodeRFC2047String() [2/3]

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

encode a RFC2047 String

◆ encodeRFC2047String() [3/3]

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

encode a RFC2047 String

◆ encodeRFC2231String()

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

encode a RFC2231 String

Definition at line 575 of file rfcdecoder.cpp.

◆ fromIMAP()

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

Convert an IMAP mailbox to a Unicode path.

Definition at line 55 of file rfcdecoder.cpp.

◆ quoteIMAP()

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

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

Definition at line 158 of file rfcdecoder.cpp.

◆ toIMAP()

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

Convert Unicode path to modified UTF-7 IMAP mailbox.

Definition at line 175 of file rfcdecoder.cpp.


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