From 04766b207afba7961d4d802313e426f5a2fbef63 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- lib/kotext/KoComplexText.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/kotext/KoComplexText.cpp') diff --git a/lib/kotext/KoComplexText.cpp b/lib/kotext/KoComplexText.cpp index 4239bf470..54599d075 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 *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 *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; -- cgit v1.2.3