QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
static int qt_Big5hkscsToUnicode(const uchar *s, uint *pwc);
static int qt_UnicodeToBig5hkscs(uint wc, uchar *r);
/* ====================================================================== */
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
class QBig5Codec : public QTextCodec {
public:
};
#endif // Q_OS_UNIX
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
static const uchar Ss2 = 0x8e; // Single Shift 2
static const uchar Ss3 = 0x8f; // Single Shift 3
{
return "EUC-JP";
}
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
class QEucJpCodec : public QTextCodec {
public:
const QJpUnicodeConv *conv;
};
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
unsigned int qt_Ksc5601ToUnicode(unsigned int code);
unsigned int qt_UnicodeToKsc5601(unsigned int unicode);
return result;
}
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
class QEucKrCodec : public QTextCodec {
public:
};
#endif
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_BIG_CODECS
+
#ifdef Q_OS_UNIX
// JIS X 0201
#endif
+#endif // QT_NO_BIG_CODECS
+
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_BIG_CODECS
+
class QJpUnicodeConv;
#ifdef Q_OS_UNIX
};
#endif
+#endif // QT_NO_BIG_CODECS
+
QT_END_NAMESPACE
#endif // QFONTJPCODEC_P_H
#include "qfontlaocodec_p.h"
#include "qlist.h"
-#ifndef QT_NO_CODECS
#ifndef QT_NO_BIG_CODECS
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
#endif // QT_NO_BIG_CODECS
-#endif // QT_NO_CODECS
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_CODECS
+#ifndef QT_NO_BIG_CODECS
class Q_CORE_EXPORT QFontLaoCodec : public QTextCodec
{
QByteArray convertFromUnicode(const QChar *, int, ConverterState *) const;
};
-#endif // QT_NO_CODECS
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
#include "qgb18030codec_p.h"
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
class QGb18030Codec : public QTextCodec {
public:
};
#endif // Q_OS_UNIX
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
#include "qisciicodec_p.h"
#include "qlist.h"
-#ifndef QT_NO_CODECS
+#ifndef QT_NO_BIG_CODECS
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
-#endif // QT_NO_CODECS
+#endif // QT_NO_BIG_CODECS
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_CODECS
+#ifndef QT_NO_BIG_CODECS
class QIsciiCodec : public QTextCodec {
public:
int idx;
};
-#endif // QT_NO_CODECS
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
enum {
Esc = 0x1b,
So = 0x0e, // Shift Out
return list;
}
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
class QJisCodec : public QTextCodec {
public:
const QJpUnicodeConv *conv;
};
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_BIG_CODECS
+
#define USE_JISX0212
#define Q_STRICT
\internal
*/
+#endif // QT_NO_BIG_CODECS
+
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_BIG_CODECS
+
class QJpUnicodeConv {
public:
virtual ~QJpUnicodeConv() {}
int rule;
};
+#endif // QT_NO_BIG_CODECS
+
QT_END_NAMESPACE
#endif // QJPUNICODE_P_H
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
enum {
Esc = 0x1b
};
<< "MS_Kanji";
return list;
}
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_TEXTCODEC
+#ifndef QT_NO_BIG_CODECS
class QSjisCodec : public QTextCodec {
public:
const QJpUnicodeConv *conv;
};
-#endif // QT_NO_TEXTCODEC
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
#include "qutfcodec_p.h"
#include "qsimplecodec_p.h"
#include "qlatincodec_p.h"
-#ifndef QT_NO_CODECS
+#if !defined(QT_BOOTSTRAPPED) && !defined(QT_NO_BIG_CODECS)
# include "qtsciicodec_p.h"
# include "qisciicodec_p.h"
-#if !defined(Q_OS_INTEGRITY)
-# if !defined(QT_BOOTSTRAPPED)
+# ifndef Q_OS_INTEGRITY
# include "qgb18030codec_p.h"
# include "qeucjpcodec_p.h"
# include "qjiscodec_p.h"
# include "qsjiscodec_p.h"
# include "qeuckrcodec_p.h"
# include "qbig5codec_p.h"
-# endif // !QT_BOOTSTRAPPED
-# if defined(Q_OS_UNIX) && !defined(QT_BOOTSTRAPPED)
+# endif // !Q_OS_INTEGRITY
+# ifdef Q_OS_UNIX
# include "qfontlaocodec_p.h"
# include "qfontjpcodec_p.h"
# endif
-#endif // !Q_OS_INTEGRITY
-#endif // QT_NO_CODECS
+#endif // !QT_BOOTSTRAPPED && !QT_NO_BIG_CODECS
#include "qlocale.h"
#include "qmutex.h"
#include "qhash.h"
(void) createQTextCodecCleanup();
#ifndef QT_NO_CODECS
- (void)new QTsciiCodec;
- for (int i = 0; i < 9; ++i)
- (void)new QIsciiCodec(i);
-
for (int i = 0; i < QSimpleTextCodec::numSimpleCodecs; ++i)
(void)new QSimpleTextCodec(i);
-# if defined(Q_OS_UNIX) && !defined(QT_BOOTSTRAPPED)
- // no font codecs when bootstrapping
+# if !defined(QT_BOOTSTRAPPED) && !defined(QT_NO_BIG_CODECS)
+# ifdef Q_OS_UNIX
(void)new QFontLaoCodec;
(void)new QFontGb2312Codec;
(void)new QFontGbkCodec;
(void)new QFontKsc5601Codec;
(void)new QFontBig5hkscsCodec;
(void)new QFontBig5Codec;
-# endif // Q_OS_UNIX && !QT_BOOTSTRAPPED
+# endif // Q_OS_UNIX
-
-#if !defined(Q_OS_INTEGRITY)
-# if !defined(QT_BOOTSTRAPPED)
- // no asian codecs when bootstrapping, sorry
+# ifndef Q_OS_INTEGRITY
(void)new QGb18030Codec;
(void)new QGbkCodec;
(void)new QGb2312Codec;
(void)new QCP949Codec;
(void)new QBig5Codec;
(void)new QBig5hkscsCodec;
-# endif // !QT_BOOTSTRAPPED
-#endif // !Q_OS_INTEGRITY
+# endif // !Q_OS_INTEGRITY
+
+ (void)new QTsciiCodec;
+ for (int i = 0; i < 9; ++i)
+ (void)new QIsciiCodec(i);
+# endif // !QT_BOOTSTRAPPED && !QT_NO_BIG_CODECS
#endif // QT_NO_CODECS
#if defined(Q_OS_WIN32) || defined(Q_OS_WINCE)
#include "qtsciicodec_p.h"
#include "qlist.h"
-#ifndef QT_NO_CODECS
+#ifndef QT_NO_BIG_CODECS
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
-#endif // QT_NO_CODECS
+#endif // QT_NO_BIG_CODECS
QT_BEGIN_NAMESPACE
-#ifndef QT_NO_CODECS
+#ifndef QT_NO_BIG_CODECS
class QTsciiCodec : public QTextCodec {
public:
QByteArray convertFromUnicode(const QChar *, int, ConverterState *) const;
};
-#endif // QT_NO_CODECS
+#endif // QT_NO_BIG_CODECS
QT_END_NAMESPACE
// QAction
//#define QT_NO_ACTION
-// Big Codecs
-//#define QT_NO_BIG_CODECS
-
// QClipboard
//#define QT_NO_CLIPBOARD
#define QT_NO_ANIMATION
#endif
+// Big Codecs
+#if !defined(QT_NO_BIG_CODECS) && (defined(QT_NO_TEXTCODEC))
+#define QT_NO_BIG_CODECS
+#endif
+
// QButtonGroup
#if !defined(QT_NO_BUTTONGROUP) && (defined(QT_NO_GROUPBOX))
#define QT_NO_BUTTONGROUP
Feature: BIG_CODECS
Description: Supports big codecs, e.g. CJK.
Section: Internationalization
-Requires:
+Requires: TEXTCODEC
Name: Big Codecs
SeeAlso: ???