|
|
|
@ -119,6 +119,7 @@ TopLevel::~TopLevel()
|
|
|
|
|
void TopLevel::load() {
|
|
|
|
|
KConfig* config = KGlobal::instance()->config();
|
|
|
|
|
config->setGroup(NULL);
|
|
|
|
|
autostart = config->readBoolEntry("Autostart", true);
|
|
|
|
|
notifyExpiry = config->readBoolEntry("notifyExpiry", true);
|
|
|
|
|
notifyExpiryMinutes = config->readNumEntry("notifyExpiryMinutes", 5);
|
|
|
|
|
}
|
|
|
|
@ -126,6 +127,7 @@ void TopLevel::load() {
|
|
|
|
|
void TopLevel::save() {
|
|
|
|
|
KConfig* config = KGlobal::instance()->config();
|
|
|
|
|
config->setGroup(NULL);
|
|
|
|
|
config->writeEntry("Autostart", autostart);
|
|
|
|
|
config->writeEntry("notifyExpiry", notifyExpiry);
|
|
|
|
|
config->writeEntry("notifyExpiryMinutes", notifyExpiryMinutes);
|
|
|
|
|
config->sync();
|
|
|
|
|