summaryrefslogtreecommitdiffstats
path: root/kmail/antispamwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/antispamwizard.cpp')
-rw-r--r--kmail/antispamwizard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/antispamwizard.cpp b/kmail/antispamwizard.cpp
index 1e5e912b8..dccca6a89 100644
--- a/kmail/antispamwizard.cpp
+++ b/kmail/antispamwizard.cpp
@@ -505,9 +505,9 @@ void AntiSpamWizard::checkToolAvailability()
AccountManager* mgr = kmkernel->acctMgr();
KMAccount* account = mgr->first();
while ( account ) {
- if ( account->type() == "pop" || account->type().tqcontains( "imap" ) ) {
+ if ( account->type() == "pop" || account->type().contains( "imap" ) ) {
const NetworkAccount * n = dynamic_cast<const NetworkAccount*>( account );
- if ( n && n->host().lower().tqcontains( pattern.lower() ) ) {
+ if ( n && n->host().lower().contains( pattern.lower() ) ) {
mInfoPage->addAvailableTool( (*it).getVisibleName() );
found = true;
}
@@ -925,7 +925,7 @@ void ASWizInfoPage::addAvailableTool( const TQString &visibleName )
bool ASWizInfoPage::isProgramSelected( const TQString &visibleName )
{
TQString listName = visibleName;
- return mToolsList->isSelected( mToolsList->tqfindItem( listName ) );
+ return mToolsList->isSelected( mToolsList->findItem( listName ) );
}