summaryrefslogtreecommitdiffstats
path: root/lib/kformula/kformulacommand.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /lib/kformula/kformulacommand.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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 65bfa6c3..267038c4 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 = childrenList().count();
+ uint count = tqchildrenList().count();
styleList.reserve( count );
for ( uint i=0; i<count; ++i ) {
- TextElement* child = childrenList().at( i );
+ TextElement* child = tqchildrenList().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 = childrenList().count();
+ uint count = tqchildrenList().count();
//styleList.reserve( count );
for ( uint i=0; i<count; ++i ) {
- TextElement* child = childrenList().at( i );
+ TextElement* child = tqchildrenList().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 = childrenList().count();
+ uint count = tqchildrenList().count();
familyList.reserve( count );
for ( uint i=0; i<count; ++i ) {
- TextElement* child = childrenList().at( i );
+ TextElement* child = tqchildrenList().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 = childrenList().count();
+ uint count = tqchildrenList().count();
//familyList.reserve( count );
for ( uint i=0; i<count; ++i ) {
- TextElement* child = childrenList().at( i );
+ TextElement* child = tqchildrenList().at( i );
child->setCharFamily( familyList[i] );
parentCollector[static_cast<SequenceElement*>( child->getParent() )] = 1;
}