summaryrefslogtreecommitdiffstats
path: root/kpresenter
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:18:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-12 18:18:10 +0900
commita1d5d51fe58cfdc6bd7e35153fa334c2fdde3354 (patch)
treed8c85b6b07060dbb834cfe78f46209a64f3fa2e8 /kpresenter
parentcf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (diff)
downloadkoffice-a1d5d51fe58cfdc6bd7e35153fa334c2fdde3354.tar.gz
koffice-a1d5d51fe58cfdc6bd7e35153fa334c2fdde3354.zip
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpresenter')
-rw-r--r--kpresenter/KPrWebPresentation.cpp6
-rw-r--r--kpresenter/autoformEdit/AFChoose.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/kpresenter/KPrWebPresentation.cpp b/kpresenter/KPrWebPresentation.cpp
index 886a47167..d76e208b0 100644
--- a/kpresenter/KPrWebPresentation.cpp
+++ b/kpresenter/KPrWebPresentation.cpp
@@ -58,7 +58,7 @@
#include <tdefiledialog.h>
#include <tdemessagebox.h>
#include <kbuttonbox.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdeapplication.h>
#include <kprogress.h>
#include <tdeglobal.h>
@@ -198,7 +198,7 @@ void KPrWebPresentation::loadConfig()
if ( config.isEmpty() )
return;
- KSimpleConfig cfg( config );
+ TDESimpleConfig cfg( config );
cfg.setGroup( "General" );
author = cfg.readEntry( "Author", author );
@@ -235,7 +235,7 @@ void KPrWebPresentation::loadConfig()
void KPrWebPresentation::saveConfig()
{
- KSimpleConfig cfg( config );
+ TDESimpleConfig cfg( config );
cfg.setGroup( "General" );
cfg.writeEntry( "Author", author );
diff --git a/kpresenter/autoformEdit/AFChoose.cpp b/kpresenter/autoformEdit/AFChoose.cpp
index 093c13a80..df5867c1d 100644
--- a/kpresenter/autoformEdit/AFChoose.cpp
+++ b/kpresenter/autoformEdit/AFChoose.cpp
@@ -26,7 +26,7 @@
#include <tqwhatsthis.h>
#include <tdelocale.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <kdebug.h>
#include <tdestandarddirs.h>
#include <kicondialog.h>
@@ -67,7 +67,7 @@ void AFChoose::getGroups()
grpPtr->dir.setFile(directory);
TQDir d(directory);
if(d.exists(".directory")) {
- KSimpleConfig config(d.absPath()+"/.directory", true);
+ TDESimpleConfig config(d.absPath()+"/.directory", true);
config.setDesktopGroup();
grpPtr->name=config.readEntry("Name");
}
@@ -95,7 +95,7 @@ void AFChoose::setupTabs()
for(unsigned int i=0; i<files.count(); ++i) {
TQString path=grpPtr->dir.absFilePath() + TQChar('/');
files[i]=path + files[i];
- KSimpleConfig config(files[i]);
+ TDESimpleConfig config(files[i]);
config.setDesktopGroup();
if (config.readEntry("Type")=="Link") {
TQString text=config.readEntry("Name");