summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoTemplates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoTemplates.cpp')
-rw-r--r--lib/kofficecore/KoTemplates.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/KoTemplates.cpp b/lib/kofficecore/KoTemplates.cpp
index 072c04a0b..313d3af4b 100644
--- a/lib/kofficecore/KoTemplates.cpp
+++ b/lib/kofficecore/KoTemplates.cpp
@@ -24,7 +24,7 @@
#include <tqprinter.h>
#include <kdesktopfile.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <kdebug.h>
#include <tdeversion.h>
#include <kinstance.h>
@@ -226,7 +226,7 @@ void KoTemplateTree::readGroups() {
TQString defaultTab;
int sortingWeight = 1000;
if(templateDir.exists(".directory")) {
- KSimpleConfig config(templateDir.absPath()+"/.directory", true);
+ TDESimpleConfig config(templateDir.absPath()+"/.directory", true);
config.setDesktopGroup();
name=config.readEntry("Name");
defaultTab=config.readEntry("X-TDE-DefaultTab");
@@ -271,7 +271,7 @@ void KoTemplateTree::readTemplates() {
// If a desktop file, then read the name from it.
// Otherwise (or if no name in it?) use file name
if (KDesktopFile::isDesktopFile(filePath)) {
- KSimpleConfig config(filePath, true);
+ TDESimpleConfig config(filePath, true);
config.setDesktopGroup();
if (config.readEntry("Type")=="Link") {
text=config.readEntry("Name");
@@ -356,7 +356,7 @@ void KoTemplateTree::writeTemplate(KoTemplate *t, KoTemplateGroup *group,
fileName = path + fill + name + ".desktop";
}
- KSimpleConfig config( fileName );
+ TDESimpleConfig config( fileName );
config.setDesktopGroup();
config.writeEntry("Type", "Link");
config.writePathEntry("URL", t->file());