summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/codecs/tqsjiscodec.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commit03256f3cd5149f3ff5f5f45765b0b0659db4e036 (patch)
treecaabe9e1c0e3edfd06ea5aefd4d7279664cd9ede /experimental/tqtinterface/qt4/src/codecs/tqsjiscodec.cpp
parent0594950f65a713c2d12e8eb6ddd3f5f9b306ec08 (diff)
downloadtde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.tar.gz
tde-03256f3cd5149f3ff5f5f45765b0b0659db4e036.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'experimental/tqtinterface/qt4/src/codecs/tqsjiscodec.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/codecs/tqsjiscodec.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/experimental/tqtinterface/qt4/src/codecs/tqsjiscodec.cpp b/experimental/tqtinterface/qt4/src/codecs/tqsjiscodec.cpp
index 000898d43..5b907d6b2 100644
--- a/experimental/tqtinterface/qt4/src/codecs/tqsjiscodec.cpp
+++ b/experimental/tqtinterface/qt4/src/codecs/tqsjiscodec.cpp
@@ -102,7 +102,7 @@ static const uchar Esc = 0x1b;
#define IsSjisChar2(c) (((c) >= 0x40) && ((c) != 0x7f) && ((c) <= 0xfc))
#define IsUserDefinedChar1(c) (((c) >= 0xf0) && ((c) <= 0xfc))
-#define TQValidChar(u) ((u) ? TQChar((ushort)(u)) : TQChar::tqreplacement)
+#define TQValidChar(u) ((u) ? TQChar((ushort)(u)) : TQChar::replacement)
/*!
Creates a Shift-JIS codec. Note that this is done automatically by
@@ -207,20 +207,20 @@ TQString TQSjisCodec::toUnicode(const char* chars, int len) const
} else if ((u = conv->cp932ToUnicode(ch, c2))) {
result += TQValidChar(u);
} else if ( IsUserDefinedChar1(ch) ) {
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
} else {
u = conv->sjisToUnicode(ch, c2);
result += TQValidChar(u);
}
} else {
i--;
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
}
return result;
@@ -343,7 +343,7 @@ public:
nbuf = 1;
} else {
// Invalid
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
break;
case 1:
@@ -354,14 +354,14 @@ public:
} else if ((u = conv->cp932ToUnicode(buf[0], ch))) {
result += TQValidChar(u);
} else if ( IsUserDefinedChar1(buf[0]) ) {
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
} else {
u = conv->sjisToUnicode(buf[0], ch);
result += TQValidChar(u);
}
} else {
// Invalid
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
nbuf = 0;
break;