summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/private/kopetecommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/private/kopetecommand.cpp')
-rw-r--r--kopete/libkopete/private/kopetecommand.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/libkopete/private/kopetecommand.cpp b/kopete/libkopete/private/kopetecommand.cpp
index e80788bf..f9ae7365 100644
--- a/kopete/libkopete/private/kopetecommand.cpp
+++ b/kopete/libkopete/private/kopetecommand.cpp
@@ -25,10 +25,10 @@
#include "kopetecommand.h"
#include "kopeteuiglobal.h"
-Kopete::Command::Command( TQObject *tqparent, const TQString &command, const char* handlerSlot,
+Kopete::Command::Command( TQObject *parent, const TQString &command, const char* handlerSlot,
const TQString &help, Kopete::CommandHandler::CommandType type, const TQString &formatString,
uint minArgs, int maxArgs, const KShortcut &cut, const TQString &pix )
- : KAction( command[0].upper() + command.right( command.length() - 1).lower(), pix, cut, tqparent,
+ : KAction( command[0].upper() + command.right( command.length() - 1).lower(), pix, cut, parent,
( command.lower() + TQString::tqfromLatin1("_command") ).latin1() )
{
init( command, handlerSlot, help, type, formatString, minArgs, maxArgs );
@@ -48,7 +48,7 @@ void Kopete::Command::init( const TQString &command, const char* slot, const TQS
if( m_type == Kopete::CommandHandler::Normal )
{
TQObject::connect( this, TQT_SIGNAL( handleCommand( const TQString &, Kopete::ChatSession *) ),
- tqparent(), slot );
+ parent(), slot );
}
TQObject::connect( this, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotAction() ) );