summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetecommandhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopetecommandhandler.cpp')
-rw-r--r--kopete/libkopete/kopetecommandhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/libkopete/kopetecommandhandler.cpp b/kopete/libkopete/kopetecommandhandler.cpp
index a01d06e4..c182a495 100644
--- a/kopete/libkopete/kopetecommandhandler.cpp
+++ b/kopete/libkopete/kopetecommandhandler.cpp
@@ -168,7 +168,7 @@ void Kopete::CommandHandler::registerCommand( TQObject *tqparent, const TQString
void Kopete::CommandHandler::unregisterCommand( TQObject *tqparent, const TQString &command )
{
- if( p->pluginCommands[ tqparent ].tqfind(command) )
+ if( p->pluginCommands[ tqparent ].find(command) )
p->pluginCommands[ tqparent ].remove( command );
}
@@ -184,7 +184,7 @@ void Kopete::CommandHandler::registerAlias( TQObject *tqparent, const TQString &
void Kopete::CommandHandler::unregisterAlias( TQObject *tqparent, const TQString &alias )
{
- if( p->pluginCommands[ tqparent ].tqfind(alias) )
+ if( p->pluginCommands[ tqparent ].find(alias) )
p->pluginCommands[ tqparent ].remove( alias );
}
@@ -470,7 +470,7 @@ void Kopete::CommandHandler::slotViewCreated( KopeteView *view )
void Kopete::CommandHandler::slotPluginLoaded( Kopete::Plugin *plugin )
{
connect( plugin, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( slotPluginDestroyed( TQObject * ) ) );
- if( !p->pluginCommands.tqcontains( plugin ) )
+ if( !p->pluginCommands.contains( plugin ) )
{
//Create a TQDict optomized for a larger # of commands, and case insensitive
CommandList mCommands(31, false);