summaryrefslogtreecommitdiffstats
path: root/src/codecs/qfonttwcodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/qfonttwcodec.cpp')
-rw-r--r--src/codecs/qfonttwcodec.cpp16
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 );