summaryrefslogtreecommitdiffstats
path: root/libkdepim/addresseeselector.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 /libkdepim/addresseeselector.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 '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(),