diff options
author | Timothy Pearson <[email protected]> | 2012-03-01 13:24:30 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-01 13:24:30 -0600 |
commit | a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch) | |
tree | 3910055c634e2ca44eacd2c892118634df9b3597 /src/codecs/qfonttwcodec.cpp | |
parent | b0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff) | |
download | qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip |
Rename additional global TQt functions
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 050930d..1ffa161 100644 --- a/src/codecs/qfonttwcodec.cpp +++ b/src/codecs/qfonttwcodec.cpp @@ -54,29 +54,29 @@ int QFontBig5Codec::heuristicContentMatch(const char *, int) const int QFontBig5Codec::heuristicNameMatch(const char* hint) const { - //qDebug("QFontBig5Codec::heuristicNameMatch(const char* hint = \"%s\")", hint); - return ( qstricmp(hint, "big5-0") == 0 || - qstricmp(hint, "big5.eten-0") == 0 ) + //tqDebug("QFontBig5Codec::heuristicNameMatch(const char* hint = \"%s\")", hint); + return ( tqstricmp(hint, "big5-0") == 0 || + tqstricmp(hint, "big5.eten-0") == 0 ) ? 13 : 0; } QFontBig5Codec::QFontBig5Codec() { - //qDebug("QFontBig5Codec::QFontBig5Codec()"); + //tqDebug("QFontBig5Codec::QFontBig5Codec()"); } const char* QFontBig5Codec::name() const { - //qDebug("QFontBig5Codec::name() = \"big5-0\""); + //tqDebug("QFontBig5Codec::name() = \"big5-0\""); return "big5-0"; } int QFontBig5Codec::mibEnum() const { - //qDebug("QFontBig5Codec::mibEnum() = -2026"); + //tqDebug("QFontBig5Codec::mibEnum() = -2026"); return -2026; } @@ -97,7 +97,7 @@ unsigned short QFontBig5Codec::characterFromUnicode(const QString &str, int pos) QCString QFontBig5Codec::fromUnicode(const QString& uc, int& lenInOut ) const { - //qDebug("QFontBig5Codec::fromUnicode(const QString& uc, int& lenInOut = %d)", lenInOut); + //tqDebug("QFontBig5Codec::fromUnicode(const QString& uc, int& lenInOut = %d)", lenInOut); QCString result(lenInOut * 2 + 1); uchar *rdata = (uchar *) result.data(); const QChar *ucp = uc.unicode(); @@ -152,7 +152,7 @@ void QFontBig5Codec::fromUnicode(const QChar *in, unsigned short *out, int lengt bool QFontBig5Codec::canEncode( QChar ch ) const { - //qDebug("QFontBig5Codec::canEncode( QChar ch = %02X%02X )", ch.row(), ch.cell()); + //tqDebug("QFontBig5Codec::canEncode( QChar ch = %02X%02X )", ch.row(), ch.cell()); uchar c[2]; return ( qt_UnicodeToBig5hkscs( ch.unicode(), c ) == 2 && c[0] >= 0xa1 && c[0] <= 0xf9 ); |