diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /kopete/protocols/irc/ircusercontact.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/protocols/irc/ircusercontact.cpp')
-rw-r--r-- | kopete/protocols/irc/ircusercontact.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kopete/protocols/irc/ircusercontact.cpp b/kopete/protocols/irc/ircusercontact.cpp index 1254b9d9..0e7f8760 100644 --- a/kopete/protocols/irc/ircusercontact.cpp +++ b/kopete/protocols/irc/ircusercontact.cpp @@ -41,10 +41,10 @@ IRCUserContact::IRCUserContact(IRCContactManager *contactManager, const TQString mOnlineTimer = new TQTimer( this ); - TQObject::connect(mOnlineTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT( slotUserOffline() ) ); + TQObject::connect(mOnlineTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT( slotUserOffline() ) ); - TQObject::connect(kircEngine(), TQT_SIGNAL(incomingChannelModeChange(const TQString&, const TQString&, const TQString&)), - this, TQT_SLOT(slotIncomingModeChange(const TQString&,const TQString&, const TQString&))); + TQObject::connect(kircEngine(), TQ_SIGNAL(incomingChannelModeChange(const TQString&, const TQString&, const TQString&)), + this, TQ_SLOT(slotIncomingModeChange(const TQString&,const TQString&, const TQString&))); mInfo.isOperator = false; mInfo.isIdentified = false; @@ -246,7 +246,7 @@ void IRCUserContact::slotBanHost() if (mInfo.hostName.isEmpty()) { if (kircEngine()->isConnected()) { kircEngine()->whois(m_nickName); - TQTimer::singleShot( 750, this, TQT_SLOT( slotBanHostOnce() ) ); + TQTimer::singleShot( 750, this, TQ_SLOT( slotBanHostOnce() ) ); } } else { slotBanHostOnce(); @@ -270,7 +270,7 @@ void IRCUserContact::slotBanUserHost() if (mInfo.hostName.isEmpty()) { if (kircEngine()->isConnected()) { kircEngine()->whois(m_nickName); - TQTimer::singleShot( 750, this, TQT_SLOT( slotBanUserHostOnce() ) ); + TQTimer::singleShot( 750, this, TQ_SLOT( slotBanUserHostOnce() ) ); } } else { slotBanUserHostOnce(); @@ -294,7 +294,7 @@ void IRCUserContact::slotBanDomain() if (mInfo.hostName.isEmpty()) { if (kircEngine()->isConnected()) { kircEngine()->whois(m_nickName); - TQTimer::singleShot( 750, this, TQT_SLOT( slotBanDomainOnce() ) ); + TQTimer::singleShot( 750, this, TQ_SLOT( slotBanDomainOnce() ) ); } } else { slotBanDomainOnce(); @@ -320,7 +320,7 @@ void IRCUserContact::slotBanUserDomain() if (mInfo.hostName.isEmpty()) { if (kircEngine()->isConnected()) { kircEngine()->whois(m_nickName); - TQTimer::singleShot( 750, this, TQT_SLOT( slotBanUserDomainOnce() ) ); + TQTimer::singleShot( 750, this, TQ_SLOT( slotBanUserDomainOnce() ) ); } } else { slotBanUserDomainOnce(); @@ -537,38 +537,38 @@ TQPtrList<TDEAction> *IRCUserContact::customContextMenuActions( Kopete::ChatSess { actionCtcpMenu = new TDEActionMenu(i18n("C&TCP"), 0, this ); actionCtcpMenu->insert( new TDEAction(i18n("&Version"), 0, this, - TQT_SLOT(slotCtcpVersion()), actionCtcpMenu) ); + TQ_SLOT(slotCtcpVersion()), actionCtcpMenu) ); actionCtcpMenu->insert( new TDEAction(i18n("&Ping"), 0, this, - TQT_SLOT(slotCtcpPing()), actionCtcpMenu) ); + TQ_SLOT(slotCtcpPing()), actionCtcpMenu) ); actionModeMenu = new TDEActionMenu(i18n("&Modes"), 0, this, "actionModeMenu"); actionModeMenu->insert( new TDEAction(i18n("&Op"), 0, this, - TQT_SLOT(slotOp()), actionModeMenu, "actionOp") ); + TQ_SLOT(slotOp()), actionModeMenu, "actionOp") ); actionModeMenu->insert( new TDEAction(i18n("&Deop"), 0, this, - TQT_SLOT(slotDeop()), actionModeMenu, "actionDeop") ); + TQ_SLOT(slotDeop()), actionModeMenu, "actionDeop") ); actionModeMenu->insert( new TDEAction(i18n("&Voice"), 0, this, - TQT_SLOT(slotVoice()), actionModeMenu, "actionVoice") ); + TQ_SLOT(slotVoice()), actionModeMenu, "actionVoice") ); actionModeMenu->insert( new TDEAction(i18n("Devoice"), 0, this, - TQT_SLOT(slotDevoice()), actionModeMenu, "actionDevoice") ); + TQ_SLOT(slotDevoice()), actionModeMenu, "actionDevoice") ); actionModeMenu->setEnabled( false ); - actionKick = new TDEAction(i18n("&Kick"), 0, this, TQT_SLOT(slotKick()), this); + actionKick = new TDEAction(i18n("&Kick"), 0, this, TQ_SLOT(slotKick()), this); actionKick->setEnabled( false ); actionBanMenu = new TDEActionMenu(i18n("&Ban"), 0, this, "actionBanMenu"); actionBanMenu->insert( new TDEAction(i18n("Host (*!*@host.domain.net)"), 0, this, - TQT_SLOT(slotBanHost()), actionBanMenu ) ); + TQ_SLOT(slotBanHost()), actionBanMenu ) ); actionBanMenu->insert( new TDEAction(i18n("Domain (*!*@*.domain.net)"), 0, this, - TQT_SLOT(slotBanDomain()), actionBanMenu ) ); + TQ_SLOT(slotBanDomain()), actionBanMenu ) ); actionBanMenu->insert( new TDEAction(i18n("User@Host (*!*[email protected])"), 0, this, - TQT_SLOT(slotBanUserHost()), actionBanMenu ) ); + TQ_SLOT(slotBanUserHost()), actionBanMenu ) ); actionBanMenu->insert( new TDEAction(i18n("User@Domain (*!*user@*.domain.net)"), 0, this, - TQT_SLOT(slotBanUserDomain()), actionBanMenu ) ); + TQ_SLOT(slotBanUserDomain()), actionBanMenu ) ); actionBanMenu->setEnabled( false ); codecAction = new KCodecAction( i18n("&Encoding"), 0, this, "selectcharset" ); - connect( codecAction, TQT_SIGNAL( activated( const TQTextCodec * ) ), - this, TQT_SLOT( setCodec( const TQTextCodec *) ) ); + connect( codecAction, TQ_SIGNAL( activated( const TQTextCodec * ) ), + this, TQ_SLOT( setCodec( const TQTextCodec *) ) ); codecAction->setCodec( codec() ); } |