summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/kabc_resourcegroupwiseconfig.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
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/groupwise/kabc_resourcegroupwiseconfig.cpp')
-rw-r--r--kresources/groupwise/kabc_resourcegroupwiseconfig.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp b/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
index a5ccb74fc..220769077 100644
--- a/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
+++ b/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
@@ -168,7 +168,7 @@ void ResourceGroupwiseConfig::saveAddressBookSettings()
// if so, clear the resource to clear the SAB data that is no longer required.
// also, set the sequence numbers to 0 so that we know the SAB should be re-fetched in its entirety the next time we do load it
TQString sab = mResource->prefs()->systemAddressBook();
- if ( ( mReadAddressBookIds.tqfind( sab ) != mReadAddressBookIds.end() ) && ( selectedRead.tqfind( sab ) == selectedRead.end() ) )
+ if ( ( mReadAddressBookIds.find( sab ) != mReadAddressBookIds.end() ) && ( selectedRead.find( sab ) == selectedRead.end() ) )
{
mResource->clearCache();
mResource->prefs()->setLastSequenceNumber( 0 );
@@ -195,14 +195,14 @@ void ResourceGroupwiseConfig::updateAddressBookView()
GroupWise::AddressBook::List::ConstIterator abIt;
for ( abIt = addressBooks.begin(); abIt != addressBooks.end(); ++abIt ) {
AddressBookItem *item = new AddressBookItem( mAddressBookView, *abIt );
- if ( selectedRead.tqfind( (*abIt).id ) != selectedRead.end() )
+ if ( selectedRead.find( (*abIt).id ) != selectedRead.end() )
item->setOn( true );
mAddressBookBox->insertItem( (*abIt).name );
mWriteAddressBookIds.append( (*abIt).id );
}
- int index = mWriteAddressBookIds.tqfindIndex( mResource->prefs()->writeAddressBook() );
+ int index = mWriteAddressBookIds.findIndex( mResource->prefs()->writeAddressBook() );
mAddressBookBox->setCurrentItem( index );
}