diff options
author | Michele Calgaro <[email protected]> | 2024-06-30 14:18:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-01 12:11:47 +0900 |
commit | c113da2069b66130f67a0f27c699e1cec83588a5 (patch) | |
tree | db98a4d4c3e15bce9614a07af8874c3c2febfd9b /src/codecs/tqisciicodec_p.h | |
parent | aeefd3fe454bfaed093355278b1e2caa84bfd77a (diff) | |
download | tqt3-c113da2069b66130f67a0f27c699e1cec83588a5.tar.gz tqt3-c113da2069b66130f67a0f27c699e1cec83588a5.zip |
Rename codec nt* related files to equivalent tq*.
The qrtlcodec files have been renamed into tqhebrewcodec files, for consistency with file naming used for other codecs.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/codecs/tqisciicodec_p.h')
-rw-r--r-- | src/codecs/tqisciicodec_p.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/codecs/tqisciicodec_p.h b/src/codecs/tqisciicodec_p.h new file mode 100644 index 000000000..372415cf1 --- /dev/null +++ b/src/codecs/tqisciicodec_p.h @@ -0,0 +1,33 @@ +#ifndef TQISCIICODEC_H +#define TQISCIICODEC_H + +#ifndef QT_H +#include "tqtextcodec.h" +#endif // QT_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(Q_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 |