summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
diff options
context:
space:
mode:
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 );
}