summaryrefslogtreecommitdiffstats
path: root/libkdepim/addresseeselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/addresseeselector.cpp')
-rw-r--r--libkdepim/addresseeselector.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdepim/addresseeselector.cpp b/libkdepim/addresseeselector.cpp
index 70d587bae..d947baa1a 100644
--- a/libkdepim/addresseeselector.cpp
+++ b/libkdepim/addresseeselector.cpp
@@ -47,7 +47,7 @@ class AddresseeSelector::AddressBookManager
void addAddressBook( const TQString &title, SelectionItem::List &list );
void clear();
- bool tqcontains( uint index, const SelectionItem& );
+ bool contains( uint index, const SelectionItem& );
private:
struct AddressBookEntry {
@@ -79,7 +79,7 @@ TQStringList AddresseeSelector::AddressBookManager::titles() const
void AddresseeSelector::AddressBookManager::addResource( KABC::Resource *resource )
{
- if ( mResources.tqfind( resource ) == mResources.end() )
+ if ( mResources.find( resource ) == mResources.end() )
mResources.append( resource );
}
@@ -101,7 +101,7 @@ void AddresseeSelector::AddressBookManager::clear()
mAddressBooks.clear();
}
-bool AddresseeSelector::AddressBookManager::tqcontains( uint index, const SelectionItem &item )
+bool AddresseeSelector::AddressBookManager::contains( uint index, const SelectionItem &item )
{
if ( index == 0 ) // the 'all' entry
return true;
@@ -362,7 +362,7 @@ void AddresseeSelector::updateAddresseeView()
SelectionItem::List::Iterator it;
for ( it = mSelectionItems.begin(); it != mSelectionItems.end(); ++it ) {
- if ( mAddressBookManager->tqcontains( addressBookIndex, *it ) ) {
+ if ( mAddressBookManager->contains( addressBookIndex, *it ) ) {
if ( (*it).distributionList() == 0 ) {
if ( mAddresseeFilter->text().isEmpty() ||
mSelection->itemMatches( (*it).addressee(), (*it).index(),