summaryrefslogtreecommitdiffstats
path: root/kmail/kmstartup.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:57:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:57:41 +0900
commitc327636f4934564a4f1f7c7ce3b6ab73eaec230d (patch)
tree54a98d7d0fa063b1ac0be810fc20f788aa3c7f9c /kmail/kmstartup.cpp
parent8f878546e0a859e78dfc2c6ff7f08507347a76ea (diff)
downloadtdepim-c327636f4934564a4f1f7c7ce3b6ab73eaec230d.tar.gz
tdepim-c327636f4934564a4f1f7c7ce3b6ab73eaec230d.zip
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmail/kmstartup.cpp')
-rw-r--r--kmail/kmstartup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/kmstartup.cpp b/kmail/kmstartup.cpp
index 827f7eb7..7fd0ba4f 100644
--- a/kmail/kmstartup.cpp
+++ b/kmail/kmstartup.cpp
@@ -24,7 +24,7 @@
#include "kcursorsaver.h"
#include <tdelocale.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdestandarddirs.h>
#include <tdemessagebox.h>
#include <dcopclient.h>
@@ -149,7 +149,7 @@ void lockOrDie() {
programName = i18n("KMail");
TQString lockLocation = locateLocal("data", "kmail/lock");
- KSimpleConfig config(lockLocation);
+ TDESimpleConfig config(lockLocation);
int oldPid = config.readNumEntry("pid", -1);
const TQString oldHostName = config.readEntry("hostname");
const TQString oldAppName = config.readEntry( "appName", appName );
@@ -262,7 +262,7 @@ void insertLibraryCataloguesAndIcons() {
void cleanup()
{
const TQString lockLocation = locateLocal("data", "kmail/lock");
- KSimpleConfig config(lockLocation);
+ TDESimpleConfig config(lockLocation);
config.writeEntry("pid", -1);
config.sync();
}