summaryrefslogtreecommitdiffstats
path: root/src/codecs/qfonttwcodec.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/codecs/qfonttwcodec.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
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 554fcd77..7fe3f80d 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 );