Diffstat (limited to 'noncore/net/mail/composemail.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/composemail.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/noncore/net/mail/composemail.cpp b/noncore/net/mail/composemail.cpp index 048fa85..f680f5c 100644 --- a/noncore/net/mail/composemail.cpp +++ b/noncore/net/mail/composemail.cpp | |||
@@ -3,4 +3,5 @@ | |||
3 | #include <opie/ofiledialog.h> | 3 | #include <opie/ofiledialog.h> |
4 | #include <qpe/resource.h> | 4 | #include <qpe/resource.h> |
5 | #include <qpe/config.h> | ||
5 | 6 | ||
6 | #include "composemail.h" | 7 | #include "composemail.h" |
@@ -12,4 +13,8 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m | |||
12 | settings = s; | 13 | settings = s; |
13 | 14 | ||
15 | Config cfg( "mail" ); | ||
16 | cfg.setGroup( "Compose" ); | ||
17 | checkBoxLater->setChecked( cfg.readBoolEntry( "sendLater", false ) ); | ||
18 | |||
14 | attList->addColumn( tr( "Name" ) ); | 19 | attList->addColumn( tr( "Name" ) ); |
15 | attList->addColumn( tr( "Size" ) ); | 20 | attList->addColumn( tr( "Size" ) ); |
@@ -31,4 +36,5 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m | |||
31 | tr( "<p>Please create an SMTP account first.</p>" ), | 36 | tr( "<p>Please create an SMTP account first.</p>" ), |
32 | tr( "Ok" ) ); | 37 | tr( "Ok" ) ); |
38 | return; | ||
33 | } | 39 | } |
34 | 40 | ||
@@ -154,4 +160,9 @@ void ComposeMail::removeAttachment() | |||
154 | void ComposeMail::accept() | 160 | void ComposeMail::accept() |
155 | { | 161 | { |
162 | if ( checkBoxLater->isChecked() ) { | ||
163 | qDebug( "Send later" ); | ||
164 | } | ||
165 | |||
166 | |||
156 | qDebug( "Sending Mail with " + | 167 | qDebug( "Sending Mail with " + |
157 | smtpAccounts.at( fromBox->currentItem() )->getAccountName() ); | 168 | smtpAccounts.at( fromBox->currentItem() )->getAccountName() ); |