summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/irccontact.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kopete/protocols/irc/irccontact.cpp
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kopete/protocols/irc/irccontact.cpp')
-rw-r--r--kopete/protocols/irc/irccontact.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kopete/protocols/irc/irccontact.cpp b/kopete/protocols/irc/irccontact.cpp
index 1df631f9..3532cb4c 100644
--- a/kopete/protocols/irc/irccontact.cpp
+++ b/kopete/protocols/irc/irccontact.cpp
@@ -53,22 +53,22 @@ IRCContact::IRCContact(IRCContactManager *contactManager, const TQString &nick,
setProperty( Kopete::Global::Properties::self()->nickName(), m_nickName );
// IRCContactManager stuff
- TQObject::connect(contactManager, TQT_SIGNAL(privateMessage(IRCContact *, IRCContact *, const TQString &)),
- this, TQT_SLOT(privateMessage(IRCContact *, IRCContact *, const TQString &)));
+ TQObject::connect(contactManager, TQ_SIGNAL(privateMessage(IRCContact *, IRCContact *, const TQString &)),
+ this, TQ_SLOT(privateMessage(IRCContact *, IRCContact *, const TQString &)));
// Kopete::ChatSessionManager stuff
mMyself.append( static_cast<Kopete::Contact*>( this ) );
// KIRC stuff
- TQObject::connect(engine, TQT_SIGNAL(incomingNickChange(const TQString &, const TQString &)),
- this, TQT_SLOT( slotNewNickChange(const TQString&, const TQString&)));
- TQObject::connect(engine, TQT_SIGNAL(successfullyChangedNick(const TQString &, const TQString &)),
- this, TQT_SLOT(slotNewNickChange(const TQString &, const TQString &)));
- TQObject::connect(engine, TQT_SIGNAL(incomingQuitIRC(const TQString &, const TQString &)),
- this, TQT_SLOT( slotUserDisconnected(const TQString&, const TQString&)));
+ TQObject::connect(engine, TQ_SIGNAL(incomingNickChange(const TQString &, const TQString &)),
+ this, TQ_SLOT( slotNewNickChange(const TQString&, const TQString&)));
+ TQObject::connect(engine, TQ_SIGNAL(successfullyChangedNick(const TQString &, const TQString &)),
+ this, TQ_SLOT(slotNewNickChange(const TQString &, const TQString &)));
+ TQObject::connect(engine, TQ_SIGNAL(incomingQuitIRC(const TQString &, const TQString &)),
+ this, TQ_SLOT( slotUserDisconnected(const TQString&, const TQString&)));
- TQObject::connect(engine, TQT_SIGNAL(statusChanged(KIRC::Engine::Status)),
- this, TQT_SLOT(updateStatus()));
+ TQObject::connect(engine, TQ_SIGNAL(statusChanged(KIRC::Engine::Status)),
+ this, TQ_SLOT(updateStatus()));
engine->setCodec( m_nickName, codec() );
}
@@ -159,10 +159,10 @@ Kopete::ChatSession *IRCContact::manager(Kopete::Contact::CanCreateFlags canCrea
m_chatSession = Kopete::ChatSessionManager::self()->create(account->myself(), mMyself, account->protocol());
m_chatSession->setDisplayName(caption());
- TQObject::connect(m_chatSession, TQT_SIGNAL(messageSent(Kopete::Message&, Kopete::ChatSession *)),
- this, TQT_SLOT(slotSendMsg(Kopete::Message&, Kopete::ChatSession *)));
- TQObject::connect(m_chatSession, TQT_SIGNAL(closing(Kopete::ChatSession *)),
- this, TQT_SLOT(chatSessionDestroyed()));
+ TQObject::connect(m_chatSession, TQ_SIGNAL(messageSent(Kopete::Message&, Kopete::ChatSession *)),
+ this, TQ_SLOT(slotSendMsg(Kopete::Message&, Kopete::ChatSession *)));
+ TQObject::connect(m_chatSession, TQ_SIGNAL(closing(Kopete::ChatSession *)),
+ this, TQ_SLOT(chatSessionDestroyed()));
initConversation();
}