summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-08-09 22:25:47 -0500
committerTimothy Pearson <[email protected]>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/kernel/tqscriptengine_x11.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/kernel/tqscriptengine_x11.cpp')
-rw-r--r--tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp b/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp
index 3cd84d7..d42b8d2 100644
--- a/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp
+++ b/tqtinterface/qt4/src/kernel/tqscriptengine_x11.cpp
@@ -1285,9 +1285,9 @@ static bool indic_tqshape_syllable(TQOpenType *openType, TQShaperItem *item, boo
unsigned short *uc = reordered.data();
bool beginsWithRa = FALSE;
- // Rule 1: tqfind base consonant
+ // Rule 1: find base consonant
//
- // The shaping engine tqfinds the base consonant of the
+ // The shaping engine finds the base consonant of the
// syllable, using the following algorithm: starting from the
// end of the syllable, move backwards until a consonant is
// found that does not have a below-base or post-base form
@@ -1301,7 +1301,7 @@ static bool indic_tqshape_syllable(TQOpenType *openType, TQShaperItem *item, boo
//
// * In Kannada and Telugu, the base consonant cannot be
// farther than 3 consonants from the end of the syllable.
- // #### tqreplace the HasReph property by testing if the feature exists in the font!
+ // #### replace the HasReph property by testing if the feature exists in the font!
if (form(*uc) == Consonant || (script == TQFont::Bengali && form(*uc) == IndependentVowel)) {
beginsWithRa = (properties & HasReph) && ((len > 2) && *uc == ra && *(uc+1) == halant);
@@ -1470,7 +1470,7 @@ static bool indic_tqshape_syllable(TQOpenType *openType, TQShaperItem *item, boo
position[base] = Base;
for (i = base+1; i < len; ++i) {
position[i] = indic_position(uc[i]);
- // #### tqreplace by adjusting table
+ // #### replace by adjusting table
if (uc[i] == nukta || uc[i] == halant)
position[i] = Inherit;
}
@@ -1679,7 +1679,7 @@ static bool indic_tqshape_syllable(TQOpenType *openType, TQShaperItem *item, boo
// move the left matra back to it's correct position in malayalam and tamil
if ((script == TQFont::Malayalam || script == TQFont::Tamil) && (form(reordered[0]) == Matra)) {
// qDebug("reordering matra, len=%d", newLen);
- // need to tqfind the base in the tqshaped string and move the matra there
+ // need to find the base in the tqshaped string and move the matra there
int basePos = 0;
while (basePos < newLen && (int)otl_glyphs[basePos].cluster <= base)
basePos++;