diff options
Diffstat (limited to 'kmail/kmailicalifaceimpl.cpp')
-rw-r--r-- | kmail/kmailicalifaceimpl.cpp | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/kmail/kmailicalifaceimpl.cpp b/kmail/kmailicalifaceimpl.cpp index 8f10be350..a65b6cdd0 100644 --- a/kmail/kmailicalifaceimpl.cpp +++ b/kmail/kmailicalifaceimpl.cpp @@ -161,9 +161,9 @@ KMailICalIfaceImpl::KMailICalIfaceImpl() mUseResourceIMAP( false ), mResourceQuiet( false ), mHideFolders( true ) { // Listen to config changes - connect( kmkernel, TQT_SIGNAL( configChanged() ), this, TQT_SLOT( readConfig() ) ); - connect( kmkernel, TQT_SIGNAL( folderRemoved( KMFolder* ) ), - this, TQT_SLOT( slotFolderRemoved( KMFolder* ) ) ); + connect( kmkernel, TQ_SIGNAL( configChanged() ), this, TQ_SLOT( readConfig() ) ); + connect( kmkernel, TQ_SIGNAL( folderRemoved( KMFolder* ) ), + this, TQ_SLOT( slotFolderRemoved( KMFolder* ) ) ); mExtraFolders.setAutoDelete( true ); mAccumulators.setAutoDelete( true ); @@ -1140,8 +1140,8 @@ void KMailICalIfaceImpl::slotIncidenceAdded( KMFolder* folder, // TODO: Till, port me if ( unget ) mTheUnGetMes.insert( msg->getMsgSerNum(), true ); FolderJob *job = msg->parent()->createJob( msg ); - connect( job, TQT_SIGNAL( messageRetrieved( KMMessage* ) ), - this, TQT_SLOT( slotMessageRetrieved( KMMessage* ) ) ); + connect( job, TQ_SIGNAL( messageRetrieved( KMMessage* ) ), + this, TQ_SLOT( slotMessageRetrieved( KMMessage* ) ) ); job->start(); return; } @@ -1717,10 +1717,10 @@ void KMailICalIfaceImpl::readConfig() Q_ASSERT( account ); if ( account ) { // just in case we were connected already - disconnect( account, TQT_SIGNAL( finishedCheck( bool, CheckStatus ) ), - this, TQT_SLOT( slotCheckDone() ) ); - connect( account, TQT_SIGNAL( finishedCheck( bool, CheckStatus ) ), - this, TQT_SLOT( slotCheckDone() ) ); + disconnect( account, TQ_SIGNAL( finishedCheck( bool, CheckStatus ) ), + this, TQ_SLOT( slotCheckDone() ) ); + connect( account, TQ_SIGNAL( finishedCheck( bool, CheckStatus ) ), + this, TQ_SLOT( slotCheckDone() ) ); } mUseResourceIMAP = false; // We can't really call cleanup(), if those folders were completely deleted. @@ -1966,8 +1966,8 @@ void KMailICalIfaceImpl::slotCheckDone() { KMAccount* account = kmkernel->acctMgr()->find( GlobalSettings::self()->theIMAPResourceAccount() ); if ( account ) - disconnect( account, TQT_SIGNAL( finishedCheck( bool, CheckStatus ) ), - this, TQT_SLOT( slotCheckDone() ) ); + disconnect( account, TQ_SIGNAL( finishedCheck( bool, CheckStatus ) ), + this, TQ_SLOT( slotCheckDone() ) ); readConfig(); } } @@ -2084,32 +2084,32 @@ KMFolder* KMailICalIfaceImpl::initScalixFolder( KMail::FolderContentsType conten void KMailICalIfaceImpl::connectFolder( KMFolder* folder ) { // avoid multiple connections - disconnect( folder, TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ), - this, TQT_SLOT( slotIncidenceAdded( KMFolder*, TQ_UINT32 ) ) ); - disconnect( folder, TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ), - this, TQT_SLOT( slotIncidenceDeleted( KMFolder*, TQ_UINT32 ) ) ); - disconnect( folder, TQT_SIGNAL( expunged( KMFolder* ) ), - this, TQT_SLOT( slotRefreshFolder( KMFolder* ) ) ); - disconnect( folder->storage(), TQT_SIGNAL( readOnlyChanged( KMFolder* ) ), - this, TQT_SLOT( slotFolderPropertiesChanged( KMFolder* ) ) ); - disconnect( folder, TQT_SIGNAL( nameChanged() ), - this, TQT_SLOT( slotFolderRenamed() ) ); - disconnect( folder->storage(), TQT_SIGNAL( locationChanged( const TQString&, const TQString&) ), - this, TQT_SLOT( slotFolderLocationChanged( const TQString&, const TQString&) ) ); + disconnect( folder, TQ_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ), + this, TQ_SLOT( slotIncidenceAdded( KMFolder*, TQ_UINT32 ) ) ); + disconnect( folder, TQ_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ), + this, TQ_SLOT( slotIncidenceDeleted( KMFolder*, TQ_UINT32 ) ) ); + disconnect( folder, TQ_SIGNAL( expunged( KMFolder* ) ), + this, TQ_SLOT( slotRefreshFolder( KMFolder* ) ) ); + disconnect( folder->storage(), TQ_SIGNAL( readOnlyChanged( KMFolder* ) ), + this, TQ_SLOT( slotFolderPropertiesChanged( KMFolder* ) ) ); + disconnect( folder, TQ_SIGNAL( nameChanged() ), + this, TQ_SLOT( slotFolderRenamed() ) ); + disconnect( folder->storage(), TQ_SIGNAL( locationChanged( const TQString&, const TQString&) ), + this, TQ_SLOT( slotFolderLocationChanged( const TQString&, const TQString&) ) ); // Setup the signals to listen for changes - connect( folder, TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ), - this, TQT_SLOT( slotIncidenceAdded( KMFolder*, TQ_UINT32 ) ) ); - connect( folder, TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ), - this, TQT_SLOT( slotIncidenceDeleted( KMFolder*, TQ_UINT32 ) ) ); - connect( folder, TQT_SIGNAL( expunged( KMFolder* ) ), - this, TQT_SLOT( slotRefreshFolder( KMFolder* ) ) ); - connect( folder->storage(), TQT_SIGNAL( readOnlyChanged( KMFolder* ) ), - this, TQT_SLOT( slotFolderPropertiesChanged( KMFolder* ) ) ); - connect( folder, TQT_SIGNAL( nameChanged() ), - this, TQT_SLOT( slotFolderRenamed() ) ); - connect( folder->storage(), TQT_SIGNAL( locationChanged( const TQString&, const TQString&) ), - this, TQT_SLOT( slotFolderLocationChanged( const TQString&, const TQString&) ) ); + connect( folder, TQ_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ), + this, TQ_SLOT( slotIncidenceAdded( KMFolder*, TQ_UINT32 ) ) ); + connect( folder, TQ_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ), + this, TQ_SLOT( slotIncidenceDeleted( KMFolder*, TQ_UINT32 ) ) ); + connect( folder, TQ_SIGNAL( expunged( KMFolder* ) ), + this, TQ_SLOT( slotRefreshFolder( KMFolder* ) ) ); + connect( folder->storage(), TQ_SIGNAL( readOnlyChanged( KMFolder* ) ), + this, TQ_SLOT( slotFolderPropertiesChanged( KMFolder* ) ) ); + connect( folder, TQ_SIGNAL( nameChanged() ), + this, TQ_SLOT( slotFolderRenamed() ) ); + connect( folder->storage(), TQ_SIGNAL( locationChanged( const TQString&, const TQString&) ), + this, TQ_SLOT( slotFolderLocationChanged( const TQString&, const TQString&) ) ); } |