diff options
Diffstat (limited to 'lib/kofficecore')
| -rw-r--r-- | lib/kofficecore/KoGlobal.cpp | 4 | ||||
| -rw-r--r-- | lib/kofficecore/KoTemplates.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/kofficecore/KoGlobal.cpp b/lib/kofficecore/KoGlobal.cpp index 0bc10c3cd..745405522 100644 --- a/lib/kofficecore/KoGlobal.cpp +++ b/lib/kofficecore/KoGlobal.cpp @@ -26,7 +26,7 @@ #include <tdeglobalsettings.h> #include <tdeglobal.h> #include <tdelocale.h> -#include <ksimpleconfig.h> +#include <tdesimpleconfig.h> #include <tdestandarddirs.h> #include <kstaticdeleter.h> #include <kimageio.h> @@ -147,7 +147,7 @@ void KoGlobal::createListOfLanguages() tag = tag.mid(index+1); if ( seenLanguages.find( tag ) == seenLanguages.end() ) { - KSimpleConfig entry(*it); + TDESimpleConfig entry(*it); entry.setGroup("KCM Locale"); const TQString name = entry.readEntry("Name", tag); 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()); |
