summaryrefslogtreecommitdiffstats
path: root/libkdepim/addressesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/addressesdialog.cpp')
-rw-r--r--libkdepim/addressesdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdepim/addressesdialog.cpp b/libkdepim/addressesdialog.cpp
index e874ac017..d73ab63f8 100644
--- a/libkdepim/addressesdialog.cpp
+++ b/libkdepim/addressesdialog.cpp
@@ -176,7 +176,7 @@ AddresseeViewItem::email() const
bool AddresseeViewItem::matches(const TQString& txt) const
{
- return d->address.realName().tqcontains(txt, false) || d->address.preferredEmail().tqcontains(txt, false);
+ return d->address.realName().contains(txt, false) || d->address.preferredEmail().contains(txt, false);
}
void AddresseeViewItem::setSelected(bool selected)
@@ -402,7 +402,7 @@ AddressesDialog::allToAddressesNoDuplicates() const
TQValueList<KPIM::DistributionList::Entry>::ConstIterator eit;
for( eit = eList.begin(); eit != eList.end(); ++eit ) {
KABC::Addressee a = (*eit).addressee;
- if ( !a.preferredEmail().isEmpty() && aList.tqfind( a ) == aList.end() ) {
+ if ( !a.preferredEmail().isEmpty() && aList.find( a ) == aList.end() ) {
aList.append( a ) ;
}
}
@@ -415,7 +415,7 @@ AddressesDialog::allToAddressesNoDuplicates() const
TQValueList<KABC::DistributionList::Entry>::ConstIterator eit;
for( eit = eList.begin(); eit != eList.end(); ++eit ) {
KABC::Addressee a = (*eit).addressee;
- if ( !a.preferredEmail().isEmpty() && aList.tqfind( a ) == aList.end() ) {
+ if ( !a.preferredEmail().isEmpty() && aList.find( a ) == aList.end() ) {
aList.append( a ) ;
}
}
@@ -678,7 +678,7 @@ AddressesDialog::addAddresseesToSelected( AddresseeViewItem *tqparent,
AddresseeViewItem* address = itr.current();
++itr;
- if (selectedToAvailableMapping.tqfind(address) != 0)
+ if (selectedToAvailableMapping.find(address) != 0)
{
continue;
}
@@ -1043,11 +1043,11 @@ AddressesDialog::filterChanged( const TQString& txt )
}
p2 = static_cast<AddresseeViewItem*>( p2->nextSibling() );
}
- if ( !pcount && !p->text( 0 ).tqcontains( txt, false ) ) {
+ if ( !pcount && !p->text( 0 ).contains( txt, false ) ) {
p->setVisible( false );
}
distlistgroupVisible += pcount;
- if ( p->text( 0 ).tqcontains( txt, false ) ) {
+ if ( p->text( 0 ).contains( txt, false ) ) {
distlistgroupVisible++;
}
}