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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kofficecore/KoTemplates.cpp b/lib/kofficecore/KoTemplates.cpp
index 343d4704..a86d799a 100644
--- a/lib/kofficecore/KoTemplates.cpp
+++ b/lib/kofficecore/KoTemplates.cpp
@@ -229,8 +229,8 @@ void KoTemplateTree::readGroups() {
KSimpleConfig config(templateDir.absPath()+"/.directory", true);
config.setDesktopGroup();
name=config.readEntry("Name");
- defaultTab=config.readEntry("X-KDE-DefaultTab");
- sortingWeight=config.readNumEntry("X-KDE-SortingWeight", 1000);
+ defaultTab=config.readEntry("X-TDE-DefaultTab");
+ sortingWeight=config.readNumEntry("X-TDE-SortingWeight", 1000);
//kdDebug() << "name: " << name <<endl;
}
KoTemplateGroup *g=new KoTemplateGroup(name, *it+*tdirIt+TQChar('/'), sortingWeight);
@@ -283,9 +283,9 @@ void KoTemplateTree::readTemplates() {
TQFile::exists(*it+icon)) // allow icons from icontheme
icon=*it+icon;
//kdDebug() << "icon2: " << icon << endl;
- hidden=config.readBoolEntry("X-KDE-Hidden", false);
- defaultTemplate = config.readBoolEntry("X-KDE-DefaultTemplate", false);
- measureSystem=config.readEntry("X-KDE-MeasureSystem").lower();
+ hidden=config.readBoolEntry("X-TDE-Hidden", false);
+ defaultTemplate = config.readBoolEntry("X-TDE-DefaultTemplate", false);
+ measureSystem=config.readEntry("X-TDE-MeasureSystem").lower();
// Don't add a template that is for the wrong measure system
if(measureSystem == dontShow)
@@ -362,7 +362,7 @@ void KoTemplateTree::writeTemplate(KoTemplate *t, KoTemplateGroup *group,
config.writePathEntry("URL", t->file());
config.writeEntry("Name", t->name());
config.writeEntry("Icon", t->picture());
- config.writeEntry("X-KDE-Hidden", t->isHidden());
+ config.writeEntry("X-TDE-Hidden", t->isHidden());
}
namespace KoTemplates {