summaryrefslogtreecommitdiffstats
path: root/kmail/kmacctlocal.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kmail/kmacctlocal.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kmail/kmacctlocal.cpp')
-rw-r--r--kmail/kmacctlocal.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kmail/kmacctlocal.cpp b/kmail/kmacctlocal.cpp
index 67cc7d4b4..88424e13e 100644
--- a/kmail/kmacctlocal.cpp
+++ b/kmail/kmacctlocal.cpp
@@ -21,7 +21,7 @@ using KPIM::ProgressManager;
#include <kconfig.h>
#include <tqfileinfo.h>
-#include <stylesheet.h>
+#include <tqstylesheet.h>
#include <stdlib.h>
#include <stdio.h>
@@ -125,7 +125,7 @@ bool KMAcctLocal::preProcess()
//BroadcastStatus::instance()->reset();
BroadcastStatus::instance()->seStatusMsg(
- i18n("Preparing transmission from \"%1\"...").arg(mName));
+ i18n("Preparing transmission from \"%1\"...").tqarg(mName));
Q_ASSERT( !mMailCheckProgressItem );
@@ -133,7 +133,7 @@ bool KMAcctLocal::preProcess()
mMailCheckProgressItem = KPIM::ProgressManager::createProgressItem(
"MailCheck" + mName,
escapedName,
- i18n("Preparing transmission from \"%1\"...").arg( escapedName ),
+ i18n("Preparing transmission from \"%1\"...").tqarg( escapedName ),
false, // cannot be canceled
false ); // no tls/ssl
@@ -164,7 +164,7 @@ bool KMAcctLocal::preProcess()
mMailFolder->close("acctlocalMail");
checkDone( mHasNewMail, CheckError );
TQString errMsg = i18n( "Transmission failed: Could not lock %1." )
- .arg( mMailFolder->location() );
+ .tqarg( mMailFolder->location() );
BroadcastStatus::instance()->seStatusMsg( errMsg );
return false;
}
@@ -177,7 +177,7 @@ bool KMAcctLocal::preProcess()
// prepare the static parts of the status message:
mStatusMsgStub = i18n("Moving message %3 of %2 from %1.")
- .arg(mMailFolder->location()).arg( mNumMsgs );
+ .tqarg(mMailFolder->location()).tqarg( mNumMsgs );
//BroadcastStatus::instance()->seStatusProgressEnable( "L" + mName, true );
return true;
@@ -192,11 +192,11 @@ bool KMAcctLocal::fetchMsg()
/* This causes mail eating
if (kmkernel->mailCheckAborted()) break; */
- const TQString statusMsg = mStatusMsgStub.arg( mMsgsFetched );
+ const TQString statusMsg = mStatusMsgStub.tqarg( mMsgsFetched );
//BroadcastStatus::instance()->seStatusMsg( statusMsg );
mMailCheckProgressItem->incCompletedItems();
mMailCheckProgressItem->updateProgress();
- mMailCheckProgressItem->seStatus( statusMsg );
+ mMailCheckProgressItem->setqStatus( statusMsg );
msg = mMailFolder->take(0);
if (msg)
@@ -214,7 +214,7 @@ bool KMAcctLocal::fetchMsg()
fileD0.close(); // If data is 0 we just create a zero length file.
}
#endif
- msg->seStatus(msg->headerField("Status").latin1(),
+ msg->setqStatus(msg->headerField("Status").latin1(),
msg->headerField("X-Status").latin1());
msg->setEncryptionStateChar( msg->headerField( "X-KMail-EncryptionState" ).at(0) );
msg->setSignatureStateChar( msg->headerField( "X-KMail-SignatureState" ).at(0));
@@ -244,16 +244,16 @@ void KMAcctLocal::postProcess()
KMessageBox::queuedMessageBox( 0, KMessageBox::Information,
i18n( "<qt>Cannot remove mail from "
"mailbox <b>%1</b>:<br>%2</qt>" )
- .arg( mMailFolder->location() )
- .arg( strerror( rc ) ) );
+ .tqarg( mMailFolder->location() )
+ .tqarg( strerror( rc ) ) );
}
if( mMailCheckProgressItem ) { // do this only once...
BroadcastStatus::instance()->seStatusMsgTransmissionCompleted( mName, mNumMsgs );
- mMailCheckProgressItem->seStatus(
+ mMailCheckProgressItem->setqStatus(
i18n( "Fetched 1 message from mailbox %1.",
"Fetched %n messages from mailbox %1.",
- mNumMsgs ).arg( mMailFolder->location() ) );
+ mNumMsgs ).tqarg( mMailFolder->location() ) );
mMailCheckProgressItem->setComplete();
mMailCheckProgressItem = 0;
}