From 1329ec6abbcb7b79cd960e0ca138f16598d5f11f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kopete/protocols/irc/irccontactmanager.cpp | 38 +++++++++++++++--------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kopete/protocols/irc/irccontactmanager.cpp') diff --git a/kopete/protocols/irc/irccontactmanager.cpp b/kopete/protocols/irc/irccontactmanager.cpp index 10ae8a69..7f6c5625 100644 --- a/kopete/protocols/irc/irccontactmanager.cpp +++ b/kopete/protocols/irc/irccontactmanager.cpp @@ -48,23 +48,23 @@ IRCContactManager::IRCContactManager(const TQString &nickName, IRCAccount *accou // m->setTemporary( true ); m_myServer = new IRCServerContact(this, account->networkName(), m); - TQObject::connect(account->engine(), TQT_SIGNAL(incomingMessage(const TQString &, const TQString &, const TQString &)), - this, TQT_SLOT(slotNewMessage(const TQString &, const TQString &, const TQString &))); + TQObject::connect(account->engine(), TQ_SIGNAL(incomingMessage(const TQString &, const TQString &, const TQString &)), + this, TQ_SLOT(slotNewMessage(const TQString &, const TQString &, const TQString &))); - TQObject::connect(account->engine(), TQT_SIGNAL(incomingPrivMessage(const TQString &, const TQString &, const TQString &)), - this, TQT_SLOT(slotNewPrivMessage(const TQString &, const TQString &, const TQString &))); + TQObject::connect(account->engine(), TQ_SIGNAL(incomingPrivMessage(const TQString &, const TQString &, const TQString &)), + this, TQ_SLOT(slotNewPrivMessage(const TQString &, const TQString &, const TQString &))); - TQObject::connect(account->engine(), TQT_SIGNAL(incomingNickChange(const TQString &, const TQString &)), - this, TQT_SLOT( slotNewNickChange(const TQString&, const TQString&))); + TQObject::connect(account->engine(), TQ_SIGNAL(incomingNickChange(const TQString &, const TQString &)), + this, TQ_SLOT( slotNewNickChange(const TQString&, const TQString&))); - TQObject::connect(account->engine(), TQT_SIGNAL(successfullyChangedNick(const TQString &, const TQString &)), - this, TQT_SLOT( slotNewNickChange(const TQString &, const TQString &))); + TQObject::connect(account->engine(), TQ_SIGNAL(successfullyChangedNick(const TQString &, const TQString &)), + this, TQ_SLOT( slotNewNickChange(const TQString &, const TQString &))); - TQObject::connect(account->engine(), TQT_SIGNAL(incomingUserOnline(const TQString &)), - this, TQT_SLOT( slotIsonRecieved())); + TQObject::connect(account->engine(), TQ_SIGNAL(incomingUserOnline(const TQString &)), + this, TQ_SLOT( slotIsonRecieved())); - TQObject::connect(Kopete::ContactList::self(), TQT_SIGNAL(metaContactAdded( Kopete::MetaContact * )), - this, TQT_SLOT( slotContactAdded( Kopete::MetaContact* ))); + TQObject::connect(Kopete::ContactList::self(), TQ_SIGNAL(metaContactAdded( Kopete::MetaContact * )), + this, TQ_SLOT( slotContactAdded( Kopete::MetaContact* ))); socketTimeout = 15000; TQString timeoutPath = locate( "config", "tdeioslaverc" ); @@ -75,8 +75,8 @@ IRCContactManager::IRCContactManager(const TQString &nickName, IRCAccount *accou } m_NotifyTimer = new TQTimer(this); - TQObject::connect(m_NotifyTimer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(checkOnlineNotifyList())); + TQObject::connect(m_NotifyTimer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(checkOnlineNotifyList())); m_NotifyTimer->start(30000); // check online every 30sec new IRCSignalHandler(this); @@ -155,8 +155,8 @@ IRCChannelContact *IRCContactManager::findChannel(const TQString &name, Kopete:: channel = new IRCChannelContact(this, name, m); m_channels.insert( name, channel ); - TQObject::connect(channel, TQT_SIGNAL(contactDestroyed(Kopete::Contact *)), - this, TQT_SLOT(unregister(Kopete::Contact *))); + TQObject::connect(channel, TQ_SIGNAL(contactDestroyed(Kopete::Contact *)), + this, TQ_SLOT(unregister(Kopete::Contact *))); } return channel; @@ -193,8 +193,8 @@ IRCUserContact *IRCContactManager::findUser(const TQString &name, Kopete::MetaCo user = new IRCUserContact(this, name, m); m_users.insert( name, user ); - TQObject::connect(user, TQT_SIGNAL(contactDestroyed(Kopete::Contact *)), - this, TQT_SLOT(unregister(Kopete::Contact *))); + TQObject::connect(user, TQ_SIGNAL(contactDestroyed(Kopete::Contact *)), + this, TQ_SLOT(unregister(Kopete::Contact *))); } return user; @@ -279,7 +279,7 @@ void IRCContactManager::checkOnlineNotifyList() { isonRecieved = false; m_account->engine()->ison( m_NotifyList ); - //TQTimer::singleShot( socketTimeout, this, TQT_SLOT( slotIsonTimeout() ) ); + //TQTimer::singleShot( socketTimeout, this, TQ_SLOT( slotIsonTimeout() ) ); } } -- cgit v1.2.1