From a4e89f2b45c154949c07fab788df9f14aa0f25e8 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Sat, 12 Jul 2025 18:58:15 +0900
Subject: Use TDESimpleConfig

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 kgpg/keyservers.cpp             | 4 ++--
 kgpg/keyservers.h               | 4 ++--
 kgpg/kgpg.cpp                   | 2 +-
 kgpg/kgpgoptions.h              | 2 +-
 khexedit/exportdialog.cpp       | 2 +-
 khexedit/exportdialog.h         | 4 ++--
 khexedit/printdialogpage.cpp    | 2 +-
 khexedit/printdialogpage.h      | 4 ++--
 ksim/library/themeloader.cpp    | 2 +-
 ksim/monitors/net/ksimnet.cpp   | 2 +-
 ksim/monitors/net/netconfig.cpp | 2 +-
 tdelirc/irkick/irkick.cpp       | 6 +++---
 tdelirc/kcmlirc/kcmlirc.cpp     | 8 ++++----
 13 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/kgpg/keyservers.cpp b/kgpg/keyservers.cpp
index 514f3f3..fee508b 100644
--- a/kgpg/keyservers.cpp
+++ b/kgpg/keyservers.cpp
@@ -46,7 +46,7 @@
 #include <kstatusbar.h>
 #include <tdeconfig.h>
 #include <klineedit.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
 #include <tdeaction.h>
 #include <kdebug.h>
 
@@ -59,7 +59,7 @@
 keyServer::keyServer(TQWidget *parent, const char *name,bool modal,bool autoClose):KDialogBase( Swallow, i18n("Key Server"), Close, Close, parent, name,modal)
 {
 	autoCloseWindow=autoClose;
-	config=new KSimpleConfig ("kgpgrc");
+	config=new TDESimpleConfig ("kgpgrc");
 	page=new keyServerWidget();
 	setMainWidget(page);
 
diff --git a/kgpg/keyservers.h b/kgpg/keyservers.h
index ee43fc5..b45fc25 100644
--- a/kgpg/keyservers.h
+++ b/kgpg/keyservers.h
@@ -22,7 +22,7 @@
 #include "keyserver.h"
 
 class TDEListViewItem;
-class KSimpleConfig;
+class TDESimpleConfig;
 class TDEProcIO;
 class TDEProcess;
 
@@ -66,7 +66,7 @@ public slots:
 private:
 
         TQDialog *importpop;
-        KSimpleConfig *config;
+        TDESimpleConfig *config;
         uint keyNumbers;
 	TQString readmessage, currentKey;;
 	TQStringList keysToImport, invalidKeys;
diff --git a/kgpg/kgpg.cpp b/kgpg/kgpg.cpp
index 8ad133a..0bae675 100644
--- a/kgpg/kgpg.cpp
+++ b/kgpg/kgpg.cpp
@@ -933,7 +933,7 @@ s_keyManager->keysList2->saveLayout(TDEGlobal::config(),"KeyView");
 	KGpgSettings::setShowCreat(s_keyManager->sCreat->isChecked());
 	KGpgSettings::setShowSize(s_keyManager->sSize->isChecked());
         KGpgSettings::writeConfig();
-	KSimpleConfig ("kgpgrc").sync();
+	TDESimpleConfig ("kgpgrc").sync();
         quit();
 }
 
diff --git a/kgpg/kgpgoptions.h b/kgpg/kgpgoptions.h
index 7411908..2f3259b 100644
--- a/kgpg/kgpgoptions.h
+++ b/kgpg/kgpgoptions.h
@@ -34,7 +34,7 @@ class ColorsConf;
 class MiscConf;
 class TDEFontChooser;
 class TDEConfig;
