summaryrefslogtreecommitdiffstats
path: root/parts
diff options
context:
space:
mode:
Diffstat (limited to 'parts')
-rw-r--r--parts/tools/kapplicationtree.cpp2
-rw-r--r--parts/tools/tools_part.cpp6
-rw-r--r--parts/tools/toolsconfig.cpp4
-rw-r--r--parts/tools/toolsconfigwidget.cpp8
4 files changed, 10 insertions, 10 deletions
diff --git a/parts/tools/kapplicationtree.cpp b/parts/tools/kapplicationtree.cpp
index 784c4ce9..cd587e96 100644
--- a/parts/tools/kapplicationtree.cpp
+++ b/parts/tools/kapplicationtree.cpp
@@ -36,7 +36,7 @@
#include <tdeapplication.h>
#include <kbuttonbox.h>
#include <kcombobox.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdialog.h>
#include <tdeglobal.h>
#include <klineedit.h>
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index 8dabccbd..66fd442b 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -11,7 +11,7 @@
#include <tdeapplication.h>
#include <tdeconfig.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdialogbase.h>
#include <kiconloader.h>
#include <tdelocale.h>
@@ -98,7 +98,7 @@ void ToolsPart::updateMenu()
{
TQString name = *it;
- KDesktopFile df(name, true);
+ TDEDesktopFile df(name, true);
if (df.readName().isNull())
continue;
@@ -183,7 +183,7 @@ void ToolsPart::updateToolsMenu()
this, TQ_SLOT(toolsMenuActivated()),
(TQObject*) 0, menutext.utf8());
if (isdesktopfile) {
- KDesktopFile df(config->readPathEntry("CommandLine"));
+ TDEDesktopFile df(config->readPathEntry("CommandLine"));
action->setIcon(df.readIcon());
}
actions.append(action);
diff --git a/parts/tools/toolsconfig.cpp b/parts/tools/toolsconfig.cpp
index adb2ab2f..bedbd59f 100644
--- a/parts/tools/toolsconfig.cpp
+++ b/parts/tools/toolsconfig.cpp
@@ -8,7 +8,7 @@
#include <tqheader.h>
#include <tdeapplication.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdialog.h>
#include <kiconloader.h>
#include <tdelocale.h>
@@ -100,7 +100,7 @@ void ToolsConfig::fill()
void ToolsConfig::add(const TQString &desktopFile)
{
- KDesktopFile df(desktopFile, true);
+ TDEDesktopFile df(desktopFile, true);
if (df.readName().isEmpty())
return;
diff --git a/parts/tools/toolsconfigwidget.cpp b/parts/tools/toolsconfigwidget.cpp
index 22d705c2..bfc9efbe 100644
--- a/parts/tools/toolsconfigwidget.cpp
+++ b/parts/tools/toolsconfigwidget.cpp
@@ -19,7 +19,7 @@
#include <tdeconfig.h>
#include <tdeversion.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kiconloader.h>
#include <tdemessagebox.h>
#include <kurl.h>
@@ -113,7 +113,7 @@ void ToolsConfigWidget::fillListBox(TQListBox *lb, const TQDict<ToolsConfigEntry
for (; it.current(); ++it) {
ToolsConfigEntry *entry = it.current();
if (entry->isdesktopfile) {
- KDesktopFile df(entry->cmdline);
+ TDEDesktopFile df(entry->cmdline);
lb->insertItem(SmallIcon(df.readIcon()), entry->menutext);
} else {
lb->insertItem(entry->menutext);
@@ -259,8 +259,8 @@ bool ToolsConfigWidget::eventFilter(TQObject *o, TQEvent *e)
if (KURLDrag::decode(de, fileList)) {
KURL::List::ConstIterator it;
for (it = fileList.begin(); it != fileList.end(); ++it) {
- if ((*it).isLocalFile() && KDesktopFile::isDesktopFile((*it).path())) {
- KDesktopFile df((*it).path());
+ if ((*it).isLocalFile() && TDEDesktopFile::isDesktopFile((*it).path())) {
+ TDEDesktopFile df((*it).path());
ToolsConfigEntry *entry = new ToolsConfigEntry;
entry->menutext = df.readName();
entry->cmdline = (*it).path();