From c327636f4934564a4f1f7c7ce3b6ab73eaec230d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Jul 2025 18:57:41 +0900 Subject: Use TDESimpleConfig Signed-off-by: Michele Calgaro --- kmail/configuredialog_p.cpp | 6 +++--- kmail/kmstartup.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kmail') diff --git a/kmail/configuredialog_p.cpp b/kmail/configuredialog_p.cpp index f171830e..bd5fdcd1 100644 --- a/kmail/configuredialog_p.cpp +++ b/kmail/configuredialog_p.cpp @@ -20,7 +20,7 @@ // other tdenetwork headers: (none) // other KDE headers: -#include +#include #include #include #include @@ -214,7 +214,7 @@ NewLanguageDialog::NewLanguageDialog( LanguageItemList & suppressedLangs, for ( TQStringList::ConstIterator it = pathList.begin(); it != pathList.end(); ++it ) { - KSimpleConfig entry( *it ); + TDESimpleConfig entry( *it ); entry.setGroup( "KCM Locale" ); // full name: TQString name = entry.readEntry( "Name" ); @@ -252,7 +252,7 @@ LanguageComboBox::LanguageComboBox( bool rw, TQWidget *parent, const char *name int LanguageComboBox::insertLanguage( const TQString & language ) { static TQString entryDesktop = TQString::fromLatin1("/entry.desktop"); - KSimpleConfig entry( locate("locale", language + entryDesktop) ); + TDESimpleConfig entry( locate("locale", language + entryDesktop) ); entry.setGroup( "KCM Locale" ); TQString name = entry.readEntry( "Name" ); TQString output = TQString::fromLatin1("%1 (%2)").arg( name ).arg( language ); 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 -#include +#include #include #include #include @@ -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(); } -- cgit v1.2.3