-class KSimpleConfig;
+class TDESimpleConfig;
 
 class kgpgOptions : public TDEConfigDialog
 {
diff --git a/khexedit/exportdialog.cpp b/khexedit/exportdialog.cpp
index b2ac808..df95f5f 100644
--- a/khexedit/exportdialog.cpp
+++ b/khexedit/exportdialog.cpp
@@ -71,7 +71,7 @@ void CExportDialog::readConfiguration( void )
 {
   if( mConfig != 0 ) { return; }
 
-  mConfig = new KSimpleConfig( TQString("hexexport") );
+  mConfig = new TDESimpleConfig( TQString("hexexport") );
   if( mConfig == 0 ) { return; }
 
   mConfig->setGroup( "Destination" );
diff --git a/khexedit/exportdialog.h b/khexedit/exportdialog.h
index c5fbfc5..7adcea3 100644
--- a/khexedit/exportdialog.h
+++ b/khexedit/exportdialog.h
@@ -30,7 +30,7 @@ class TQLabel;
 class TQLineEdit;
 class TQSpinBox;
 class TQWidgetStack;
-class KSimpleConfig;
+class TDESimpleConfig;
 
 #include <kdialogbase.h>
 #include "hexbuffer.h"
@@ -127,7 +127,7 @@ class CExportDialog : public KDialogBase
     SDestinationWidgets  mDestination;
     SHtmlWidgets  mHtml;
     SArrayWidgets mArray;
-    KSimpleConfig *mConfig;
+    TDESimpleConfig *mConfig;
 
     TQString mWorkDir;
 };
diff --git a/khexedit/printdialogpage.cpp b/khexedit/printdialogpage.cpp
index 73efb45..ad58759 100644
--- a/khexedit/printdialogpage.cpp
+++ b/khexedit/printdialogpage.cpp
@@ -223,7 +223,7 @@ void LayoutDialogPage::readConfiguration( void )
 {
   if( mConfig != 0 ) { return; }
 
-  mConfig = new KSimpleConfig( TQString("hexprinter") );
+  mConfig = new TDESimpleConfig( TQString("hexprinter") );
   if( mConfig == 0 ) { return; }
 
   mConfig->setGroup( "PageLayout" );
diff --git a/khexedit/printdialogpage.h b/khexedit/printdialogpage.h
index c08e31e..6eb4741 100644
--- a/khexedit/printdialogpage.h
+++ b/khexedit/printdialogpage.h
@@ -28,7 +28,7 @@ class TQLabel;
 class TQSpinBox;
 
 #include <tdeprint/kprintdialogpage.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
 
 class LayoutDialogPage : public KPrintDialogPage
 {
@@ -67,7 +67,7 @@ class LayoutDialogPage : public KPrintDialogPage
      TQComboBox    *footerCombo[4];
    };
 
-   KSimpleConfig *mConfig;
+   TDESimpleConfig *mConfig;
    SLayoutWidgets mLayout;
 };
 
diff --git a/ksim/library/themeloader.cpp b/ksim/library/themeloader.cpp
index ded0d7e..c1eb655 100644
--- a/ksim/library/themeloader.cpp
+++ b/ksim/library/themeloader.cpp
@@ -33,7 +33,7 @@
 #include <tqbitmap.h>
 
 #include <kdebug.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
 #include <tdeglobalsettings.h>
 #include <tdestandarddirs.h>
 #include <tdeglobal.h>
diff --git a/ksim/monitors/net/ksimnet.cpp b/ksim/monitors/net/ksimnet.cpp
index 20c0c9d..a066c6e 100644
--- a/ksim/monitors/net/ksimnet.cpp
+++ b/ksim/monitors/net/ksimnet.cpp
@@ -47,7 +47,7 @@ static int mib[] = { CTL_NET, PF_ROUTE, 0, 0, NET_RT_IFLIST, 0 };
 #include <tdelocale.h>
 #include <tdeaboutapplication.h>
 #include <tdeaboutdata.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
 #include <tdeglobal.h>
 #include <krun.h>
 #include <tdeapplication.h>
diff --git a/ksim/monitors/net/netconfig.cpp b/ksim/monitors/net/netconfig.cpp
index 2cfc1af..d05cc38 100644
--- a/ksim/monitors/net/netconfig.cpp
+++ b/ksim/monitors/net/netconfig.cpp
@@ -22,7 +22,7 @@
 #include <tqcursor.h>
 
 #include <tdelistview.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
 #include <tdelocale.h>
 #include <kiconloader.h>
 #include <tdeapplication.h>
diff --git a/tdelirc/irkick/irkick.cpp b/tdelirc/irkick/irkick.cpp
index af72da7..6255430 100644
--- a/tdelirc/irkick/irkick.cpp
+++ b/tdelirc/irkick/irkick.cpp
@@ -20,7 +20,7 @@
 #if !(TDE_VERSION_MINOR<=1 && TDE_VERSION_RELEASE<=5)
 #include <tdeactioncollection.h>
 #endif
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
 #include <ksystemtray.h>
 #include <kiconloader.h>
 #include <kpassivepopup.h>
@@ -113,7 +113,7 @@ void IRKick::flashOff()
 
 void IRKick::doQuit()
 {
-	KSimpleConfig theConfig("irkickrc");
+	TDESimpleConfig theConfig("irkickrc");
 	theConfig.setGroup("General");
 	switch(KMessageBox::questionYesNoCancel(0, i18n("Should the Infrared Remote Control server start automatically when you begin TDE?"), i18n("Automatically Start?"), i18n("Start Automatically"), i18n("Do Not Start")))
 	{	case KMessageBox::No: theConfig.writeEntry("AutoStart", false); break;
@@ -143,7 +143,7 @@ void IRKick::resetModes()
 void IRKick::slotReloadConfiguration()
 {
 	// load configuration from config file
-	KSimpleConfig theConfig("irkickrc");
+	TDESimpleConfig theConfig("irkickrc");
 	allActions.loadFromConfig(theConfig);
 	allModes.loadFromConfig(theConfig);
 	if(currentModes.count() && theResetCount)
diff --git a/tdelirc/kcmlirc/kcmlirc.cpp b/tdelirc/kcmlirc/kcmlirc.cpp
index 3b2a870..c0f4212 100644
--- a/tdelirc/kcmlirc/kcmlirc.cpp
+++ b/tdelirc/kcmlirc/kcmlirc.cpp
@@ -26,7 +26,7 @@
 #include <kicondialog.h>
 #include <kiconloader.h>
 #include <kdebug.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
 #include <kgenericfactory.h>
 #include <tdelistview.h>
 #include <tdemessagebox.h>
@@ -61,7 +61,7 @@ KCMLirc::KCMLirc(TQWidget *parent, const char *name, TQStringList /*args*/) : DC
 	if(!ok)
 		if(KMessageBox::questionYesNo(this, i18n("The Infrared Remote Control software is not currently running. This configuration module will not work properly without it. Would you like to start it now?"), i18n("Software Not Running"), i18n("Start"), i18n("Do Not Start")) == KMessageBox::Yes)
 		{	kdDebug() << "S" << TDEApplication::startServiceByDesktopName("irkick") << endl;
-			KSimpleConfig theConfig("irkickrc");
+			TDESimpleConfig theConfig("irkickrc");
 			theConfig.setGroup("General");
 			if(theConfig.readBoolEntry("AutoStart", true) == false)
 				if(KMessageBox::questionYesNo(this, i18n("Would you like the infrared remote control software to start automatically when you begin TDE?"), i18n("Automatically Start?"), i18n("Start Automatically"), i18n("Do Not Start")) == KMessageBox::Yes)
@@ -498,7 +498,7 @@ void KCMLirc::updateInformation()
 
 void KCMLirc::load()
 {
-	KSimpleConfig theConfig("irkickrc");
+	TDESimpleConfig theConfig("irkickrc");
 	allActions.loadFromConfig(theConfig);
 	allModes.loadFromConfig(theConfig);
 	allModes.generateNulls(IRKick_stub("irkick", "IRKick").remotes());
@@ -516,7 +516,7 @@ void KCMLirc::defaults()
 
 void KCMLirc::save()
 {
-	KSimpleConfig theConfig("irkickrc");
+	TDESimpleConfig theConfig("irkickrc");
 	allActions.saveToConfig(theConfig);
 	allModes.saveToConfig(theConfig);
 
-- 
cgit v1.2.3

