summaryrefslogtreecommitdiffstats
path: root/src/codecs/qsjiscodec.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:24:30 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /src/codecs/qsjiscodec.cpp
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
Diffstat (limited to 'src/codecs/qsjiscodec.cpp')
-rw-r--r--src/codecs/qsjiscodec.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/codecs/qsjiscodec.cpp b/src/codecs/qsjiscodec.cpp
index d6c1102..581971d 100644
--- a/src/codecs/qsjiscodec.cpp
+++ b/src/codecs/qsjiscodec.cpp
@@ -249,10 +249,10 @@ int QSjisCodec::heuristicNameMatch(const char* hint) const
{
int score = 0;
bool ja = FALSE;
- if (qstrnicmp(hint, "ja_JP", 5) == 0 || qstrnicmp(hint, "japan", 5) == 0) {
+ if (tqstrnicmp(hint, "ja_JP", 5) == 0 || tqstrnicmp(hint, "japan", 5) == 0) {
score += 3;
ja = TRUE;
- } else if (qstrnicmp(hint, "ja", 2) == 0) {
+ } else if (tqstrnicmp(hint, "ja", 2) == 0) {
score += 2;
ja = TRUE;
}
@@ -267,9 +267,9 @@ int QSjisCodec::heuristicNameMatch(const char* hint) const
p = hint;
}
if (p) {
- if ((qstricmp(p, "mscode") == 0) ||
- (qstricmp(p, "PCK") == 0) ||
- (qstricmp(p, "SJIS") == 0) ||
+ if ((tqstricmp(p, "mscode") == 0) ||
+ (tqstricmp(p, "PCK") == 0) ||
+ (tqstricmp(p, "SJIS") == 0) ||
(simpleHeuristicNameMatch(p, "ShiftJIS") > 0) ||
(simpleHeuristicNameMatch(p, "x-sjis") > 0)) {
return score + 4;