summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/irccontactmanager.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/irccontactmanager.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/irccontactmanager.cpp')
-rw-r--r--kopete/protocols/irc/irccontactmanager.cpp38
1 files changed, 19 insertions, 19 deletions
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() ) );
}
}