Diffstat (limited to 'noncore/net/mail/libmailwrapper/generatemail.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/generatemail.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/noncore/net/mail/libmailwrapper/generatemail.cpp b/noncore/net/mail/libmailwrapper/generatemail.cpp index cb58d82..36ec232 100644 --- a/noncore/net/mail/libmailwrapper/generatemail.cpp +++ b/noncore/net/mail/libmailwrapper/generatemail.cpp @@ -99,3 +99,3 @@ mailimf_address_list *Generatemail::parseAddresses(const QString&addr ) { list.append(s); - qDebug("Appended %s",s.latin1()); + odebug << "Appended " << s.latin1() << "" << oendl; } @@ -112,3 +112,3 @@ mailimf_address_list *Generatemail::parseAddresses(const QString&addr ) { list.append(s); - qDebug("Appended %s",s.latin1()); + odebug << "Appended " << s.latin1() << "" << oendl; } @@ -118,6 +118,6 @@ mailimf_address_list *Generatemail::parseAddresses(const QString&addr ) { if ( err != MAILIMF_NO_ERROR ) { - qDebug( "Error parsing" ); - qDebug( *it ); + odebug << "Error parsing" << oendl; + odebug << *it << oendl; } else { - qDebug( "Parse success! %s",(*it).latin1()); + odebug << "Parse success! " << (*it).latin1() << "" << oendl; } @@ -177,3 +177,3 @@ mailmime *Generatemail::buildFilePart(const QString&filename,const QString&mimet if (err != MAILIMF_NO_ERROR) { - qDebug("Error setting body with file %s",file); + odebug << "Error setting body with file " << file << "" << oendl; mailmime_free( filePart ); @@ -208,5 +208,5 @@ void Generatemail::addFileParts( mailmime *message,const QList<Attachment>&files unsigned int count = files.count(); - qDebug("List contains %i values",count); + odebug << "List contains " << count << " values" << oendl; for ( unsigned int i = 0; i < count; ++i ) { - qDebug( "Adding file" ); + odebug << "Adding file" << oendl; mailmime *filePart; @@ -217,4 +217,4 @@ void Generatemail::addFileParts( mailmime *message,const QList<Attachment>&files if ( filePart == NULL ) { - qDebug( "addFileParts: error adding file:" ); - qDebug( it->getFileName() ); + odebug << "addFileParts: error adding file:" << oendl; + odebug << it->getFileName() << oendl; continue; @@ -224,3 +224,3 @@ void Generatemail::addFileParts( mailmime *message,const QList<Attachment>&files mailmime_free( filePart ); - qDebug("error smart add"); + odebug << "error smart add" << oendl; } @@ -272,3 +272,3 @@ err_free_param: err_free: - qDebug( "buildTxtPart - error" ); + odebug << "buildTxtPart - error" << oendl; @@ -347,3 +347,3 @@ mailimf_fields *Generatemail::createImfFields(const Opie::Core::OSmartPointer<Ma clist_append(in_reply_to,c_reply); - qDebug("In reply to: %s",c_reply); + odebug << "In reply to: " << c_reply << "" << oendl; } @@ -355,3 +355,3 @@ mailimf_fields *Generatemail::createImfFields(const Opie::Core::OSmartPointer<Ma if ( fields == NULL ) { - qDebug("Error creating mailimf fields"); + odebug << "Error creating mailimf fields" << oendl; res = 0; @@ -437,3 +437,3 @@ err_free_fields: err_free: - qDebug( "createMimeMail: error" ); + odebug << "createMimeMail: error" << oendl; |