summaryrefslogtreecommitdiffstats
path: root/src/itemgroup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commite05894553004a47b1e2f276bedcf5963b57a3932 (patch)
tree2c12af14a609c053131e3a463068fa7589e6ac6a /src/itemgroup.cpp
parent60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff)
downloadktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.tar.gz
ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/itemgroup.cpp')
-rw-r--r--src/itemgroup.cpp8
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 )
{