libtdepim

TQUtf7Codec Class Reference

#include <qutf7codec.h>

Inheritance diagram for TQUtf7Codec:
TQStrictUtf7Codec

Public Member Functions

int mibEnum () const
 
const char * name () const
 
const char * mimeName () const
 
TQTextDecoder * makeDecoder () const
 
TQTextEncoder * makeEncoder () const
 
bool canEncode (TQChar) const
 
bool canEncode (const TQString &) const
 
int heuristicContentMatch (const char *chars, int len) const
 

Detailed Description

A TQTextCodec for the UTF-7 transformation of Unicode.

This is a TQTextCodec for the UTF-7 transformation of Unicode, described in RFC2152.

Use it as you would use any other TQTextCodec. Only if you use the encoder directly (via makeEncoder), you should bear in mind that if your application needs the encoder to return to ASCII mode (like it's the case for RFC2047 mail header encoded words), you have to tell the encoder by requesting the encoding of a null TQString.

Author
Marc Mutz mutz@.nosp@m.kde..nosp@m.org

Definition at line 48 of file qutf7codec.h.

Constructor & Destructor Documentation

◆ TQUtf7Codec()

TQUtf7Codec::TQUtf7Codec ( )
inline

Definition at line 51 of file qutf7codec.h.

Member Function Documentation

◆ canEncode() [1/2]

bool TQUtf7Codec::canEncode ( const TQString &  ) const

Definition at line 54 of file qutf7codec.cpp.

◆ canEncode() [2/2]

bool TQUtf7Codec::canEncode ( TQChar  ) const

Definition at line 50 of file qutf7codec.cpp.

◆ heuristicContentMatch()

int TQUtf7Codec::heuristicContentMatch ( const char *  chars,
int  len 
) const

Definition at line 90 of file qutf7codec.cpp.

◆ makeDecoder()

TQTextDecoder * TQUtf7Codec::makeDecoder ( ) const

Definition at line 315 of file qutf7codec.cpp.

◆ makeEncoder()

TQTextEncoder * TQUtf7Codec::makeEncoder ( ) const

Definition at line 542 of file qutf7codec.cpp.

◆ mibEnum()

int TQUtf7Codec::mibEnum ( ) const

Definition at line 30 of file qutf7codec.cpp.

◆ mimeName()

const char * TQUtf7Codec::mimeName ( ) const

Definition at line 46 of file qutf7codec.cpp.

◆ name()

const char * TQUtf7Codec::name ( ) const

Definition at line 38 of file qutf7codec.cpp.


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