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-18 09:59:16 +0900 |
| commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
| tree | 9330d82486c7b3125b8275914565b324f9af523e /kopete/protocols/meanwhile | |
| parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
| download | tdenetwork-40393e30.tar.gz tdenetwork-40393e30.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/protocols/meanwhile')
5 files changed, 21 insertions, 21 deletions
diff --git a/kopete/protocols/meanwhile/meanwhileaccount.cpp b/kopete/protocols/meanwhile/meanwhileaccount.cpp index d38f0df5..5e5b7c77 100644 --- a/kopete/protocols/meanwhile/meanwhileaccount.cpp +++ b/kopete/protocols/meanwhile/meanwhileaccount.cpp @@ -93,11 +93,11 @@ void MeanwhileAccount::connectWithPassword(const TQString &password) } TQObject::connect(m_session, - TQT_SIGNAL(sessionStateChange(Kopete::OnlineStatus)), - this, TQT_SLOT(slotSessionStateChange(Kopete::OnlineStatus))); + TQ_SIGNAL(sessionStateChange(Kopete::OnlineStatus)), + this, TQ_SLOT(slotSessionStateChange(Kopete::OnlineStatus))); TQObject::connect(m_session, - TQT_SIGNAL(serverNotification(const TQString &)), - this, TQT_SLOT(slotServerNotification(const TQString&))); + TQ_SIGNAL(serverNotification(const TQString &)), + this, TQ_SLOT(slotServerNotification(const TQString&))); } @@ -139,7 +139,7 @@ TDEActionMenu * MeanwhileAccount::actionMenu() #if 0 menu->insert(new TDEAction(i18n("&Change Status Message"), TQString(), 0, - this, TQT_SLOT(meanwhileChangeStatus()), this, + this, TQ_SLOT(meanwhileChangeStatus()), this, "meanwhileChangeStatus")); //infoPlugin->addCustomMenus(theMenu); #endif diff --git a/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp b/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp index 44b10bbc..e1b29d69 100644 --- a/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp +++ b/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp @@ -37,8 +37,8 @@ MeanwhileAddContactPage::MeanwhileAddContactPage( static_cast<MeanwhileAccount *>(_account); if (account->infoPlugin->canProvideMeanwhileId()) { - TQObject::connect(theDialog->btnFindUser, TQT_SIGNAL(clicked()), - TQT_SLOT(slotFindUser())); + TQObject::connect(theDialog->btnFindUser, TQ_SIGNAL(clicked()), + TQ_SLOT(slotFindUser())); } else theDialog->btnFindUser->setDisabled(true); diff --git a/kopete/protocols/meanwhile/meanwhilecontact.cpp b/kopete/protocols/meanwhile/meanwhilecontact.cpp index c6505493..de18d58b 100644 --- a/kopete/protocols/meanwhile/meanwhilecontact.cpp +++ b/kopete/protocols/meanwhile/meanwhilecontact.cpp @@ -76,14 +76,14 @@ Kopete::ChatSession* MeanwhileContact::manager(CanCreateFlags canCreate) create(account()->myself(), contacts, protocol()); connect(m_msgManager, - TQT_SIGNAL(messageSent(Kopete::Message&, Kopete::ChatSession*)), - this, TQT_SLOT(sendMessage(Kopete::Message&))); + TQ_SIGNAL(messageSent(Kopete::Message&, Kopete::ChatSession*)), + this, TQ_SLOT(sendMessage(Kopete::Message&))); - connect(m_msgManager, TQT_SIGNAL(myselfTyping(bool)), - this, TQT_SLOT(slotSendTyping(bool))); + connect(m_msgManager, TQ_SIGNAL(myselfTyping(bool)), + this, TQ_SLOT(slotSendTyping(bool))); - connect(m_msgManager, TQT_SIGNAL(destroyed()), - this, TQT_SLOT(slotChatSessionDestroyed())); + connect(m_msgManager, TQ_SIGNAL(destroyed()), + this, TQ_SLOT(slotChatSessionDestroyed())); return m_msgManager; } diff --git a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp index 4e2c90ee..86650563 100644 --- a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp +++ b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp @@ -106,8 +106,8 @@ MeanwhileEditAccountWidget::MeanwhileEditAccountWidget( slotSetServer2Default(); } - TQObject::connect(btnServerDefaults, TQT_SIGNAL(clicked()), - TQT_SLOT(slotSetServer2Default())); + TQObject::connect(btnServerDefaults, TQ_SIGNAL(clicked()), + TQ_SLOT(slotSetServer2Default())); show(); } diff --git a/kopete/protocols/meanwhile/meanwhilesession.cpp b/kopete/protocols/meanwhile/meanwhilesession.cpp index bacf49c6..2003957e 100644 --- a/kopete/protocols/meanwhile/meanwhilesession.cpp +++ b/kopete/protocols/meanwhile/meanwhilesession.cpp @@ -207,10 +207,10 @@ void MeanwhileSession::connect(TQString password) socket = sock; /* we want to receive signals when there is data to read */ sock->enableRead(true); - TQObject::connect(sock, TQT_SIGNAL(readyRead()), this, - TQT_SLOT(slotSocketDataAvailable())); - TQObject::connect(sock, TQT_SIGNAL(closed(int)), this, - TQT_SLOT(slotSocketClosed(int))); + TQObject::connect(sock, TQ_SIGNAL(readyRead()), this, + TQ_SLOT(slotSocketDataAvailable())); + TQObject::connect(sock, TQ_SIGNAL(closed(int)), this, + TQ_SLOT(slotSocketClosed(int))); /* set login details */ mwSession_setProperty(session, mwSession_AUTH_USER_ID, @@ -694,8 +694,8 @@ void MeanwhileSession::handleSessionIOClose() if (socket == 0L) return; - TQObject::disconnect(socket, TQT_SIGNAL(closed(int)), - this, TQT_SLOT(slotSocketClosed(int))); + TQObject::disconnect(socket, TQ_SIGNAL(closed(int)), + this, TQ_SLOT(slotSocketClosed(int))); socket->flush(); socket->closeNow(); |
