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/plugins/webpresence/webpresenceplugin.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/plugins/webpresence/webpresenceplugin.cpp')
-rw-r--r-- | kopete/plugins/webpresence/webpresenceplugin.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/plugins/webpresence/webpresenceplugin.cpp b/kopete/plugins/webpresence/webpresenceplugin.cpp index 9ebcb3be..638bd767 100644 --- a/kopete/plugins/webpresence/webpresenceplugin.cpp +++ b/kopete/plugins/webpresence/webpresenceplugin.cpp @@ -56,13 +56,13 @@ WebPresencePlugin::WebPresencePlugin( TQObject *parent, const char *name, const shuttingDown( false ), resultFormatting( WEB_HTML ) { m_writeScheduler = new TQTimer( this ); - connect ( m_writeScheduler, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotWriteFile() ) ); - connect( Kopete::AccountManager::self(), TQT_SIGNAL(accountRegistered(Kopete::Account*)), - this, TQT_SLOT( listenToAllAccounts() ) ); - connect( Kopete::AccountManager::self(), TQT_SIGNAL(accountUnregistered(Kopete::Account*)), - this, TQT_SLOT( listenToAllAccounts() ) ); + connect ( m_writeScheduler, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotWriteFile() ) ); + connect( Kopete::AccountManager::self(), TQ_SIGNAL(accountRegistered(Kopete::Account*)), + this, TQ_SLOT( listenToAllAccounts() ) ); + connect( Kopete::AccountManager::self(), TQ_SIGNAL(accountUnregistered(Kopete::Account*)), + this, TQ_SLOT( listenToAllAccounts() ) ); - connect(this, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT( loadSettings() ) ); + connect(this, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT( loadSettings() ) ); loadSettings(); listenToAllAccounts(); } @@ -131,17 +131,17 @@ void WebPresencePlugin::listenToAccount( Kopete::Account* account ) // Connect to the account's status changed signal // because we can't know if the account has already connected TQObject::disconnect( account->myself(), - TQT_SIGNAL(onlineStatusChanged( Kopete::Contact *, + TQ_SIGNAL(onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ), this, - TQT_SLOT( slotWaitMoreStatusChanges() ) ) ; + TQ_SLOT( slotWaitMoreStatusChanges() ) ) ; TQObject::connect( account->myself(), - TQT_SIGNAL(onlineStatusChanged( Kopete::Contact *, + TQ_SIGNAL(onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ), this, - TQT_SLOT( slotWaitMoreStatusChanges() ) ); + TQ_SLOT( slotWaitMoreStatusChanges() ) ); } } @@ -197,8 +197,8 @@ void WebPresencePlugin::slotWriteFile() // upload it to the specified URL KURL src( m_output->name() ); TDEIO::FileCopyJob *job = TDEIO::file_move( src, dest, -1, true, false, false ); - connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), - TQT_SLOT( slotUploadJobResult( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), + TQ_SLOT( slotUploadJobResult( TDEIO::Job * ) ) ); } void WebPresencePlugin::slotUploadJobResult( TDEIO::Job *job ) |