summaryrefslogtreecommitdiffstats
path: root/lib/kformula/kformulacommand.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kformula/kformulacommand.cc
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/kformula/kformulacommand.cc')
-rw-r--r--lib/kformula/kformulacommand.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kformula/kformulacommand.cc b/lib/kformula/kformulacommand.cc
index 267038c4..65bfa6c3 100644
--- a/lib/kformula/kformulacommand.cc
+++ b/lib/kformula/kformulacommand.cc
@@ -556,10 +556,10 @@ void CharStyleCommand::execute()
TQMap<SequenceElement*, int> parentCollector;
styleList.clear();
- uint count = tqchildrenList().count();
+ uint count = childrenList().count();
styleList.reserve( count );
for ( uint i=0; i<count; ++i ) {
- TextElement* child = tqchildrenList().at( i );
+ TextElement* child = childrenList().at( i );
styleList[i] = child->getCharStyle();
child->setCharStyle( charStyle );
parentCollector[static_cast<SequenceElement*>( child->getParent() )] = 1;
@@ -571,10 +571,10 @@ void CharStyleCommand::execute()
void CharStyleCommand::unexecute()
{
TQMap<SequenceElement*, int> parentCollector;
- uint count = tqchildrenList().count();
+ uint count = childrenList().count();
//styleList.reserve( count );
for ( uint i=0; i<count; ++i ) {
- TextElement* child = tqchildrenList().at( i );
+ TextElement* child = childrenList().at( i );
child->setCharStyle( styleList[i] );
parentCollector[static_cast<SequenceElement*>( child->getParent() )] = 1;
}
@@ -595,10 +595,10 @@ void CharFamilyCommand::execute()
TQMap<SequenceElement*, int> parentCollector;
familyList.clear();
- uint count = tqchildrenList().count();
+ uint count = childrenList().count();
familyList.reserve( count );
for ( uint i=0; i<count; ++i ) {
- TextElement* child = tqchildrenList().at( i );
+ TextElement* child = childrenList().at( i );
familyList[i] = child->getCharFamily();
child->setCharFamily( charFamily );
parentCollector[static_cast<SequenceElement*>( child->getParent() )] = 1;
@@ -610,10 +610,10 @@ void CharFamilyCommand::execute()
void CharFamilyCommand::unexecute()
{
TQMap<SequenceElement*, int> parentCollector;
- uint count = tqchildrenList().count();
+ uint count = childrenList().count();
//familyList.reserve( count );
for ( uint i=0; i<count; ++i ) {
- TextElement* child = tqchildrenList().at( i );
+ TextElement* child = childrenList().at( i );
child->setCharFamily( familyList[i] );
parentCollector[static_cast<SequenceElement*>( child->getParent() )] = 1;
}