summaryrefslogtreecommitdiffstats
path: root/src/codecs/qfonthkcodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/qfonthkcodec.cpp')
-rw-r--r--src/codecs/qfonthkcodec.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/codecs/qfonthkcodec.cpp b/src/codecs/qfonthkcodec.cpp
index 6d53bc6f..954d53ea 100644
--- a/src/codecs/qfonthkcodec.cpp
+++ b/src/codecs/qfonthkcodec.cpp
@@ -54,29 +54,29 @@ int TQFontBig5hkscsCodec::heuristicContentMatch(const char *, int) const
int TQFontBig5hkscsCodec::heuristicNameMatch(const char* hint) const
{
- //qDebug("TQFontBig5hkscsCodec::heuristicNameMatch(const char* hint = \"%s\")", hint);
- return ( qstricmp(hint, "big5hkscs-0") == 0 ||
- qstricmp(hint, "hkscs-1") == 0 )
+ //tqDebug("TQFontBig5hkscsCodec::heuristicNameMatch(const char* hint = \"%s\")", hint);
+ return ( tqstricmp(hint, "big5hkscs-0") == 0 ||
+ tqstricmp(hint, "hkscs-1") == 0 )
? 13 : 0;
}
TQFontBig5hkscsCodec::TQFontBig5hkscsCodec()
{
- //qDebug("TQFontBig5hkscsCodec::TQFontBig5hkscsCodec()");
+ //tqDebug("TQFontBig5hkscsCodec::TQFontBig5hkscsCodec()");
}
const char* TQFontBig5hkscsCodec::name() const
{
- //qDebug("TQFontBig5hkscsCodec::name() = \"big5hkscs-0\"");
+ //tqDebug("TQFontBig5hkscsCodec::name() = \"big5hkscs-0\"");
return "big5hkscs-0";
}
int TQFontBig5hkscsCodec::mibEnum() const
{
- //qDebug("TQFontBig5hkscsCodec::mibEnum() = -2101");
+ //tqDebug("TQFontBig5hkscsCodec::mibEnum() = -2101");
return -2101;
}
@@ -97,7 +97,7 @@ TQFontBig5hkscsCodec::characterFromUnicode(const TQString &str, int pos) const
TQCString TQFontBig5hkscsCodec::fromUnicode(const TQString& uc, int& lenInOut ) const
{
- //qDebug("TQFontBig5hkscsCodec::fromUnicode(const TQString& uc, int& lenInOut = %d)", lenInOut);
+ //tqDebug("TQFontBig5hkscsCodec::fromUnicode(const TQString& uc, int& lenInOut = %d)", lenInOut);
TQCString result(lenInOut * 2 + 1);
uchar *rdata = (uchar *) result.data();
const TQChar *ucp = uc.unicode();
@@ -151,7 +151,7 @@ void TQFontBig5hkscsCodec::fromUnicode(const TQChar *in, unsigned short *out, in
bool TQFontBig5hkscsCodec::canEncode( TQChar ch ) const
{
- //qDebug("TQFontBig5hkscsCodec::canEncode( TQChar ch = %02X%02X )", ch.row(), ch.cell());
+ //tqDebug("TQFontBig5hkscsCodec::canEncode( TQChar ch = %02X%02X )", ch.row(), ch.cell());
uchar c[2];
return ( qt_UnicodeToBig5hkscs( ch.unicode(), c ) == 2 );
}