summaryrefslogtreecommitdiff
path: root/noncore/net/mail/settingsdialog.cpp
authorharlekin <harlekin>2004-01-04 15:47:32 (UTC)
committer harlekin <harlekin>2004-01-04 15:47:32 (UTC)
commit59fee003137f5fd7782e3a42159e53424d100e67 (patch) (side-by-side diff)
treedae5f375349ff02ac96f9bd309aeea52837003cd /noncore/net/mail/settingsdialog.cpp
parent5c4c2a789c19e727bb9ca323ea1fec1b7d1bd057 (diff)
downloadopie-59fee003137f5fd7782e3a42159e53424d100e67.zip
opie-59fee003137f5fd7782e3a42159e53424d100e67.tar.gz
opie-59fee003137f5fd7782e3a42159e53424d100e67.tar.bz2
config taskbar applet
Diffstat (limited to 'noncore/net/mail/settingsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/settingsdialog.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/noncore/net/mail/settingsdialog.cpp b/noncore/net/mail/settingsdialog.cpp
index f9de405..061ea72 100644
--- a/noncore/net/mail/settingsdialog.cpp
+++ b/noncore/net/mail/settingsdialog.cpp
@@ -1,4 +1,5 @@
#include <qcheckbox.h>
+#include <qspinbox.h>
#include <qpe/config.h>
@@ -21,6 +22,12 @@ void SettingsDialog::readConfig() {
showHtmlButton->setChecked( cfg.readBoolEntry( "showHtml", false ) );
cfg.setGroup( "Compose" );
checkBoxLater->setChecked( cfg.readBoolEntry( "sendLater", false ) );
+ cfg.setGroup( "Applet" );
+ cbEnableTaskbarApplet->setChecked( cfg.readBoolEntry( "Disabled", false ) );
+ spCheckOften->setValue( cfg.readNumEntry( "CheckEvery", 5 ) );
+ cbBlinkLed->setChecked( cfg.readBoolEntry( "BlinkLed", true ) );
+ cbPlaySound->setChecked( cfg.readBoolEntry( "PlaySound", false ) );
+
}
void SettingsDialog::writeConfig() {
@@ -28,8 +35,12 @@ void SettingsDialog::writeConfig() {
cfg.setGroup( "Settings" );
cfg.writeEntry( "showHtml", showHtmlButton->isChecked() );
cfg.setGroup( "Compose" );
- cfg.writeEntry( "sendLater", checkBoxLater->isChecked() );;
-
+ cfg.writeEntry( "sendLater", checkBoxLater->isChecked() );
+ cfg.setGroup( "Applet" );
+ cfg.writeEntry( "Disabled", cbEnableTaskbarApplet->isChecked() );
+ cfg.writeEntry( "CheckEvery", spCheckOften->value() );
+ cfg.writeEntry( "BlinkLed", cbBlinkLed->isChecked() );
+ cfg.writeEntry( "PlaySound", cbPlaySound->isChecked() );
}
void SettingsDialog::accept() {