diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-16 19:01:53 +0900 |
| commit | b0f8eef013163b2098c2bb07e93cb9b194338b80 (patch) | |
| tree | c35221250699030822f3c616b393f77e1ce47036 /kmail/popaccount.cpp | |
| parent | c2138cbe92142437d50f2e6cec6f8909da959234 (diff) | |
| download | tdepim-b0f8eef0.tar.gz tdepim-b0f8eef0.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587)
Diffstat (limited to 'kmail/popaccount.cpp')
| -rw-r--r-- | kmail/popaccount.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kmail/popaccount.cpp b/kmail/popaccount.cpp index b455cc54..97ec2b6c 100644 --- a/kmail/popaccount.cpp +++ b/kmail/popaccount.cpp @@ -72,10 +72,10 @@ PopAccount::PopAccount(AccountManager* aOwner, const TQString& aAccountName, uin mUidsOfNextSeenMsgsDict.setAutoDelete( false ); headersOnServer.setAutoDelete(true); - connect(&processMsgsTimer,TQT_SIGNAL(timeout()),TQT_SLOT(slotProcessPendingMsgs())); + connect(&processMsgsTimer,TQ_SIGNAL(timeout()),TQ_SLOT(slotProcessPendingMsgs())); TDEIO::Scheduler::connect( - TQT_SIGNAL(slaveError(TDEIO::Slave *, int, const TQString &)), - this, TQT_SLOT(slotSlaveError(TDEIO::Slave *, int, const TQString &))); + TQ_SIGNAL(slaveError(TDEIO::Slave *, int, const TQString &)), + this, TQ_SLOT(slotSlaveError(TDEIO::Slave *, int, const TQString &))); mHeaderDeleteUids.clear(); mHeaderDownUids.clear(); @@ -286,12 +286,12 @@ void PopAccount::setFilterOnServerCheckSize(unsigned int aSize) //----------------------------------------------------------------------------- void PopAccount::connectJob() { TDEIO::Scheduler::assignJobToSlave(mSlave, job); - connect(job, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray &)), - TQT_SLOT( slotData( TDEIO::Job*, const TQByteArray &))); - connect(job, TQT_SIGNAL( result( TDEIO::Job * ) ), - TQT_SLOT( slotResult( TDEIO::Job * ) ) ); - connect(job, TQT_SIGNAL(infoMessage( TDEIO::Job*, const TQString & )), - TQT_SLOT( slotMsgRetrieved(TDEIO::Job*, const TQString &))); + connect(job, TQ_SIGNAL( data( TDEIO::Job*, const TQByteArray &)), + TQ_SLOT( slotData( TDEIO::Job*, const TQByteArray &))); + connect(job, TQ_SIGNAL( result( TDEIO::Job * ) ), + TQ_SLOT( slotResult( TDEIO::Job * ) ) ); + connect(job, TQ_SIGNAL(infoMessage( TDEIO::Job*, const TQString & )), + TQ_SLOT( slotMsgRetrieved(TDEIO::Job*, const TQString &))); } @@ -353,8 +353,8 @@ void PopAccount::slotAbortRequested() { if (stage == Idle) return; if ( mMailCheckProgressItem ) - disconnect( mMailCheckProgressItem, TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ), - this, TQT_SLOT( slotAbortRequested() ) ); + disconnect( mMailCheckProgressItem, TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ), + this, TQ_SLOT( slotAbortRequested() ) ); stage = Quit; if (job) job->kill(); job = 0; @@ -404,8 +404,8 @@ void PopAccount::startJob() i18n("Preparing transmission from \"%1\"...").arg( escapedName ), true, // can be canceled useSSL() || useTLS() ); - connect( mMailCheckProgressItem, TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ), - this, TQT_SLOT( slotAbortRequested() ) ); + connect( mMailCheckProgressItem, TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ), + this, TQ_SLOT( slotAbortRequested() ) ); numBytes = 0; numBytesRead = 0; @@ -1064,7 +1064,7 @@ void PopAccount::slotSlaveError(TDEIO::Slave *aSlave, int error, /* We need a timer, otherwise slotSlaveError of the next account is also executed, if it reuses the slave, because the slave member variable is changed too early */ - TQTimer::singleShot(0, this, TQT_SLOT(slotCancel())); + TQTimer::singleShot(0, this, TQ_SLOT(slotCancel())); } //----------------------------------------------------------------------------- |
