summaryrefslogtreecommitdiffstats
path: root/knode/knnetaccess.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /knode/knnetaccess.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/knnetaccess.cpp')
-rw-r--r--knode/knnetaccess.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/knode/knnetaccess.cpp b/knode/knnetaccess.cpp
index 7fc6fd371..016a39ee6 100644
--- a/knode/knnetaccess.cpp
+++ b/knode/knnetaccess.cpp
@@ -102,7 +102,7 @@ void KNNetAccess::addJob(KNJobData *job)
if ( !job->account()->readyForLogin() ) {
mWalletQueue.append( job );
knGlobals.accountManager()->loadPasswordsAsync();
- job->setStatus( i18n( "Waiting for KWallet..." ) );
+ job->seStatus( i18n( "Waiting for KWallet..." ) );
return;
}
@@ -332,7 +332,7 @@ void KNNetAccess::threadDoneNntp()
currentNntpJob = 0L;
currMsg = TQString::null;
- knGlobals.setStatusMsg();
+ knGlobals.seStatusMsg();
tmp->setComplete();
tmp->notifyConsumer();
@@ -359,7 +359,7 @@ void KNNetAccess::threadDoneSmtp()
currentSmtpJob = 0L;
if (!currentNntpJob) {
currMsg = TQString::null;
- knGlobals.setStatusMsg();
+ knGlobals.seStatusMsg();
}
tmp->setComplete();
@@ -398,53 +398,53 @@ void KNNetAccess::slotThreadSignal(int i)
break;
case KNProtocolClient::TSconnect:
currMsg = i18n(" Connecting to server...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSloadGrouplist:
currMsg = i18n(" Loading group list from disk...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSwriteGrouplist:
currMsg = i18n(" Writing group list to disk...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSdownloadGrouplist:
currMsg = i18n(" Downloading group list...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSdownloadNewGroups:
currMsg = i18n(" Looking for new groups...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSdownloadDesc:
currMsg = i18n(" Downloading group descriptions...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSdownloadNew:
currMsg = i18n(" Downloading new headers...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSsortNew:
currMsg = i18n(" Sorting...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSdownloadArticle:
currMsg = i18n(" Downloading article...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSsendArticle:
currMsg = i18n(" Sending article...");
- knGlobals.setStatusMsg(currMsg);
- currentNntpJob->setStatus(currMsg);
+ knGlobals.seStatusMsg(currMsg);
+ currentNntpJob->seStatus(currMsg);
break;
case KNProtocolClient::TSjobStarted:
currentNntpJob->setProgress(0);
@@ -477,7 +477,7 @@ void KNNetAccess::slotPasswordsChanged()
{
TQValueList<KNJobData*>::ConstIterator it;
for ( it = mWalletQueue.begin(); it != mWalletQueue.end(); ++it ) {
- (*it)->setStatus( i18n("Waiting...") );
+ (*it)->seStatus( i18n("Waiting...") );
if ( (*it)->type() == KNJobData::JTmail )
smtpJobQueue.append( (*it) );
else