summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoTemplates.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-13 19:43:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-13 19:43:29 +0900
commit9962acf6ebbadb0004435509e3b6002475d31d08 (patch)
treeb8c38ed4302ef44adcf4c88bfd3dd815dbfc8c04 /lib/kofficecore/KoTemplates.cpp
parenta1d5d51fe58cfdc6bd7e35153fa334c2fdde3354 (diff)
downloadkoffice-9962acf6ebbadb0004435509e3b6002475d31d08.tar.gz
koffice-9962acf6ebbadb0004435509e3b6002475d31d08.zip
Use TDEDesktopFile
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kofficecore/KoTemplates.cpp')
-rw-r--r--lib/kofficecore/KoTemplates.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoTemplates.cpp b/lib/kofficecore/KoTemplates.cpp
index 313d3af4b..b0a54a1c2 100644
--- a/lib/kofficecore/KoTemplates.cpp
+++ b/lib/kofficecore/KoTemplates.cpp
@@ -23,7 +23,7 @@
#include <tqimage.h>
#include <tqprinter.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdesimpleconfig.h>
#include <kdebug.h>
#include <tdeversion.h>
@@ -270,7 +270,7 @@ void KoTemplateTree::readTemplates() {
TQString measureSystem;
// If a desktop file, then read the name from it.
// Otherwise (or if no name in it?) use file name
- if (KDesktopFile::isDesktopFile(filePath)) {
+ if (TDEDesktopFile::isDesktopFile(filePath)) {
TDESimpleConfig config(filePath, true);
config.setDesktopGroup();
if (config.readEntry("Type")=="Link") {