[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Thu Jan 6 20:50:11 CET 2005
CVS commit by arwalker:
Remove printf statements.
M +0 -6 emailthread.cpp 1.8
--- kdeextragear-2/kst/kst/emailthread.cpp #1.7:1.8
@@ -109,5 +109,4 @@ void EMailThread::send() {
mQuery = "headers=0&from=";
mQuery += KURL::encode_string(_strFrom);
-printf("send\n");
listTo = QStringList::split(QRegExp("[ ,;]"), _strTo);
count = listTo.count();
@@ -166,8 +165,6 @@ printf("send\n");
_slave = KIO::Scheduler::getConnectedSlave(destination, slaveConfig);
if (_slave) {
-printf("send2\n");
_job = KIO::put(destination, -1, false, false, false);
if (_job) {
-printf("send3\n");
_job->addMetaData("lf2crlf+dotstuff", "slave");
connect(_job, SIGNAL(result(KIO::Job *)), this, SLOT(result(KIO::Job *)));
@@ -183,5 +180,4 @@ void EMailThread::dataReq(KIO::Job *job,
Q_UNUSED(job)
-printf("data\n");
int chunkSize = QMIN(_bodyLength - _bodyOffset, 0x8000);
@@ -197,5 +193,4 @@ printf("data\n");
void EMailThread::result(KIO::Job *job)
{
-printf("result\n");
if (_job) {
_job = 0L;
@@ -215,5 +210,4 @@ printf("result\n");
void EMailThread::slaveError(KIO::Slave *aSlave, int error, const QString &errorMsg)
{
-printf("error\n");
if (aSlave == _slave) {
KstDebug::self()->log(i18n("Error sending automated email notifcation: [%1,%2].").arg(error).arg(errorMsg), KstDebug::Warning);
More information about the Kst
mailing list