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 @@ -4,2 +4,3 @@ #include <qpe/resource.h> +#include <qpe/config.h> @@ -13,2 +14,6 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m + Config cfg( "mail" ); + cfg.setGroup( "Compose" ); + checkBoxLater->setChecked( cfg.readBoolEntry( "sendLater", false ) ); + attList->addColumn( tr( "Name" ) ); @@ -32,2 +37,3 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m tr( "Ok" ) ); + return; } @@ -155,2 +161,7 @@ void ComposeMail::accept() { + if ( checkBoxLater->isChecked() ) { + qDebug( "Send later" ); + } + + qDebug( "Sending Mail with " + |