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 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;