summaryrefslogtreecommitdiffstats
path: root/lib
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
parenta1d5d51fe58cfdc6bd7e35153fa334c2fdde3354 (diff)
downloadkoffice-9962acf6ebbadb0004435509e3b6002475d31d08.tar.gz
koffice-9962acf6ebbadb0004435509e3b6002475d31d08.zip
Use TDEDesktopFile
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib')
-rw-r--r--lib/kofficecore/KoApplication.cpp4
-rw-r--r--lib/kofficecore/KoDocument.h4
-rw-r--r--lib/kofficecore/KoTemplates.cpp4
-rw-r--r--lib/kofficeui/KoInsertLink.cpp4
4 files changed, 8 insertions, 8 deletions
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 <tdelocale.h>
#include <tdecmdlineargs.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdemessagebox.h>
#include <tdestandarddirs.h>
#include <stdlib.h>
@@ -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 <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") {
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 <kseparator.h>
#include <kiconloader.h>
#include "KoInsertLink.h"
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tderecentdocument.h>
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());
}