diff options
Diffstat (limited to 'src/itemgroup.cpp')
| -rw-r--r-- | src/itemgroup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/itemgroup.cpp b/src/itemgroup.cpp index d6d6fb2..ce22a1a 100644 --- a/src/itemgroup.cpp +++ b/src/itemgroup.cpp @@ -61,7 +61,7 @@ ItemList ItemGroup::items( bool excludeParentedItems ) const end = tqchildren.end(); for ( ItemList::iterator it = tqchildren.begin(); it != end; ++it ) { - if ( tqchildren.tqcontains(*it) > 1 ) + if ( tqchildren.contains(*it) > 1 ) *it = 0l; } tqchildren.remove((Item*)0l); @@ -143,7 +143,7 @@ bool ItemGroup::itemsHaveDefaultData() const void ItemGroup::registerItem( Item *item ) { - if ( !item || m_itemList.tqcontains(item) ) { + if ( !item || m_itemList.contains(item) ) { return; } @@ -169,7 +169,7 @@ void ItemGroup::updateAreSametqStatus() } TQString activeId = (*m_itemList.begin())->id(); - int discardIndex = activeId.tqfindRev("__"); + int discardIndex = activeId.findRev("__"); if ( discardIndex != -1 ) activeId.truncate(discardIndex); const ItemList::iterator end = m_itemList.end(); @@ -178,7 +178,7 @@ void ItemGroup::updateAreSametqStatus() if (*it) { TQString id = (*it)->id(); - discardIndex = id.tqfindRev("__"); + discardIndex = id.findRev("__"); if ( discardIndex != -1 ) id.truncate(discardIndex); if ( id != activeId ) { |
