diff options
Diffstat (limited to 'kmail/imapaccountbase.cpp')
-rw-r--r-- | kmail/imapaccountbase.cpp | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/kmail/imapaccountbase.cpp b/kmail/imapaccountbase.cpp index bc197cee5..47d169f9b 100644 --- a/kmail/imapaccountbase.cpp +++ b/kmail/imapaccountbase.cpp @@ -105,12 +105,12 @@ namespace KMail { { mPort = imapDefaultPort; mBodyPartList.setAutoDelete(true); - TDEIO::Scheduler::connect(TQT_SIGNAL(slaveError(TDEIO::Slave *, int, const TQString &)), - this, TQT_SLOT(slotSchedulerSlaveError(TDEIO::Slave *, int, const TQString &))); - TDEIO::Scheduler::connect(TQT_SIGNAL(slaveConnected(TDEIO::Slave *)), - this, TQT_SLOT(slotSchedulerSlaveConnected(TDEIO::Slave *))); - connect(&mNoopTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotNoopTimeout())); - connect(&mIdleTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotIdleTimeout())); + TDEIO::Scheduler::connect(TQ_SIGNAL(slaveError(TDEIO::Slave *, int, const TQString &)), + this, TQ_SLOT(slotSchedulerSlaveError(TDEIO::Slave *, int, const TQString &))); + TDEIO::Scheduler::connect(TQ_SIGNAL(slaveConnected(TDEIO::Slave *)), + this, TQ_SLOT(slotSchedulerSlaveConnected(TDEIO::Slave *))); + connect(&mNoopTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotNoopTimeout())); + connect(&mIdleTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotIdleTimeout())); } ImapAccountBase::~ImapAccountBase() { @@ -385,8 +385,8 @@ namespace KMail { jd.quiet = quiet; insertJob(job, jd); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotSubscriptionResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotSubscriptionResult(TDEIO::Job *))); } //----------------------------------------------------------------------------- @@ -437,8 +437,8 @@ namespace KMail { jd.cancellable = true; insertJob(job, jd); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotGetUserRightsResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotGetUserRightsResult(TDEIO::Job *))); } void ImapAccountBase::slotGetUserRightsResult( TDEIO::Job* _job ) @@ -481,8 +481,8 @@ namespace KMail { jd.cancellable = true; insertJob(job, jd); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotGetACLResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotGetACLResult(TDEIO::Job *))); } void ImapAccountBase::slotGetACLResult( TDEIO::Job* _job ) @@ -509,8 +509,8 @@ namespace KMail { jd.cancellable = true; insertJob(job, jd); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotGetStorageQuotaInfoResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotGetStorageQuotaInfoResult(TDEIO::Job *))); } void ImapAccountBase::slotGetStorageQuotaInfoResult( TDEIO::Job* _job ) @@ -536,8 +536,8 @@ namespace KMail { TDEIO::SimpleJob *job = TDEIO::special( getUrl(), packedArgs, false ); TDEIO::Scheduler::assignJobToSlave(mSlave, job); - connect( job, TQT_SIGNAL(result( TDEIO::Job * ) ), - this, TQT_SLOT( slotSimpleResult( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL(result( TDEIO::Job * ) ), + this, TQ_SLOT( slotSimpleResult( TDEIO::Job * ) ) ); } else { /* Stop the timer, we have disconnected. We have to make sure it is started again when a new slave appears. */ @@ -596,8 +596,8 @@ namespace KMail { emit connectionResult( 0, TQString() ); // success if ( mNamespaces.isEmpty() || mNamespaceToDelimiter.isEmpty() ) { - connect( this, TQT_SIGNAL( namespacesFetched( const ImapAccountBase::nsDelimMap& ) ), - this, TQT_SLOT( slotSaveNamespaces( const ImapAccountBase::nsDelimMap& ) ) ); + connect( this, TQ_SIGNAL( namespacesFetched( const ImapAccountBase::nsDelimMap& ) ), + this, TQ_SLOT( slotSaveNamespaces( const ImapAccountBase::nsDelimMap& ) ) ); getNamespaces(); } @@ -607,8 +607,8 @@ namespace KMail { stream << (int) 'c'; TDEIO::SimpleJob *job = TDEIO::special( getUrl(), packedArgs, false ); TDEIO::Scheduler::assignJobToSlave( mSlave, job ); - connect( job, TQT_SIGNAL(infoMessage(TDEIO::Job*, const TQString&)), - TQT_SLOT(slotCapabilitiesResult(TDEIO::Job*, const TQString&)) ); + connect( job, TQ_SIGNAL(infoMessage(TDEIO::Job*, const TQString&)), + TQ_SLOT(slotCapabilitiesResult(TDEIO::Job*, const TQString&)) ); } //----------------------------------------------------------------------------- @@ -621,16 +621,16 @@ namespace KMail { //----------------------------------------------------------------------------- void ImapAccountBase::getNamespaces() { - disconnect( this, TQT_SIGNAL( connectionResult(int, const TQString&) ), - this, TQT_SLOT( getNamespaces() ) ); + disconnect( this, TQ_SIGNAL( connectionResult(int, const TQString&) ), + this, TQ_SLOT( getNamespaces() ) ); if ( makeConnection() != Connected || !mSlave ) { kdDebug(5006) << "getNamespaces - wait for connection" << endl; if ( mNamespaces.isEmpty() || mNamespaceToDelimiter.isEmpty() ) { // when the connection is established slotSchedulerSlaveConnected notifies us } else { // getNamespaces was called by someone else - connect( this, TQT_SIGNAL( connectionResult(int, const TQString&) ), - this, TQT_SLOT( getNamespaces() ) ); + connect( this, TQ_SIGNAL( connectionResult(int, const TQString&) ), + this, TQ_SLOT( getNamespaces() ) ); } return; } @@ -646,14 +646,14 @@ namespace KMail { TQString(), true, useSSL() || useTLS() ); jd.progressItem->setTotalItems( 1 ); connect ( jd.progressItem, - TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ), + TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ), this, - TQT_SLOT( slotAbortRequested( KPIM::ProgressItem* ) ) ); + TQ_SLOT( slotAbortRequested( KPIM::ProgressItem* ) ) ); TDEIO::SimpleJob *job = TDEIO::special( getUrl(), packedArgs, false ); TDEIO::Scheduler::assignJobToSlave( mSlave, job ); insertJob( job, jd ); - connect( job, TQT_SIGNAL( infoMessage(TDEIO::Job*, const TQString&) ), - TQT_SLOT( slotNamespaceResult(TDEIO::Job*, const TQString&) ) ); + connect( job, TQ_SIGNAL( infoMessage(TDEIO::Job*, const TQString&) ), + TQ_SLOT( slotNamespaceResult(TDEIO::Job*, const TQString&) ) ); } //----------------------------------------------------------------------------- @@ -1031,10 +1031,10 @@ namespace KMail { mCheckingSingleFolder = ( type == Single ); if ( checkingMail() ) { - disconnect( this, TQT_SIGNAL( finishedCheck( bool, CheckStatus ) ), - this, TQT_SLOT( slotCheckQueuedFolders() ) ); - connect( this, TQT_SIGNAL( finishedCheck( bool, CheckStatus ) ), - this, TQT_SLOT( slotCheckQueuedFolders() ) ); + disconnect( this, TQ_SIGNAL( finishedCheck( bool, CheckStatus ) ), + this, TQ_SLOT( slotCheckQueuedFolders() ) ); + connect( this, TQ_SIGNAL( finishedCheck( bool, CheckStatus ) ), + this, TQ_SLOT( slotCheckQueuedFolders() ) ); } else { slotCheckQueuedFolders(); } @@ -1043,8 +1043,8 @@ namespace KMail { //----------------------------------------------------------------------------- void ImapAccountBase::slotCheckQueuedFolders() { - disconnect( this, TQT_SIGNAL( finishedCheck( bool, CheckStatus ) ), - this, TQT_SLOT( slotCheckQueuedFolders() ) ); + disconnect( this, TQ_SIGNAL( finishedCheck( bool, CheckStatus ) ), + this, TQ_SLOT( slotCheckQueuedFolders() ) ); TQValueList<TQGuardedPtr<KMFolder> > mSaveList = mMailCheckFolders; mMailCheckFolders = mFoldersQueuedForChecking; @@ -1214,8 +1214,8 @@ namespace KMail { ImapAccountBase::jobData jd( url.url(), folder ); jd.path = path; insertJob(job, jd); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotSetStatusResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotSetStatusResult(TDEIO::Job *))); } void ImapAccountBase::setImapSeenStatus(KMFolder * folder, const TQString & path, bool seen) @@ -1236,8 +1236,8 @@ namespace KMail { ImapAccountBase::jobData jd( url.url(), folder ); jd.path = path; insertJob(job, jd); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), - TQT_SLOT(slotSetStatusResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), + TQ_SLOT(slotSetStatusResult(TDEIO::Job *))); } //----------------------------------------------------------------------------- @@ -1299,9 +1299,9 @@ namespace KMail { true, useSSL() || useTLS() ); connect ( mListDirProgressItem, - TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ), + TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ), this, - TQT_SLOT( slotAbortRequested( KPIM::ProgressItem* ) ) ); + TQ_SLOT( slotAbortRequested( KPIM::ProgressItem* ) ) ); // Start with a guessed value of the old folder count plus 5%. As long // as the list of folders doesn't constantly change, that should be good // enough. |