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/ircservercontact.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/ircservercontact.cpp')
-rw-r--r-- | kopete/protocols/irc/ircservercontact.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kopete/protocols/irc/ircservercontact.cpp b/kopete/protocols/irc/ircservercontact.cpp index 7c7a9d50..0f9189f0 100644 --- a/kopete/protocols/irc/ircservercontact.cpp +++ b/kopete/protocols/irc/ircservercontact.cpp @@ -35,33 +35,33 @@ IRCServerContact::IRCServerContact(IRCContactManager *contactManager, const TQSt { KIRC::Engine *engine = kircEngine(); - TQObject::connect(engine, TQT_SIGNAL(internalError(KIRC::Engine::Error, KIRC::Message &)), - this, TQT_SLOT(engineInternalError(KIRC::Engine::Error, KIRC::Message &))); + TQObject::connect(engine, TQ_SIGNAL(internalError(KIRC::Engine::Error, KIRC::Message &)), + this, TQ_SLOT(engineInternalError(KIRC::Engine::Error, KIRC::Message &))); /* //FIXME: Have some kind of a debug option for raw input/ouput display?? - TQObject::connect(engine, TQT_SIGNAL(sentMessage(KIRC::Message &)), - this, TQT_SLOT(engineSentMessage(KIRC::Message &))); - TQObject::connect(engine, TQT_SIGNAL(receivedMessage(KIRC::Message &)), - this, TQT_SLOT(engineReceivedMessage(KIRC::Message &))); + TQObject::connect(engine, TQ_SIGNAL(sentMessage(KIRC::Message &)), + this, TQ_SLOT(engineSentMessage(KIRC::Message &))); + TQObject::connect(engine, TQ_SIGNAL(receivedMessage(KIRC::Message &)), + this, TQ_SLOT(engineReceivedMessage(KIRC::Message &))); */ - TQObject::connect(engine, TQT_SIGNAL(incomingNotice(const TQString &, const TQString &)), - this, TQT_SLOT(slotIncomingNotice(const TQString &, const TQString &))); + TQObject::connect(engine, TQ_SIGNAL(incomingNotice(const TQString &, const TQString &)), + this, TQ_SLOT(slotIncomingNotice(const TQString &, const TQString &))); - TQObject::connect(engine, TQT_SIGNAL(incomingCannotSendToChannel(const TQString &, const TQString &)), - this, TQT_SLOT(slotCannotSendToChannel(const TQString &, const TQString &))); + TQObject::connect(engine, TQ_SIGNAL(incomingCannotSendToChannel(const TQString &, const TQString &)), + this, TQ_SLOT(slotCannotSendToChannel(const TQString &, const TQString &))); - TQObject::connect(engine, TQT_SIGNAL(incomingUnknown(const TQString &)), - this, TQT_SLOT(slotIncomingUnknown(const TQString &))); + TQObject::connect(engine, TQ_SIGNAL(incomingUnknown(const TQString &)), + this, TQ_SLOT(slotIncomingUnknown(const TQString &))); - TQObject::connect(engine, TQT_SIGNAL(incomingConnectString(const TQString &)), - this, TQT_SLOT(slotIncomingConnect(const TQString &))); + TQObject::connect(engine, TQ_SIGNAL(incomingConnectString(const TQString &)), + this, TQ_SLOT(slotIncomingConnect(const TQString &))); - TQObject::connect(engine, TQT_SIGNAL(incomingMotd(const TQString &)), - this, TQT_SLOT(slotIncomingMotd(const TQString &))); + TQObject::connect(engine, TQ_SIGNAL(incomingMotd(const TQString &)), + this, TQ_SLOT(slotIncomingMotd(const TQString &))); - TQObject::connect(Kopete::ChatSessionManager::self(), TQT_SIGNAL(viewCreated(KopeteView*)), - this, TQT_SLOT(slotViewCreated(KopeteView*)) ); + TQObject::connect(Kopete::ChatSessionManager::self(), TQ_SIGNAL(viewCreated(KopeteView*)), + this, TQ_SLOT(slotViewCreated(KopeteView*)) ); updateStatus(); } @@ -206,7 +206,7 @@ void IRCServerContact::slotDumpMessages() { manager()->appendMessage( mMsgBuffer.front() ); mMsgBuffer.pop_front(); - TQTimer::singleShot( 0, this, TQT_SLOT( slotDumpMessages() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotDumpMessages() ) ); } } @@ -214,7 +214,7 @@ void IRCServerContact::slotViewCreated( KopeteView *v ) { kdDebug(14121) << k_funcinfo << "Created: " << v << ", mgr: " << v->msgManager() << ", Mine: " << m_chatSession << endl; if (m_chatSession && v->msgManager() == m_chatSession) - TQTimer::singleShot(500, this, TQT_SLOT(slotDumpMessages())); + TQTimer::singleShot(500, this, TQ_SLOT(slotDumpMessages())); } #include "ircservercontact.moc" |