TQtSymbolCodec.h

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** $Id: TQtSymbolCodec.h,v 1.4 2008/04/14 02:14:18 fine Exp $
00003 **
00004 ** Implementation of QTextCodec class
00005 **
00006 ** Created : 20050125
00007 **
00008 **********************************************************************/
00009 
00010 #ifndef ROOT_QSYMBOLCODEC_H
00011 #define ROOT_QSYMBOLCODEC_H
00012 
00013 
00014 #include <QByteArray>
00015 #include <QTextCodec>
00016 #include <QByteArray>
00017 
00018 #ifndef QT_NO_CODEC_SYMBOL
00019 
00020 class QSymbolCodec : public QTextCodec {
00021 public:
00022     virtual int mibEnum() const;
00023     QByteArray  name() const;
00024     const char* mimeName() const;
00025 
00026 #if !defined(Q_NO_USING_KEYWORD)
00027     using QTextCodec::fromUnicode;
00028 #endif
00029     QByteArray fromUnicode(const QString& uc, int& lenInOut) const;
00030     virtual QByteArray convertFromUnicode( const QChar * input, int number, ConverterState *state ) const;
00031     virtual QString    convertToUnicode(const char *chars, int len, ConverterState *state) const;
00032     
00033     QString toUnicode(const char* chars, int len) const;   
00034     int heuristicContentMatch(const char* chars, int len) const;
00035 };
00036 
00037 #endif /* QT_NO_CODEC_SYMBOL */
00038 #endif

Generated on Tue Jul 5 14:14:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1