summaryrefslogtreecommitdiffstats
path: root/libkdepim/addressesdialog.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/addressesdialog.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/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++;
}
}