diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:24:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:24:30 -0600 |
commit | a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch) | |
tree | 3910055c634e2ca44eacd2c892118634df9b3597 /src/codecs/qfonthkcodec.cpp | |
parent | b0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff) | |
download | qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip |
Rename additional global TQt functions
Diffstat (limited to 'src/codecs/qfonthkcodec.cpp')
-rw-r--r-- | src/codecs/qfonthkcodec.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/codecs/qfonthkcodec.cpp b/src/codecs/qfonthkcodec.cpp index a0d32dd..9a229db 100644 --- a/src/codecs/qfonthkcodec.cpp +++ b/src/codecs/qfonthkcodec.cpp @@ -54,29 +54,29 @@ int QFontBig5hkscsCodec::heuristicContentMatch(const char *, int) const int QFontBig5hkscsCodec::heuristicNameMatch(const char* hint) const { - //qDebug("QFontBig5hkscsCodec::heuristicNameMatch(const char* hint = \"%s\")", hint); - return ( qstricmp(hint, "big5hkscs-0") == 0 || - qstricmp(hint, "hkscs-1") == 0 ) + //tqDebug("QFontBig5hkscsCodec::heuristicNameMatch(const char* hint = \"%s\")", hint); + return ( tqstricmp(hint, "big5hkscs-0") == 0 || + tqstricmp(hint, "hkscs-1") == 0 ) ? 13 : 0; } QFontBig5hkscsCodec::QFontBig5hkscsCodec() { - //qDebug("QFontBig5hkscsCodec::QFontBig5hkscsCodec()"); + //tqDebug("QFontBig5hkscsCodec::QFontBig5hkscsCodec()"); } const char* QFontBig5hkscsCodec::name() const { - //qDebug("QFontBig5hkscsCodec::name() = \"big5hkscs-0\""); + //tqDebug("QFontBig5hkscsCodec::name() = \"big5hkscs-0\""); return "big5hkscs-0"; } int QFontBig5hkscsCodec::mibEnum() const { - //qDebug("QFontBig5hkscsCodec::mibEnum() = -2101"); + //tqDebug("QFontBig5hkscsCodec::mibEnum() = -2101"); return -2101; } @@ -97,7 +97,7 @@ QFontBig5hkscsCodec::characterFromUnicode(const QString &str, int pos) const QCString QFontBig5hkscsCodec::fromUnicode(const QString& uc, int& lenInOut ) const { - //qDebug("QFontBig5hkscsCodec::fromUnicode(const QString& uc, int& lenInOut = %d)", lenInOut); + //tqDebug("QFontBig5hkscsCodec::fromUnicode(const QString& uc, int& lenInOut = %d)", lenInOut); QCString result(lenInOut * 2 + 1); uchar *rdata = (uchar *) result.data(); const QChar *ucp = uc.unicode(); @@ -151,7 +151,7 @@ void QFontBig5hkscsCodec::fromUnicode(const QChar *in, unsigned short *out, int bool QFontBig5hkscsCodec::canEncode( QChar ch ) const { - //qDebug("QFontBig5hkscsCodec::canEncode( QChar ch = %02X%02X )", ch.row(), ch.cell()); + //tqDebug("QFontBig5hkscsCodec::canEncode( QChar ch = %02X%02X )", ch.row(), ch.cell()); uchar c[2]; return ( qt_UnicodeToBig5hkscs( ch.unicode(), c ) == 2 ); } |