diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:14 -0600 |
commit | c1ef065782051db96cdfd32cf55be6408c2a9d22 (patch) | |
tree | 0bc3705b597f8c98b2b9992d22ab9620df50b877 /src/itemgroup.cpp | |
parent | bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (diff) | |
download | ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.tar.gz ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.
Diffstat (limited to 'src/itemgroup.cpp')
-rw-r--r-- | src/itemgroup.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/itemgroup.cpp b/src/itemgroup.cpp index c1ab4da..ce22a1a 100644 --- a/src/itemgroup.cpp +++ b/src/itemgroup.cpp @@ -52,22 +52,22 @@ ItemList ItemGroup::items( bool excludeParentedItems ) const do { oldSize = items.size(); - ItemList children; + ItemList tqchildren; ItemList::iterator end = parents.end(); for ( ItemList::iterator it = parents.begin(); it != end; ++it ) - children += (*it)->children(); + tqchildren += (*it)->tqchildren(); - end = children.end(); - for ( ItemList::iterator it = children.begin(); it != end; ++it ) + end = tqchildren.end(); + for ( ItemList::iterator it = tqchildren.begin(); it != end; ++it ) { - if ( children.contains(*it) > 1 ) + if ( tqchildren.contains(*it) > 1 ) *it = 0l; } - children.remove((Item*)0l); + tqchildren.remove((Item*)0l); - items += children; - parents = children; + items += tqchildren; + parents = tqchildren; } while ( oldSize != items.size() ); @@ -148,19 +148,19 @@ void ItemGroup::registerItem( Item *item ) } m_itemList += item; - updateAreSameStatus(); + updateAreSametqStatus(); } void ItemGroup::unregisterItem( Item *item ) { if ( m_itemList.remove(item) > 0 ) { - updateAreSameStatus(); + updateAreSametqStatus(); } } -void ItemGroup::updateAreSameStatus() +void ItemGroup::updateAreSametqStatus() { b_itemsAreSameType = true; |