summaryrefslogtreecommitdiffstats
path: root/src/itemgroup.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:48 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:48 -0600
commitbab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (patch)
treeebcbd8371d791d7419485d11deec88587c36aa7e /src/itemgroup.cpp
parent393fa51a38771670ecb265a99ab592e03f4ecc5c (diff)
downloadktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.tar.gz
ktechlab-bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/itemgroup.cpp')
-rw-r--r--src/itemgroup.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/itemgroup.cpp b/src/itemgroup.cpp
index ce22a1a..c1ab4da 100644
--- a/src/itemgroup.cpp
+++ b/src/itemgroup.cpp
@@ -52,22 +52,22 @@ ItemList ItemGroup::items( bool excludeParentedItems ) const
do
{
oldSize = items.size();
- ItemList tqchildren;
+ ItemList children;
ItemList::iterator end = parents.end();
for ( ItemList::iterator it = parents.begin(); it != end; ++it )
- tqchildren += (*it)->tqchildren();
+ children += (*it)->children();
- end = tqchildren.end();
- for ( ItemList::iterator it = tqchildren.begin(); it != end; ++it )
+ end = children.end();
+ for ( ItemList::iterator it = children.begin(); it != end; ++it )
{
- if ( tqchildren.contains(*it) > 1 )
+ if ( children.contains(*it) > 1 )
*it = 0l;
}
- tqchildren.remove((Item*)0l);
+ children.remove((Item*)0l);
- items += tqchildren;
- parents = tqchildren;
+ items += children;
+ parents = children;
}
while ( oldSize != items.size() );
@@ -148,19 +148,19 @@ void ItemGroup::registerItem( Item *item )
}
m_itemList += item;
- updateAreSametqStatus();
+ updateAreSameStatus();
}
void ItemGroup::unregisterItem( Item *item )
{
if ( m_itemList.remove(item) > 0 ) {
- updateAreSametqStatus();
+ updateAreSameStatus();
}
}
-void ItemGroup::updateAreSametqStatus()
+void ItemGroup::updateAreSameStatus()
{
b_itemsAreSameType = true;