From 9962acf6ebbadb0004435509e3b6002475d31d08 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 13 Jul 2025 19:43:29 +0900 Subject: Use TDEDesktopFile Signed-off-by: Michele Calgaro --- lib/kofficecore/KoApplication.cpp | 4 ++-- lib/kofficecore/KoDocument.h | 4 ++-- lib/kofficecore/KoTemplates.cpp | 4 ++-- lib/kofficeui/KoInsertLink.cpp | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/kofficecore/KoApplication.cpp b/lib/kofficecore/KoApplication.cpp index b50ab8572..29dc6af1a 100644 --- a/lib/kofficecore/KoApplication.cpp +++ b/lib/kofficecore/KoApplication.cpp @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include @@ -191,7 +191,7 @@ bool KoApplication::start() if ( !paths.isEmpty() ) { KURL templateBase; templateBase.setPath(paths[0]); - KDesktopFile templateInfo(paths[0]); + TDEDesktopFile templateInfo(paths[0]); TQString templateName = templateInfo.readURL(); KURL templateURL; diff --git a/lib/kofficecore/KoDocument.h b/lib/kofficecore/KoDocument.h index f7fc00d98..4f541780a 100644 --- a/lib/kofficecore/KoDocument.h +++ b/lib/kofficecore/KoDocument.h @@ -185,7 +185,7 @@ public: * file it searches for the "X-TDE-NativeMimeType" entry and returns it. * * @see KService - * @see KDesktopFile + * @see TDEDesktopFile */ static TQCString readNativeFormatMimeType( TDEInstance *instance = 0 ); @@ -197,7 +197,7 @@ public: * file it searches for the "X-TDE-ExtraNativeMimeTypes" entry and returns it. * * @see KService - * @see KDesktopFile + * @see TDEDesktopFile */ static TQStringList readExtraNativeMimeTypes( TDEInstance *instance = 0 ); 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 #include -#include +#include #include #include #include @@ -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") { diff --git a/lib/kofficeui/KoInsertLink.cpp b/lib/kofficeui/KoInsertLink.cpp index 94a2ffb75..03609b327 100644 --- a/lib/kofficeui/KoInsertLink.cpp +++ b/lib/kofficeui/KoInsertLink.cpp @@ -31,7 +31,7 @@ #include #include #include "KoInsertLink.h" -#include +#include #include using namespace KOfficePrivate; @@ -471,7 +471,7 @@ fileLinkPage::fileLinkPage( TQWidget *parent , char *name ) lst <<""; for (TQStringList::ConstIterator it = fileList.begin();it != fileList.end(); ++it) { - KDesktopFile f(*it, true /* read only */); + TDEDesktopFile f(*it, true /* read only */); if ( !f.readURL().isEmpty()) lst.append( f.readURL()); } -- cgit v1.2.3