summaryrefslogtreecommitdiffstats
path: root/kmail/accountmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/accountmanager.cpp')
-rw-r--r--kmail/accountmanager.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/accountmanager.cpp b/kmail/accountmanager.cpp
index 6b9f38fe..8e4565c8 100644
--- a/kmail/accountmanager.cpp
+++ b/kmail/accountmanager.cpp
@@ -149,8 +149,8 @@ void AccountManager::processNextCheck( bool _newMail )
kdDebug(5006) << "account " << acct->name() << " finished check" << endl;
mAcctChecking.remove( acct );
kmkernel->filterMgr()->deref();
- disconnect( acct, TQT_SIGNAL( finishedCheck( bool, CheckStatus ) ),
- this, TQT_SLOT( processNextCheck( bool ) ) );
+ disconnect( acct, TQ_SIGNAL( finishedCheck( bool, CheckStatus ) ),
+ this, TQ_SLOT( processNextCheck( bool ) ) );
}
if ( mAcctChecking.isEmpty() ) {
// all checks finished, display summary
@@ -203,7 +203,7 @@ void AccountManager::processNextCheck( bool _newMail )
TQDataStream stream( params, IO_WriteOnly );
stream << static_cast<NetworkAccount*>( curAccount )->host();
- if ( kapp->dcopClient()->call( "kded", "networkstatus", "status(TQString)",
+ if ( tdeApp->dcopClient()->call( "kded", "networkstatus", "status(TQString)",
params, replyType, reply ) && ( replyType == "int" ) )
{
int result;
@@ -219,8 +219,8 @@ void AccountManager::processNextCheck( bool _newMail )
}
}
- connect( curAccount, TQT_SIGNAL( finishedCheck( bool, CheckStatus ) ),
- this, TQT_SLOT( processNextCheck( bool ) ) );
+ connect( curAccount, TQ_SIGNAL( finishedCheck( bool, CheckStatus ) ),
+ this, TQ_SLOT( processNextCheck( bool ) ) );
KPIM::BroadcastStatus::instance()->setStatusMsg(
i18n("Checking account %1 for new mail").arg(curAccount->name()));
@@ -258,8 +258,8 @@ KMAccount* AccountManager::create( const TQString &aType, const TQString &aName,
kdWarning(5006) << "Attempt to instantiate a non-existing account type!" << endl;
return 0;
}
- connect( act, TQT_SIGNAL( newMailsProcessed( const TQMap<TQString, int> & ) ),
- this, TQT_SLOT( addToTotalNewMailCount( const TQMap<TQString, int> & ) ) );
+ connect( act, TQ_SIGNAL( newMailsProcessed( const TQMap<TQString, int> & ) ),
+ this, TQ_SLOT( addToTotalNewMailCount( const TQMap<TQString, int> & ) ) );
return act;
}
@@ -416,7 +416,7 @@ uint AccountManager::createId()
int newId;
do
{
- newId = kapp->random();
+ newId = tdeApp->random();
} while ( usedIds.find(newId) != usedIds.end() );
return newId;