diff options
Diffstat (limited to 'kopete/plugins/alias/aliaspreferences.cpp')
-rw-r--r-- | kopete/plugins/alias/aliaspreferences.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/plugins/alias/aliaspreferences.cpp b/kopete/plugins/alias/aliaspreferences.cpp index 330c8d5d..8a651288 100644 --- a/kopete/plugins/alias/aliaspreferences.cpp +++ b/kopete/plugins/alias/aliaspreferences.cpp @@ -205,7 +205,7 @@ void AliasPreferences::slotPluginLoaded( Kopete::Plugin *plugin ) if( *it2 == protocol->pluginId() ) { TQPair<Kopete::Protocol*, TQString> pr( protocol, *it ); - if( protocolMap.tqfind( pr ) == protocolMap.end() ) + if( protocolMap.find( pr ) == protocolMap.end() ) { Kopete::CommandHandler::commandHandler()->registerAlias( protocol, @@ -331,7 +331,7 @@ void AliasPreferences::slotAddAlias() if( alias.startsWith( TQString::tqfromLatin1("/") ) ) alias = alias.section( '/', 1 ); - if( alias.tqcontains( TQRegExp("[_=]") ) ) + if( alias.contains( TQRegExp("[_=]") ) ) { KMessageBox::error( this, i18n("<qt>Could not add alias <b>%1</b>. An" " alias name cannot contain the characters \"_\" or \"=\"." @@ -420,7 +420,7 @@ void AliasPreferences::slotEditAlias() TQString alias = editDialog.alias->text(); if( alias.startsWith( TQString::tqfromLatin1("/") ) ) alias = alias.section( '/', 1 ); - if( alias.tqcontains( TQRegExp("[_=]") ) ) + if( alias.contains( TQRegExp("[_=]") ) ) { KMessageBox::error( this, i18n("<qt>Could not add alias <b>%1</b>. An" " alias name cannot contain the characters \"_\" or \"=\"." |