diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-13 19:44:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-13 19:44:55 +0900 |
commit | 717e8bef26be73a9641916fc55cd052d79e13dd0 (patch) | |
tree | ad75b28838b712f49ead6b84e76951d0d596af81 | |
parent | 55172a3718111a4594ffda2f0faf33e71c691abc (diff) | |
download | kshutdown-master.tar.gz kshutdown-master.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kshutdown/extras.cpp | 6 | ||||
-rw-r--r-- | kshutdown/links.cpp | 4 | ||||
-rw-r--r-- | kshutdown/mmainwindow.cpp | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kshutdown/extras.cpp b/kshutdown/extras.cpp index 7a4705c..82448e8 100644 --- a/kshutdown/extras.cpp +++ b/kshutdown/extras.cpp @@ -26,7 +26,7 @@ #include <tqdir.h> #include <kdebug.h> -#include <kdesktopfile.h> +#include <tdedesktopfile.h> #include <kiconloader.h> #include <tdelocale.h> #include <tdemessagebox.h> @@ -141,7 +141,7 @@ void Extras::buildMenu(TDEPopupMenu *parentMenu, const TQString &subdir) TDEPopupMenu *submenu = new TDEPopupMenu(parentMenu, "TDEPopupMenu::submenu"); connect(submenu, TQ_SIGNAL(activated(int)), TQ_SLOT(slotActivated(int))); - KDesktopFile *desktopFile = new KDesktopFile(path + "/.directory", true); + TDEDesktopFile *desktopFile = new TDEDesktopFile(path + "/.directory", true); if (desktopFile->getConfigState() != TDEConfigBase::NoAccess) { icon = desktopFile->readIcon(); @@ -190,7 +190,7 @@ void Extras::buildMenu(TDEPopupMenu *parentMenu, const TQString &subdir) } // application/x-desktop - KDesktopFile *desktopFile = new KDesktopFile(path, true); + TDEDesktopFile *desktopFile = new TDEDesktopFile(path, true); if (desktopFile->getConfigState() != TDEConfigBase::NoAccess) { name = desktopFile->readName(); diff --git a/kshutdown/links.cpp b/kshutdown/links.cpp index 9450cb4..df35fae 100644 --- a/kshutdown/links.cpp +++ b/kshutdown/links.cpp @@ -26,7 +26,7 @@ #include <tqlabel.h> #include <tdeapplication.h> -#include <kdesktopfile.h> +#include <tdedesktopfile.h> #include <tdeglobalsettings.h> #include <kiconloader.h> #include <tdelocale.h> @@ -87,7 +87,7 @@ void Links::createLink(const TQString &path, const TQString &command, const TQSt if (path.isNull()) return; - KDesktopFile *df = new KDesktopFile(path); + TDEDesktopFile *df = new TDEDesktopFile(path); df->setGroup("Desktop Entry"); df->writeEntry("Comment", comment); df->writeEntry("Encoding", "UTF-8"); diff --git a/kshutdown/mmainwindow.cpp b/kshutdown/mmainwindow.cpp index 0333088..9d64aab 100644 --- a/kshutdown/mmainwindow.cpp +++ b/kshutdown/mmainwindow.cpp @@ -53,7 +53,7 @@ #include <tdepopupmenu.h> #include <kpushbutton.h> #include <twin.h> -#include <kdesktopfile.h> +#include <tdedesktopfile.h> #include <kmimetype.h> MMainWindow *MMainWindow::_instance = 0; @@ -101,7 +101,7 @@ MMainWindow::MMainWindow() extrasIcon = TQIconSet(KMimeType::pixmapForURL(KURL::fromPathOrURL(extrasCommand))); else { // application/x-desktop - KDesktopFile *desktopFile = new KDesktopFile(extrasCommand, true); + TDEDesktopFile *desktopFile = new TDEDesktopFile(extrasCommand, true); if (desktopFile->getConfigState() != TDEConfigBase::NoAccess) extrasIcon = TQIconSet(SmallIcon(desktopFile->readIcon())); delete desktopFile; |