From 4e46f706ca269084df1f136e9949c15a734f1bd3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Jul 2025 18:09:47 +0900 Subject: [PATCH] Use TDESimpleConfig Signed-off-by: Michele Calgaro --- libk3b/plugin/k3bpluginmanager.cpp | 4 ++-- src/k3b.cpp | 4 ++-- src/k3bthememanager.cpp | 4 ++-- src/main.cpp | 2 +- src/option/k3bdevicewidget.cpp | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libk3b/plugin/k3bpluginmanager.cpp b/libk3b/plugin/k3bpluginmanager.cpp index 9981070..364e76b 100644 --- a/libk3b/plugin/k3bpluginmanager.cpp +++ b/libk3b/plugin/k3bpluginmanager.cpp @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include #include @@ -85,7 +85,7 @@ TQPtrList K3bPluginManager::plugins( const TQString& group ) const void K3bPluginManager::loadPlugin( const TQString& fileName ) { - KSimpleConfig c( fileName, true ); + TDESimpleConfig c( fileName, true ); c.setGroup( "K3b Plugin" ); TQString libName = c.readEntry( "Lib" ); diff --git a/src/k3b.cpp b/src/k3b.cpp index 90d257f..07c312f 100644 --- a/src/k3b.cpp +++ b/src/k3b.cpp @@ -625,7 +625,7 @@ void K3bMainWindow::saveProperties( TDEConfig* c ) // FIXME: for some reason the config entries are not properly stored when using the default // TDEMainWindow session config. Since I was not able to find the bug I use another config object // ---------------------------------------------------------- - c = new KSimpleConfig( saveDir + "list", false ); + c = new TDESimpleConfig( saveDir + "list", false ); c->setGroup( "Saved Session" ); // ---------------------------------------------------------- @@ -680,7 +680,7 @@ void K3bMainWindow::readProperties( TDEConfig* c ) // FIXME: for some reason the config entries are not properly stored when using the default // TDEMainWindow session config. Since I was not able to find the bug I use another config object // ---------------------------------------------------------- - c = new KSimpleConfig( saveDir + "list", true ); + c = new TDESimpleConfig( saveDir + "list", true ); c->setGroup( "Saved Session" ); // ---------------------------------------------------------- diff --git a/src/k3bthememanager.cpp b/src/k3bthememanager.cpp index 98490f8..22b0512 100644 --- a/src/k3bthememanager.cpp +++ b/src/k3bthememanager.cpp @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include @@ -308,7 +308,7 @@ void K3bThemeManager::loadTheme( const TQString& name ) t->m_local = fi.isWritable(); // load the stuff - KSimpleConfig cfg( path, true ); + TDESimpleConfig cfg( path, true ); t->m_author = cfg.readEntry( "Author" ); t->m_comment = cfg.readEntry( "Comment" ); t->m_version = cfg.readEntry( "Version" ); diff --git a/src/main.cpp b/src/main.cpp index 8798dbe..3a3e398 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/option/k3bdevicewidget.cpp b/src/option/k3bdevicewidget.cpp index ef7cc32..3be241c 100644 --- a/src/option/k3bdevicewidget.cpp +++ b/src/option/k3bdevicewidget.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include