libkdenetwork Library API Documentation

QUtf7Codec Class Reference

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

#include <qutf7codec.h>

Inheritance diagram for QUtf7Codec:

QTextCodec QStrictUtf7Codec List of all members.

Public Member Functions

int mibEnum () const
const char * name () const
const char * mimeName () const
QTextDecodermakeDecoder () const
QTextEncodermakeEncoder () const
bool canEncode (QChar) const
bool canEncode (const QString &) const
int heuristicContentMatch (const char *chars, int len) const

Detailed Description

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

Use it as you would use any other QTextCodec. 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 QString.

Author:
Marc Mutz <mutz@kde.org>

Definition at line 47 of file qutf7codec.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkdenetwork Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:17 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003