|
Last change
on this file since 94 was 2, checked in by dmik, 20 years ago |
|
Imported xplatform parts of the official release 3.3.1 from Trolltech
|
-
Property svn:keywords
set to
Id
|
|
File size:
746 bytes
|
| Line | |
|---|
| 1 | #ifndef QISCIICODEC_H
|
|---|
| 2 | #define QISCIICODEC_H
|
|---|
| 3 |
|
|---|
| 4 | #ifndef QT_H
|
|---|
| 5 | #include "qtextcodec.h"
|
|---|
| 6 | #endif // QT_H
|
|---|
| 7 |
|
|---|
| 8 | #ifndef QT_NO_CODECS
|
|---|
| 9 |
|
|---|
| 10 | class QIsciiCodec : public QTextCodec {
|
|---|
| 11 | public:
|
|---|
| 12 | QIsciiCodec(int i);
|
|---|
| 13 |
|
|---|
| 14 | virtual int mibEnum() const;
|
|---|
| 15 | virtual const char* mimeName () const;
|
|---|
| 16 | const char* name() const;
|
|---|
| 17 |
|
|---|
| 18 | #if !defined(Q_NO_USING_KEYWORD)
|
|---|
| 19 | using QTextCodec::fromUnicode;
|
|---|
| 20 | #endif
|
|---|
| 21 |
|
|---|
| 22 | QCString fromUnicode(const QString& uc, int& len_in_out) const;
|
|---|
| 23 | QString toUnicode(const char* chars, int len) const;
|
|---|
| 24 |
|
|---|
| 25 | int heuristicContentMatch(const char* chars, int len) const;
|
|---|
| 26 | int heuristicNameMatch(const char* hint) const;
|
|---|
| 27 |
|
|---|
| 28 | private:
|
|---|
| 29 | int idx;
|
|---|
| 30 | };
|
|---|
| 31 |
|
|---|
| 32 | #endif // QT_NO_CODECS
|
|---|
| 33 | #endif // QISCIIDEVCODEC_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.