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/meanwhilesession.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 <michele.calgaro@yahoo.it>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/protocols/meanwhile/meanwhilesession.cpp')
| -rw-r--r-- | kopete/protocols/meanwhile/meanwhilesession.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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(); |
