summaryrefslogtreecommitdiffstats
path: root/src/itemgroup.cpp
diff options
context:
space:
mode:
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 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;