summaryrefslogtreecommitdiff
path: root/noncore/net/mail
authorar <ar>2004-05-12 21:05:31 (UTC)
committer ar <ar>2004-05-12 21:05:31 (UTC)
commit0a35373310b1e8dc1967db71b6bf5673d832bb13 (patch) (side-by-side diff)
treea50e61a142f213e678f0077894c7435ddd1a0776 /noncore/net/mail
parent4b9dcabe79d0d3e73d638981ea045c4969bf21fc (diff)
downloadopie-0a35373310b1e8dc1967db71b6bf5673d832bb13.zip
opie-0a35373310b1e8dc1967db71b6bf5673d832bb13.tar.gz
opie-0a35373310b1e8dc1967db71b6bf5673d832bb13.tar.bz2
- convert qDebug to odebug
Diffstat (limited to 'noncore/net/mail') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/composemail.cpp26
1 files changed, 15 insertions, 11 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp
index b15e692..449fdf1 100644
--- a/noncore/net/mail/composemail.cpp
+++ b/noncore/net/mail/composemail.cpp
@@ -1,5 +1,12 @@
-#include <qt.h>
+#include "composemail.h"
+
+#include <libmailwrapper/smtpwrapper.h>
+#include <libmailwrapper/storemail.h>
+#include <libmailwrapper/abstractmail.h>
+#include <libmailwrapper/mailtypes.h>
+
+/* OPIE */
#include <opie2/ofiledialog.h>
#include <opie2/odebug.h>
#include <qpe/resource.h>
@@ -7,12 +14,9 @@
#include <qpe/global.h>
#include <qpe/contact.h>
-#include "composemail.h"
+/* QT */
+#include <qt.h>
-#include <libmailwrapper/smtpwrapper.h>
-#include <libmailwrapper/storemail.h>
-#include <libmailwrapper/abstractmail.h>
-#include <libmailwrapper/mailtypes.h>
using namespace Opie::Core;
using namespace Opie::Ui;
@@ -184,12 +188,12 @@ void ComposeMail::removeAttachment()
void ComposeMail::accept()
{
if ( checkBoxLater->isChecked() ) {
- odebug << "Send later" << oendl;
+ odebug << "Send later" << oendl;
}
#if 0
- qDebug( "Sending Mail with " +
- smtpAccounts.at( smtpAccountBox->currentItem() )->getAccountName() );
+ odebug << "Sending Mail with "
+ << smtpAccounts.at( smtpAccountBox->currentItem() )->getAccountName() << oendl;
#endif
Opie::Core::OSmartPointer<Mail> mail=new Mail;
@@ -257,7 +261,7 @@ void ComposeMail::reject()
txt.append( "\n--\n" );
txt.append( sigMultiLine->text() );
}
- odebug << txt << oendl;
+ odebug << txt << oendl;
mail->setMessage( txt );
/* only use the default drafts folder name! */
@@ -293,7 +297,7 @@ AttachViewItem::AttachViewItem( QListView *parent, Attachment *att )
: QListViewItem( parent )
{
attachment = att;
- odebug << att->getMimeType() << oendl;
+ odebug << att->getMimeType() << oendl;
setPixmap( 0, attachment->getDocLnk().pixmap().isNull() ?
Resource::loadPixmap( "UnknownDocument-14" ) :
attachment->getDocLnk().pixmap() );