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/kformula/formulacursor.cc | |
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/kformula/formulacursor.cc')
-rw-r--r-- | lib/kformula/formulacursor.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/kformula/formulacursor.cc b/lib/kformula/formulacursor.cc index b406a002..9fe3afbd 100644 --- a/lib/kformula/formulacursor.cc +++ b/lib/kformula/formulacursor.cc @@ -325,10 +325,10 @@ void FormulaCursor::remove(TQPtrList<BasicElement>& tqchildren, // If there is no child to remove in the sequence // remove the sequence instead. if (sequence->countChildren() == 0) { - BasicElement* tqparent = sequence->getParent(); - if (tqparent != 0) { - tqparent->selectChild(this, sequence); - tqparent->remove(this, tqchildren, direction); + BasicElement* parent = sequence->getParent(); + if (parent != 0) { + parent->selectChild(this, sequence); + parent->remove(this, tqchildren, direction); return; } } @@ -363,12 +363,12 @@ void FormulaCursor::replaceSelectionWith(BasicElement* element, mainChild->goInside(this); insert(list); /* - BasicElement* tqparent = element->getParent(); + BasicElement* parent = element->getParent(); if (direction == beforeCursor) { - tqparent->moveRight(this, element); + parent->moveRight(this, element); } else { - tqparent->moveLeft(this, element); + parent->moveLeft(this, element); } */ element->selectChild(this, mainChild); @@ -412,10 +412,10 @@ BasicElement* FormulaCursor::replaceByMainChildContent(Direction direction) BasicElement* FormulaCursor::removeEnclosingElement(Direction direction) { assert( !isReadOnly() ); - BasicElement* tqparent = getElement()->getParent(); - if (tqparent != 0) { - if (getElement() == tqparent->getMainChild()) { - tqparent->selectChild(this, getElement()); + BasicElement* parent = getElement()->getParent(); + if (parent != 0) { + if (getElement() == parent->getMainChild()) { + parent->selectChild(this, getElement()); return replaceByMainChildContent(direction); } } |