From 9c9412b30c54468adc9e506cc76c5d113fbf5056 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:03 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kopete/protocols/irc/ircusercontact.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kopete/protocols/irc/ircusercontact.cpp') diff --git a/kopete/protocols/irc/ircusercontact.cpp b/kopete/protocols/irc/ircusercontact.cpp index fa2ae7b5..03806208 100644 --- a/kopete/protocols/irc/ircusercontact.cpp +++ b/kopete/protocols/irc/ircusercontact.cpp @@ -524,45 +524,45 @@ void IRCUserContact::newWhoReply( const TQString &channel, const TQString &user, } } -TQPtrList *IRCUserContact::customContextMenuActions( Kopete::ChatSession *manager ) +TQPtrList *IRCUserContact::customContextMenuActions( Kopete::ChatSession *manager ) { if( manager ) { - TQPtrList *mCustomActions = new TQPtrList (); + TQPtrList *mCustomActions = new TQPtrList (); mActiveManager = manager; Kopete::ContactPtrList members = mActiveManager->members(); IRCChannelContact *isChannel = dynamic_cast( members.first() ); if( !actionCtcpMenu ) { - actionCtcpMenu = new KActionMenu(i18n("C&TCP"), 0, this ); - actionCtcpMenu->insert( new KAction(i18n("&Version"), 0, this, + actionCtcpMenu = new TDEActionMenu(i18n("C&TCP"), 0, this ); + actionCtcpMenu->insert( new TDEAction(i18n("&Version"), 0, this, TQT_SLOT(slotCtcpVersion()), actionCtcpMenu) ); - actionCtcpMenu->insert( new KAction(i18n("&Ping"), 0, this, + actionCtcpMenu->insert( new TDEAction(i18n("&Ping"), 0, this, TQT_SLOT(slotCtcpPing()), actionCtcpMenu) ); - actionModeMenu = new KActionMenu(i18n("&Modes"), 0, this, "actionModeMenu"); - actionModeMenu->insert( new KAction(i18n("&Op"), 0, this, + actionModeMenu = new TDEActionMenu(i18n("&Modes"), 0, this, "actionModeMenu"); + actionModeMenu->insert( new TDEAction(i18n("&Op"), 0, this, TQT_SLOT(slotOp()), actionModeMenu, "actionOp") ); - actionModeMenu->insert( new KAction(i18n("&Deop"), 0, this, + actionModeMenu->insert( new TDEAction(i18n("&Deop"), 0, this, TQT_SLOT(slotDeop()), actionModeMenu, "actionDeop") ); - actionModeMenu->insert( new KAction(i18n("&Voice"), 0, this, + actionModeMenu->insert( new TDEAction(i18n("&Voice"), 0, this, TQT_SLOT(slotVoice()), actionModeMenu, "actionVoice") ); - actionModeMenu->insert( new KAction(i18n("Devoice"), 0, this, + actionModeMenu->insert( new TDEAction(i18n("Devoice"), 0, this, TQT_SLOT(slotDevoice()), actionModeMenu, "actionDevoice") ); actionModeMenu->setEnabled( false ); - actionKick = new KAction(i18n("&Kick"), 0, this, TQT_SLOT(slotKick()), this); + actionKick = new TDEAction(i18n("&Kick"), 0, this, TQT_SLOT(slotKick()), this); actionKick->setEnabled( false ); - actionBanMenu = new KActionMenu(i18n("&Ban"), 0, this, "actionBanMenu"); - actionBanMenu->insert( new KAction(i18n("Host (*!*@host.domain.net)"), 0, this, + actionBanMenu = new TDEActionMenu(i18n("&Ban"), 0, this, "actionBanMenu"); + actionBanMenu->insert( new TDEAction(i18n("Host (*!*@host.domain.net)"), 0, this, TQT_SLOT(slotBanHost()), actionBanMenu ) ); - actionBanMenu->insert( new KAction(i18n("Domain (*!*@*.domain.net)"), 0, this, + actionBanMenu->insert( new TDEAction(i18n("Domain (*!*@*.domain.net)"), 0, this, TQT_SLOT(slotBanDomain()), actionBanMenu ) ); - actionBanMenu->insert( new KAction(i18n("User@Host (*!*user@host.domain.net)"), 0, this, + actionBanMenu->insert( new TDEAction(i18n("User@Host (*!*user@host.domain.net)"), 0, this, TQT_SLOT(slotBanUserHost()), actionBanMenu ) ); - actionBanMenu->insert( new KAction(i18n("User@Domain (*!*user@*.domain.net)"), 0, this, + actionBanMenu->insert( new TDEAction(i18n("User@Domain (*!*user@*.domain.net)"), 0, this, TQT_SLOT(slotBanUserDomain()), actionBanMenu ) ); actionBanMenu->setEnabled( false ); -- cgit v1.2.1