diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-13 19:44:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-13 19:44:06 +0900 |
commit | 135b9ba7e84c861486fc9eb4ba713677df712285 (patch) | |
tree | bbc5eb5ed149cd58ebcfe6a069d0a3ffe97e035c | |
parent | bdc03f8dd51095cba4bec582c98470026ffb593f (diff) | |
download | dolphin-135b9ba7e84c861486fc9eb4ba713677df712285.tar.gz dolphin-135b9ba7e84c861486fc9eb4ba713677df712285.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/dolphin.cpp | 6 | ||||
-rw-r--r-- | src/dolphincontextmenu.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphin.cpp b/src/dolphin.cpp index 5467209..ce00b64 100644 --- a/src/dolphin.cpp +++ b/src/dolphin.cpp @@ -44,7 +44,7 @@ #include <tdeio/renamedlg.h> #include <kinputdialog.h> #include <kshell.h> -#include <kdesktopfile.h> +#include <tdedesktopfile.h> #include <tdestandarddirs.h> #include <kprotocolinfo.h> #include <tdemessagebox.h> @@ -453,7 +453,7 @@ void Dolphin::createFile() // The source path is part of the URL entry of the desktop file. const int pos = entry.templatePath.findRev('/'); TQString sourcePath(entry.templatePath.left(pos + 1)); - sourcePath += KDesktopFile(entry.templatePath, true).readPathEntry("URL"); + sourcePath += TDEDesktopFile(entry.templatePath, true).readPathEntry("URL"); TQString name(i18n(entry.name.ascii())); // Most entry names end with "..." (e. g. "HTML File..."), which is ok for @@ -1372,7 +1372,7 @@ void Dolphin::setupCreateNewMenuActions() if (path.endsWith("TextFile.txt")) { key = "1" + key; } - else if (!KDesktopFile::isDesktopFile(path)) { + else if (!TDEDesktopFile::isDesktopFile(path)) { key = "2" + key; } else if (path.endsWith("URL.desktop")){ diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 8233c93..853a298 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -32,7 +32,7 @@ #include <kiconloader.h> #include <tdeaction.h> #include <kpropertiesdialog.h> -#include <kdesktopfile.h> +#include <tdedesktopfile.h> #include <assert.h> #include <ksortablevaluelist.h> #include <tdeio/netaccess.h> |