src/corelib/codecs/qtextcodec.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   159     explicit QTextEncoder(const QTextCodec *codec) : c(codec), state() {}
   159     explicit QTextEncoder(const QTextCodec *codec) : c(codec), state() {}
   160     ~QTextEncoder();
   160     ~QTextEncoder();
   161     QByteArray fromUnicode(const QString& str);
   161     QByteArray fromUnicode(const QString& str);
   162     QByteArray fromUnicode(const QChar *uc, int len);
   162     QByteArray fromUnicode(const QChar *uc, int len);
   163 #ifdef QT3_SUPPORT
   163 #ifdef QT3_SUPPORT
   164     QByteArray fromUnicode(const QString& uc, int& lenInOut);
   164     QT3_SUPPORT QByteArray fromUnicode(const QString& uc, int& lenInOut);
   165 #endif
   165 #endif
   166     bool hasFailure() const;
   166     bool hasFailure() const;
   167 private:
   167 private:
   168     const QTextCodec *c;
   168     const QTextCodec *c;
   169     QTextCodec::ConverterState state;
   169     QTextCodec::ConverterState state;