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/libkopete/kopeteprotocol.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/libkopete/kopeteprotocol.cpp')
-rw-r--r-- | kopete/libkopete/kopeteprotocol.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/libkopete/kopeteprotocol.cpp b/kopete/libkopete/kopeteprotocol.cpp index 6a2d3279..db40cced 100644 --- a/kopete/libkopete/kopeteprotocol.cpp +++ b/kopete/libkopete/kopeteprotocol.cpp @@ -99,8 +99,8 @@ void Protocol::slotAccountOnlineStatusChanged( Contact *self ) // some protocols change status several times during shutdown. We should only call deleteLater() once disconnect( self, 0, this, 0 ); - connect( self->account(), TQT_SIGNAL(accountDestroyed(const Kopete::Account* )), - this, TQT_SLOT( slotAccountDestroyed( ) ) ); + connect( self->account(), TQ_SIGNAL(accountDestroyed(const Kopete::Account* )), + this, TQ_SLOT( slotAccountDestroyed( ) ) ); self->account()->deleteLater(); } @@ -136,8 +136,8 @@ void Protocol::aboutToUnload() " is still connected, disconnecting..." << endl; TQObject::connect( it.current()->myself(), - TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ), - this, TQT_SLOT( slotAccountOnlineStatusChanged( Kopete::Contact * ) ) ); + TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ), + this, TQ_SLOT( slotAccountOnlineStatusChanged( Kopete::Contact * ) ) ); it.current()->disconnect(); } else @@ -146,8 +146,8 @@ void Protocol::aboutToUnload() kdDebug( 14010 ) << k_funcinfo << it.current()->accountId() << " is already disconnected, deleting..." << endl; - TQObject::connect( it.current(), TQT_SIGNAL( accountDestroyed( const Kopete::Account* ) ), - this, TQT_SLOT( slotAccountDestroyed( ) ) ); + TQObject::connect( it.current(), TQ_SIGNAL( accountDestroyed( const Kopete::Account* ) ), + this, TQ_SLOT( slotAccountDestroyed( ) ) ); it.current()->deleteLater(); } } |