summaryrefslogtreecommitdiffstats
path: root/libtdepim/addresseeemailselection.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /libtdepim/addresseeemailselection.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'libtdepim/addresseeemailselection.cpp')
-rw-r--r--libtdepim/addresseeemailselection.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libtdepim/addresseeemailselection.cpp b/libtdepim/addresseeemailselection.cpp
index 5a745b4f4..dde8f7dd4 100644
--- a/libtdepim/addresseeemailselection.cpp
+++ b/libtdepim/addresseeemailselection.cpp
@@ -143,8 +143,8 @@ bool AddresseeEmailSelection::itemEnabled( const KABC::Addressee &addressee, uin
bool AddresseeEmailSelection::itemMatches( const KABC::Addressee &addressee, uint index, const TQString &pattern ) const
{
- return addressee.formattedName().startsWith( pattern, false ) ||
- email( addressee, index ).startsWith( pattern, false );
+ return addressee.formattedName().tqstartsWith( pattern, false ) ||
+ email( addressee, index ).tqstartsWith( pattern, false );
}
bool AddresseeEmailSelection::itemEquals( const KABC::Addressee &addressee, uint index, const TQString &pattern ) const
@@ -172,13 +172,13 @@ bool AddresseeEmailSelection::distributionListMatches( const KABC::DistributionL
const TQString &pattern ) const
{
// check whether the name of the distribution list matches the pattern or one of its entries.
- bool ok = distributionList->name().startsWith( pattern, false );
+ bool ok = distributionList->name().tqstartsWith( pattern, false );
KABC::DistributionList::Entry::List entries = distributionList->entries();
KABC::DistributionList::Entry::List::ConstIterator it;
for ( it = entries.begin(); it != entries.end(); ++it ) {
- ok = ok || (*it).addressee.formattedName().startsWith( pattern, false ) ||
- (*it).email.startsWith( pattern, false );
+ ok = ok || (*it).addressee.formattedName().tqstartsWith( pattern, false ) ||
+ (*it).email.tqstartsWith( pattern, false );
}
return ok;