diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 18:57:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 18:57:41 +0900 |
commit | c327636f4934564a4f1f7c7ce3b6ab73eaec230d (patch) | |
tree | 54a98d7d0fa063b1ac0be810fc20f788aa3c7f9c /kmail | |
parent | 8f878546e0a859e78dfc2c6ff7f08507347a76ea (diff) | |
download | tdepim-c327636f4934564a4f1f7c7ce3b6ab73eaec230d.tar.gz tdepim-c327636f4934564a4f1f7c7ce3b6ab73eaec230d.zip |
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmail')
-rw-r--r-- | kmail/configuredialog_p.cpp | 6 | ||||
-rw-r--r-- | kmail/kmstartup.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
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 <ksimpleconfig.h> +#include <tdesimpleconfig.h> #include <tdestandarddirs.h> #include <tdelocale.h> #include <kdebug.h> @@ -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 <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(); } |