summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/alias/aliaspreferences.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
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /kopete/plugins/alias/aliaspreferences.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/alias/aliaspreferences.cpp')
-rw-r--r--kopete/plugins/alias/aliaspreferences.cpp6
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 \"=\"."