diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:51:33 +0900 |
commit | 1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch) | |
tree | 8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kopete/protocols/irc/ircusercontact.cpp | |
parent | 69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff) | |
download | tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 (*!*user@host.domain.net)"), 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() ); } |