From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- src/codecs/qtextcodec.cpp | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/codecs/qtextcodec.cpp') diff --git a/src/codecs/qtextcodec.cpp b/src/codecs/qtextcodec.cpp index 764aacb88..c37a7cb12 100644 --- a/src/codecs/qtextcodec.cpp +++ b/src/codecs/qtextcodec.cpp @@ -46,18 +46,18 @@ #endif #include "ntqtextcodec.h" -#ifndef QT_NO_TEXTCODEC +#ifndef TQT_NO_TEXTCODEC #include "ntqvaluelist.h" #include "ntqtextcodecfactory.h" #include "ntqutfcodec.h" #include "ntqnamespace.h" -#ifndef QT_NO_CODECS +#ifndef TQT_NO_CODECS #include "ntqrtlcodec.h" #include "ntqtsciicodec.h" #include "qisciicodec_p.h" -#endif // QT_NO_CODECS -#ifndef QT_NO_BIG_CODECS +#endif // TQT_NO_CODECS +#ifndef TQT_NO_BIG_CODECS #include "ntqbig5codec.h" #include "ntqeucjpcodec.h" #include "ntqeuckrcodec.h" @@ -65,13 +65,13 @@ #include "ntqjiscodec.h" #include "ntqjpunicode.h" #include "ntqsjiscodec.h" -#endif // QT_NO_BIG_CODECS +#endif // TQT_NO_BIG_CODECS #include "ntqfile.h" #include "ntqstrlist.h" #include "ntqstring.h" #include "../tools/qlocale_p.h" -#if !defined(QT_NO_CODECS) && !defined(QT_NO_BIG_CODECS) && defined(Q_WS_X11) +#if !defined(TQT_NO_CODECS) && !defined(TQT_NO_BIG_CODECS) && defined(Q_WS_X11) # include "qfontcodecs_p.h" #endif @@ -549,13 +549,13 @@ TQTextCodec* TQTextCodec::codecForMib(int mib) return result; } -#if !defined(QT_NO_COMPONENT) && !defined(QT_LITE_COMPONENT) +#if !defined(TQT_NO_COMPONENT) && !defined(QT_LITE_COMPONENT) if ( !result || (result && result->mibEnum() != mib) ) { TQTextCodec *codec = TQTextCodecFactory::createForMib(mib); if (codec) result = codec; } -#endif // !QT_NO_COMPONENT !QT_LITE_COMPONENT +#endif // !TQT_NO_COMPONENT !QT_LITE_COMPONENT return result; } @@ -855,10 +855,10 @@ TQTextCodec* TQTextCodec::codecForName( const char* name, int accuracy ) } } -#if !defined(QT_NO_COMPONENT) && !defined(QT_LITE_COMPONENT) +#if !defined(TQT_NO_COMPONENT) && !defined(QT_LITE_COMPONENT) if ( !result ) result = TQTextCodecFactory::createForName(name); -#endif // !QT_NO_COMPONENT !QT_LITE_COMPONENT +#endif // !TQT_NO_COMPONENT !QT_LITE_COMPONENT return result; } @@ -1566,7 +1566,7 @@ TQString TQTextCodecFromIODDecoder::toUnicode(const char* chars, int len) return result; } -#ifndef QT_NO_CODECS +#ifndef TQT_NO_CODECS // Cannot use
 or \code
 /*!
     Reads a POSIX2 charmap definition from \a iod.
@@ -1621,7 +1621,7 @@ TQTextCodec* TQTextCodec::loadCharmapFile(TQString filename)
     return 0;
 }
 
-#endif //QT_NO_CODECS
+#endif //TQT_NO_CODECS
 
 /*!
     Returns a string representing the current language and
@@ -1633,7 +1633,7 @@ const char* TQTextCodec::locale()
     return TQLocalePrivate::systemLocaleName();
 }
 
-#ifndef QT_NO_CODECS
+#ifndef TQT_NO_CODECS
 
 class TQSimpleTextCodec: public TQTextCodec
 {
@@ -2914,7 +2914,7 @@ static void realSetup()
     (void)new TQUtf8Codec;
     (void)new TQUtf16Codec;
 
-#ifndef QT_NO_CODECS
+#ifndef TQT_NO_CODECS
     int i = 0;
     do {
 	(void)new TQSimpleTextCodec( i );
@@ -2925,11 +2925,11 @@ static void realSetup()
     for (i = 0; i < 9; ++i) {
 	(void)new TQIsciiCodec(i);
     }
-#endif // QT_NO_CODECS
-#ifndef QT_NO_CODEC_HEBREW
+#endif // TQT_NO_CODECS
+#ifndef TQT_NO_CODEC_HEBREW
     (void)new TQHebrewCodec;
 #endif
-#ifndef QT_NO_BIG_CODECS
+#ifndef TQT_NO_BIG_CODECS
     (void)new TQBig5Codec;
     (void)new TQBig5hkscsCodec;
     (void)new TQEucJpCodec;
@@ -2939,7 +2939,7 @@ static void realSetup()
     (void)new TQGb18030Codec;
     (void)new TQJisCodec;
     (void)new TQSjisCodec;
-#endif // QT_NO_BIG_CODECS
+#endif // TQT_NO_BIG_CODECS
 
 #ifdef Q_OS_WIN32
     (void) new TQWindowsLocalCodec;
@@ -2952,7 +2952,7 @@ static void realSetup()
 void TQTextCodec::fromUnicodeInternal( const TQChar *in, unsigned short *out, int length )
 {
     switch( mibEnum() ) {
-#ifndef QT_NO_CODECS
+#ifndef TQT_NO_CODECS
     case 2084:
     case 2088:
     case 5:
@@ -2982,7 +2982,7 @@ void TQTextCodec::fromUnicodeInternal( const TQChar *in, unsigned short *out, in
 	((TQSimpleTextCodec *)this)->fromUnicode( in, out, length );
 	break;
 
-#if !defined(QT_NO_BIG_CODECS) && defined(Q_WS_X11)
+#if !defined(TQT_NO_BIG_CODECS) && defined(Q_WS_X11)
 	// the TQFont*Codecs are only used on X11
 
     case 15:
@@ -3021,7 +3021,7 @@ void TQTextCodec::fromUnicodeInternal( const TQChar *in, unsigned short *out, in
 	((TQFontLaoCodec *) this)->fromUnicode( in, out, length );
 	break;
 #endif
-#endif // QT_NO_CODECS
+#endif // TQT_NO_CODECS
 
     case 4:
 	((TQLatin1Codec *) this)->fromUnicode( in, out, length );
@@ -3118,4 +3118,4 @@ TQTextCodec *TQTextCodec::cftr = 0;
 TQTextCodec *TQTextCodec::cfcs = 0;
 
 
-#endif // QT_NO_TEXTCODEC
+#endif // TQT_NO_TEXTCODEC
-- 
cgit v1.2.3