From 9bbc3d997fca39d9ab53541376737b016007685b Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 20 Oct 2002 22:46:45 +0000 Subject: remember user configurations --- (limited to 'core/apps') diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 209c5de..f38ea53 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -965,15 +965,24 @@ void TextEdit::doAbout() { } void TextEdit::doPrompt(bool b) { - promptExit=b; + promptExit=b; + Config cfg("TextEdit"); + cfg.setGroup ( "View" ); + cfg.writeEntry ( "PromptExit", b); } void TextEdit::doDesktop(bool b) { - openDesktop=b; + openDesktop=b; + Config cfg("TextEdit"); + cfg.setGroup ( "View" ); + cfg.writeEntry ( "OpenDesktop", b); } void TextEdit::doFilePerms(bool b) { - filePerms=b; + filePerms=b; + Config cfg("TextEdit"); + cfg.setGroup ( "View" ); + cfg.writeEntry ( "FilePermissions", b); } void TextEdit::editPasteTimeDate() { -- cgit v0.9.0.2