diff options
Diffstat (limited to 'src/codecs/qfonttwcodec.cpp')
-rw-r--r-- | src/codecs/qfonttwcodec.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/codecs/qfonttwcodec.cpp b/src/codecs/qfonttwcodec.cpp index 554fcd771..7fe3f80d3 100644 --- a/src/codecs/qfonttwcodec.cpp +++ b/src/codecs/qfonttwcodec.cpp @@ -54,29 +54,29 @@ int TQFontBig5Codec::heuristicContentMatch(const char *, int) const int TQFontBig5Codec::heuristicNameMatch(const char* hint) const { - //qDebug("TQFontBig5Codec::heuristicNameMatch(const char* hint = \"%s\")", hint); - return ( qstricmp(hint, "big5-0") == 0 || - qstricmp(hint, "big5.eten-0") == 0 ) + //tqDebug("TQFontBig5Codec::heuristicNameMatch(const char* hint = \"%s\")", hint); + return ( tqstricmp(hint, "big5-0") == 0 || + tqstricmp(hint, "big5.eten-0") == 0 ) ? 13 : 0; } TQFontBig5Codec::TQFontBig5Codec() { - //qDebug("TQFontBig5Codec::TQFontBig5Codec()"); + //tqDebug("TQFontBig5Codec::TQFontBig5Codec()"); } const char* TQFontBig5Codec::name() const { - //qDebug("TQFontBig5Codec::name() = \"big5-0\""); + //tqDebug("TQFontBig5Codec::name() = \"big5-0\""); return "big5-0"; } int TQFontBig5Codec::mibEnum() const { - //qDebug("TQFontBig5Codec::mibEnum() = -2026"); + //tqDebug("TQFontBig5Codec::mibEnum() = -2026"); return -2026; } @@ -97,7 +97,7 @@ unsigned short TQFontBig5Codec::characterFromUnicode(const TQString &str, int po TQCString TQFontBig5Codec::fromUnicode(const TQString& uc, int& lenInOut ) const { - //qDebug("TQFontBig5Codec::fromUnicode(const TQString& uc, int& lenInOut = %d)", lenInOut); + //tqDebug("TQFontBig5Codec::fromUnicode(const TQString& uc, int& lenInOut = %d)", lenInOut); TQCString result(lenInOut * 2 + 1); uchar *rdata = (uchar *) result.data(); const TQChar *ucp = uc.unicode(); @@ -152,7 +152,7 @@ void TQFontBig5Codec::fromUnicode(const TQChar *in, unsigned short *out, int len bool TQFontBig5Codec::canEncode( TQChar ch ) const { - //qDebug("TQFontBig5Codec::canEncode( TQChar ch = %02X%02X )", ch.row(), ch.cell()); + //tqDebug("TQFontBig5Codec::canEncode( TQChar ch = %02X%02X )", ch.row(), ch.cell()); uchar c[2]; return ( qt_UnicodeToBig5hkscs( ch.unicode(), c ) == 2 && c[0] >= 0xa1 && c[0] <= 0xf9 ); |