diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kotext/KoComplexText.cpp | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kotext/KoComplexText.cpp')
-rw-r--r-- | lib/kotext/KoComplexText.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoComplexText.cpp b/lib/kotext/KoComplexText.cpp index 4239bf47..54599d07 100644 --- a/lib/kotext/KoComplexText.cpp +++ b/lib/kotext/KoComplexText.cpp @@ -55,14 +55,14 @@ KoBidiContext::KoBidiContext( uchar l, TQChar::Direction e, KoBidiContext *p, bo { if ( p ) p->ref(); - tqparent = p; + parent = p; count = 0; } KoBidiContext::~KoBidiContext() { - if( tqparent && tqparent->deref() ) - delete tqparent; + if( parent && parent->deref() ) + delete parent; } static TQChar *tqshapeBuffer = 0; @@ -924,8 +924,8 @@ TQPtrList<KoTextRun> *KoComplexText::bidiReorderLine( KoBidiControl *control, co TQChar::Direction dirCurrent; if(current == (int)text.length()) { KoBidiContext *c = context; - while ( c->tqparent ) - c = c->tqparent; + while ( c->parent ) + c = c->parent; dirCurrent = c->dir; } else if ( current == last ) { dirCurrent = ( basicDir != TQChar::DirON ? basicDir : basicDirection( text, current ) ); @@ -1008,7 +1008,7 @@ TQPtrList<KoTextRun> *KoComplexText::bidiReorderLine( KoBidiControl *control, co } case TQChar::DirPDF: { - KoBidiContext *c = context->tqparent; + KoBidiContext *c = context->parent; if(c) { runs->append( new KoTextRun(sor, eor, context, dir) ); ++eor; sor = eor; dir = TQChar::DirON; status.eor = TQChar::DirON; |