summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/codecs/tqbig5codec.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
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/codecs/tqbig5codec.cpp
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/codecs/tqbig5codec.cpp')
-rw-r--r--tqtinterface/qt4/src/codecs/tqbig5codec.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/tqtinterface/qt4/src/codecs/tqbig5codec.cpp b/tqtinterface/qt4/src/codecs/tqbig5codec.cpp
index bdab025..be0d14c 100644
--- a/tqtinterface/qt4/src/codecs/tqbig5codec.cpp
+++ b/tqtinterface/qt4/src/codecs/tqbig5codec.cpp
@@ -112,7 +112,7 @@ int qt_UnicodeToBig5hkscs(uint wc, uchar *r);
#define IsSecondByteRange2(c) (InRange((c), 0xA1, 0xFE))
#define IsSecondByte(c) (IsSecondByteRange1(c) || IsSecondByteRange2(c))
-#define TQValidChar(u) ((u) ? TQChar((ushort)(u)) : TQChar::tqreplacement)
+#define TQValidChar(u) ((u) ? TQChar((ushort)(u)) : TQChar::replacement)
struct B5Map {
ushort x;
@@ -569,7 +569,7 @@ public:
nbuf = 1;
} else {
// Invalid
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
break;
case 1:
@@ -581,11 +581,11 @@ public:
result += TQValidChar(u);
else {
// Error
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
// Error
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
nbuf = 0;
break;
@@ -655,19 +655,19 @@ TQString TQBig5Codec::toUnicode(const char* chars, int len) const
if ( qt_Big5ToUnicode( (const uchar*)(chars + i - 1), &u ) == 2 )
result += TQValidChar(u);
else {
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
i--;
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
// Bad String
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
// Invalid
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
}
return result;
@@ -855,7 +855,7 @@ public:
nbuf = 1;
} else {
// Invalid
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
break;
case 1:
@@ -867,11 +867,11 @@ public:
result += TQValidChar(u);
else {
// Error
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
// Error
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
nbuf = 0;
break;
@@ -938,19 +938,19 @@ TQString TQBig5hkscsCodec::toUnicode(const char* chars, int len) const
if ( qt_Big5hkscsToUnicode( (const uchar*)(chars + i - 1), &u ) == 2 )
result += TQValidChar(u);
else {
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
i--;
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
// Bad String
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
} else {
// Invalid
- result += TQChar::tqreplacement;
+ result += TQChar::replacement;
}
}
return result;