diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/codecs/tqisciicodec_p.h')
-rw-r--r-- | experimental/tqtinterface/qt4/src/codecs/tqisciicodec_p.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/experimental/tqtinterface/qt4/src/codecs/tqisciicodec_p.h b/experimental/tqtinterface/qt4/src/codecs/tqisciicodec_p.h new file mode 100644 index 000000000..be3c063db --- /dev/null +++ b/experimental/tqtinterface/qt4/src/codecs/tqisciicodec_p.h @@ -0,0 +1,33 @@ +#ifndef TQISCIICODEC_H +#define TQISCIICODEC_H + +#ifndef TQT_H +#include "tqtextcodec.h" +#endif // TQT_H + +#ifndef TQT_NO_CODECS + +class TQIsciiCodec : public TQTextCodec { +public: + TQIsciiCodec(int i); + + virtual int mibEnum() const; + virtual const char* mimeName () const; + const char* name() const; + +#if !defined(TQ_NO_USING_KEYWORD) + using TQTextCodec::fromUnicode; +#endif + + TQCString fromUnicode(const TQString& uc, int& len_in_out) const; + TQString toUnicode(const char* chars, int len) const; + + int heuristicContentMatch(const char* chars, int len) const; + int heuristicNameMatch(const char* hint) const; + +private: + int idx; +}; + +#endif // TQT_NO_CODECS +#endif // TQISCIIDEVCODEC_H |