qutf7codec.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef QUTF7CODEC_H
00026 #define QUTF7CODEC_H
00027
00028 #ifndef QT_H
00029 #include "qtextcodec.h"
00030 #endif
00031
00032 #ifndef QT_NO_TEXTCODEC
00033
00047 class Q_EXPORT QUtf7Codec : public QTextCodec {
00048 bool encOpt, encLwsp;
00049 public:
00050 QUtf7Codec() : QTextCodec() {}
00051
00052 int mibEnum() const;
00053 const char* name() const;
00054 const char* mimeName() const;
00055
00056 QTextDecoder* makeDecoder() const;
00057 QTextEncoder* makeEncoder() const;
00058
00059 bool canEncode( QChar ) const;
00060 bool canEncode( const QString& ) const;
00061
00062 int heuristicContentMatch( const char* chars, int len ) const;
00063 };
00064
00083 class Q_EXPORT QStrictUtf7Codec : public QUtf7Codec {
00084 public:
00085 QStrictUtf7Codec() : QUtf7Codec() {}
00086
00087 const char* name() const;
00088 int mibEnum() const;
00089
00090 QTextEncoder* makeEncoder() const;
00091 };
00092
00093 #endif // QT_NO_TEXTCODEC
00094
00095 #endif // QUTF7CODEC_H
This file is part of the documentation for libkdenetwork Library Version 3.3.2.