You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
725 B
34 lines
725 B
#ifndef TQISCIICODEC_H
|
|
#define TQISCIICODEC_H
|
|
|
|
#ifndef QT_H
|
|
#include "ntqtextcodec.h"
|
|
#endif // QT_H
|
|
|
|
#ifndef QT_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 // QT_NO_CODECS
|
|
#endif // TQISCIIDEVCODEC_H
|