author | alwin <alwin> | 2004-04-04 23:47:04 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-04 23:47:04 (UTC) |
commit | 7485cd42befd86ad035ef4fa29d6e8f728b1e211 (patch) (side-by-side diff) | |
tree | fffb498e97013a953f47652e9aa17c3def4c8a9b /noncore/net/mail/composemail.cpp | |
parent | fb8ce053c0f08769d359fe4153785e3de72f83ea (diff) | |
download | opie-7485cd42befd86ad035ef4fa29d6e8f728b1e211.zip opie-7485cd42befd86ad035ef4fa29d6e8f728b1e211.tar.gz opie-7485cd42befd86ad035ef4fa29d6e8f728b1e211.tar.bz2 |
someone forget to include opie2/odebug while switching from qDebug
to odebug ;)
Diffstat (limited to 'noncore/net/mail/composemail.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/composemail.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp index fa703c4..b15e692 100644 --- a/noncore/net/mail/composemail.cpp +++ b/noncore/net/mail/composemail.cpp @@ -1,51 +1,52 @@ #include <qt.h> #include <opie2/ofiledialog.h> +#include <opie2/odebug.h> #include <qpe/resource.h> #include <qpe/config.h> #include <qpe/global.h> #include <qpe/contact.h> #include "composemail.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; ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool modal, WFlags flags ) : ComposeMailUI( parent, name, modal, flags ) { settings = s; m_replyid = ""; QString vfilename = Global::applicationFileName("addressbook", "businesscard.vcf"); Contact c; if (QFile::exists(vfilename)) { c = Contact::readVCard( vfilename )[0]; } QStringList mails = c.emailList(); QString defmail = c.defaultEmail(); if (defmail.length()!=0) { fromBox->insertItem(defmail); } QStringList::ConstIterator sit = mails.begin(); for (;sit!=mails.end();++sit) { if ( (*sit)==defmail) continue; fromBox->insertItem((*sit)); } senderNameEdit->setText(c.firstName()+" "+c.lastName()); Config cfg( "mail" ); cfg.setGroup( "Compose" ); checkBoxLater->setChecked( cfg.readBoolEntry( "sendLater", false ) ); attList->addColumn( tr( "Name" ) ); attList->addColumn( tr( "Size" ) ); QList<Account> accounts = settings->getAccounts(); |