summaryrefslogtreecommitdiffstats
path: root/kicker
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-13 19:55:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-13 19:55:30 +0900
commit16652efd0f5da6775487e6796493785d2602717d (patch)
tree745f15449146331a2abcb7da7fc8bddd2f29d574 /kicker
parent51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3 (diff)
downloadtdebase-16652efd0f5da6775487e6796493785d2602717d.tar.gz
tdebase-16652efd0f5da6775487e6796493785d2602717d.zip
Use TDEDesktopFile
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kicker')
-rw-r--r--kicker/applets/launcher/quickaddappsmenu.cpp2
-rw-r--r--kicker/applets/launcher/quickbutton.cpp2
-rw-r--r--kicker/applets/media/mediumbutton.cpp2
-rw-r--r--kicker/kicker/buttons/nontdeappbutton.cpp6
-rw-r--r--kicker/kicker/buttons/servicebutton.cpp4
-rw-r--r--kicker/kicker/buttons/urlbutton.cpp10
-rw-r--r--kicker/kicker/core/container_extension.cpp4
-rw-r--r--kicker/kicker/core/containerarea.cpp4
-rw-r--r--kicker/kicker/ui/browser_mnu.cpp4
-rw-r--r--kicker/kicker/ui/itemview.cpp14
-rw-r--r--kicker/kicker/ui/k_new_mnu.cpp32
-rw-r--r--kicker/kicker/ui/service_mnu.cpp6
-rw-r--r--kicker/libkicker/appletinfo.cpp4
-rw-r--r--kicker/menuext/recentdocs/recentdocsmenu.cpp6
-rw-r--r--kicker/menuext/remote/remotemenu.cpp4
-rw-r--r--kicker/menuext/tom/tom.cpp2
16 files changed, 53 insertions, 53 deletions
diff --git a/kicker/applets/launcher/quickaddappsmenu.cpp b/kicker/applets/launcher/quickaddappsmenu.cpp
index 69c65864f..40957c44f 100644
--- a/kicker/applets/launcher/quickaddappsmenu.cpp
+++ b/kicker/applets/launcher/quickaddappsmenu.cpp
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************************************/
#include <tdestandarddirs.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdeglobalsettings.h>
#include <tdesycocaentry.h>
#include <kservice.h>
diff --git a/kicker/applets/launcher/quickbutton.cpp b/kicker/applets/launcher/quickbutton.cpp
index 7c8186ce5..e7226c8a4 100644
--- a/kicker/applets/launcher/quickbutton.cpp
+++ b/kicker/applets/launcher/quickbutton.cpp
@@ -32,7 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tdeactionclasses.h>
#include <kickertip.h>
#include <tdelocale.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <krun.h>
#include <kiconeffect.h>
#include <tdeglobalsettings.h>
diff --git a/kicker/applets/media/mediumbutton.cpp b/kicker/applets/media/mediumbutton.cpp
index be75a3d40..4cc27ffe8 100644
--- a/kicker/applets/media/mediumbutton.cpp
+++ b/kicker/applets/media/mediumbutton.cpp
@@ -30,7 +30,7 @@
#include <tdemessagebox.h>
#include <kmimetype.h>
#include <tdelocale.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <krun.h>
#include <tdeglobalsettings.h>
#include <kcursor.h>
diff --git a/kicker/kicker/buttons/nontdeappbutton.cpp b/kicker/kicker/buttons/nontdeappbutton.cpp
index 4b6af8ce1..eb4d1396d 100644
--- a/kicker/kicker/buttons/nontdeappbutton.cpp
+++ b/kicker/kicker/buttons/nontdeappbutton.cpp
@@ -25,7 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqdragobject.h>
#include <tdeconfig.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdeapplication.h>
#include <tdeglobal.h>
#include <krun.h>
@@ -174,11 +174,11 @@ void NonKDEAppButton::dropEvent(TQDropEvent *ev)
++it)
{
const KURL &url(*it);
- if (KDesktopFile::isDesktopFile(url.path()))
+ if (TDEDesktopFile::isDesktopFile(url.path()))
{
// this URL is actually a .desktop file, so let's grab
// the URL it actually points to ...
- KDesktopFile deskFile(url.path());
+ TDEDesktopFile deskFile(url.path());
deskFile.setDesktopGroup();
// ... and add it to the exec string
diff --git a/kicker/kicker/buttons/servicebutton.cpp b/kicker/kicker/buttons/servicebutton.cpp
index f6062854b..2c392d29e 100644
--- a/kicker/kicker/buttons/servicebutton.cpp
+++ b/kicker/kicker/buttons/servicebutton.cpp
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqdragobject.h>
#include <tqtooltip.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdelocale.h>
#include <kiconeffect.h>
#include <kicontheme.h>
@@ -92,7 +92,7 @@ void ServiceButton::loadServiceFromId(const TQString &id)
_id = locate("appdata", id.mid(1));
if (!_id.isEmpty())
{
- KDesktopFile df(_id, true);
+ TDEDesktopFile df(_id, true);
_service = new KService(&df);
}
}
diff --git a/kicker/kicker/buttons/urlbutton.cpp b/kicker/kicker/buttons/urlbutton.cpp
index cc9bfb0c6..afdf90fa9 100644
--- a/kicker/kicker/buttons/urlbutton.cpp
+++ b/kicker/kicker/buttons/urlbutton.cpp
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqtooltip.h>
#include <tqfile.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdefileitem.h>
#include <konq_operations.h>
#include <kicontheme.h>
@@ -71,7 +71,7 @@ void URLButton::initialize( const TQString& _url )
if (!url.isLocalFile() || !url.path().endsWith(".desktop"))
{
TQString file = KickerLib::newDesktopFile(url);
- KDesktopFile df(file);
+ TDEDesktopFile df(file);
df.writeEntry("Encoding", "UTF-8");
df.writeEntry("Type","Link");
df.writeEntry("Name", url.prettyURL());
@@ -107,9 +107,9 @@ void URLButton::saveConfig( TDEConfigGroup& config ) const
void URLButton::setToolTip()
{
if (fileItem->isLocalFile()
- && KDesktopFile::isDesktopFile(fileItem->url().path()))
+ && TDEDesktopFile::isDesktopFile(fileItem->url().path()))
{
- KDesktopFile df(fileItem->url().path());
+ TDEDesktopFile df(fileItem->url().path());
if (df.readComment().isEmpty())
{
@@ -145,7 +145,7 @@ void URLButton::dropEvent(TQDropEvent *ev)
if(KURLDrag::decode(ev, execList)){
KURL url( fileItem->url() );
if(!execList.isEmpty()) {
- if (KDesktopFile::isDesktopFile(url.path())){
+ if (TDEDesktopFile::isDesktopFile(url.path())){
TDEApplication::startServiceByDesktopPath(url.path(), execList.toStringList(),
0, 0, 0, "", true);
}
diff --git a/kicker/kicker/core/container_extension.cpp b/kicker/kicker/core/container_extension.cpp
index 66fbfce79..a58b006ee 100644
--- a/kicker/kicker/core/container_extension.cpp
+++ b/kicker/kicker/core/container_extension.cpp
@@ -40,7 +40,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <dcopclient.h>
#include <tdeconfig.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdeglobal.h>
#include <kicker.h>
#include <tdestandarddirs.h>
@@ -387,7 +387,7 @@ void ExtensionContainer::showPanelMenu( const TQPoint& globalPos )
if (!_opMnu)
{
- KDesktopFile f(TDEGlobal::dirs()->findResource("extensions", _info.desktopFile()));
+ TDEDesktopFile f(TDEGlobal::dirs()->findResource("extensions", _info.desktopFile()));
_opMnu = new PanelExtensionOpMenu(f.readName(),
m_extension ? m_extension->actions() : 0,
this);
diff --git a/kicker/kicker/core/containerarea.cpp b/kicker/kicker/core/containerarea.cpp
index f3d80cc2b..cb61b16e8 100644
--- a/kicker/kicker/core/containerarea.cpp
+++ b/kicker/kicker/core/containerarea.cpp
@@ -38,7 +38,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tdestandarddirs.h>
#include <kurl.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kiconloader.h>
#include <kmimetype.h>
#include <tdeprocess.h>
@@ -1322,7 +1322,7 @@ void ContainerArea::dropEvent(TQDropEvent *ev)
{
// a local desktop file being dragged from an external program.
// Make a copy first.
- KDesktopFile df(url.path());
+ TDEDesktopFile df(url.path());
KURL newUrl;
newUrl.setPath(KickerLib::copyDesktopFile(url));
if (df.readType() == "Link")
diff --git a/kicker/kicker/ui/browser_mnu.cpp b/kicker/kicker/ui/browser_mnu.cpp
index 85f5c74cc..a3dad738d 100644
--- a/kicker/kicker/ui/browser_mnu.cpp
+++ b/kicker/kicker/ui/browser_mnu.cpp
@@ -26,7 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tdeapplication.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdirwatch.h>
#include <tdefileitem.h>
#include <tdeglobal.h>
@@ -237,7 +237,7 @@ void PanelBrowserMenu::initialize()
bool mimecheck = false;
// .desktop files
- if(KDesktopFile::isDesktopFile(path))
+ if(TDEDesktopFile::isDesktopFile(path))
{
TDESimpleConfig c(path, true);
c.setDesktopGroup();
diff --git a/kicker/kicker/ui/itemview.cpp b/kicker/kicker/ui/itemview.cpp
index aef71d84f..873fbaa9f 100644
--- a/kicker/kicker/ui/itemview.cpp
+++ b/kicker/kicker/ui/itemview.cpp
@@ -837,7 +837,7 @@ KMenuItem* ItemView::insertDocumentItem(const TQString& s, int nId, int nIndex,
KMenuItem* ItemView::insertRecentlyItem(const TQString& s, int nId, int nIndex)
{
- KDesktopFile f(s, true /* read only */);
+ TDEDesktopFile f(s, true /* read only */);
KMenuItem* newItem = findItem(nId);
@@ -1056,7 +1056,7 @@ TQDragObject * ItemView::dragObject()
TQString uri = kitem->path();
if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
- KDesktopFile df(uri,true);
+ TDEDesktopFile df(uri,true);
uri=df.readURL();
}
@@ -1153,9 +1153,9 @@ bool KMenuItemDrag::decode(const TQMimeSource* e, KMenuItemInfo& item)
TQString url = *it;
kdDebug () << "Url " << url << endl;
item.m_path = KURL( url ).path();
- if ( KDesktopFile::isDesktopFile( item.m_path ) )
+ if ( TDEDesktopFile::isDesktopFile( item.m_path ) )
{
- KDesktopFile df( item.m_path, true );
+ TDEDesktopFile df( item.m_path, true );
item.m_description = df.readGenericName();
item.m_icon = df.readIcon();
item.m_title = df.readName();
@@ -1215,13 +1215,13 @@ bool FavoritesItemView::acceptDrag (TQDropEvent* event) const
TQString uri = item.m_path;
if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
- KDesktopFile df(uri,true);
+ TDEDesktopFile df(uri,true);
uri=df.readURL();
}
for (it = favs.begin(); it != favs.end(); ++it) {
if ((*it)[0]=='/') {
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==uri)
break;
}
@@ -1243,7 +1243,7 @@ bool FavoritesItemView::acceptDrag (TQDropEvent* event) const
TQStringList::Iterator it;
for (it = favs.begin(); it != favs.end(); ++it) {
if ((*it)[0]=='/') {
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==text)
break;
}
diff --git a/kicker/kicker/ui/k_new_mnu.cpp b/kicker/kicker/ui/k_new_mnu.cpp
index 5549bcf42..324c46f0e 100644
--- a/kicker/kicker/ui/k_new_mnu.cpp
+++ b/kicker/kicker/ui/k_new_mnu.cpp
@@ -1284,7 +1284,7 @@ void KMenu::initialize()
for (TQStringList::ConstIterator it = favs.begin(); it != favs.end(); ++it)
{
if ((*it)[0]=='/') {
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
TQString url = df.readURL();
if (!KURL(url).isLocalFile() || TQFile::exists(url.replace("file://",TQString())))
m_favoriteView->insertItem(df.readIcon(),df.readName(),df.readGenericName(), url, nId++, index++);
@@ -2789,7 +2789,7 @@ void KMenu::slotContextMenuRequested( TQListViewItem * item, const TQPoint & pos
m_popupPath.icon = kitem->icon();
if (m_popupPath.path.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
- KDesktopFile df(m_popupPath.path,true);
+ TDEDesktopFile df(m_popupPath.path,true);
m_popupPath.path=df.readURL();
}
}
@@ -2822,7 +2822,7 @@ void KMenu::slotContextMenuRequested( TQListViewItem * item, const TQPoint & pos
{
if ((*it)[0]=='/')
{
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==m_popupPath.path)
break;
}
@@ -2954,7 +2954,7 @@ void KMenu::slotContextMenu(int selected)
job->setDefaultPermissions( true );
}
else {
- KDesktopFile* df = new KDesktopFile( newDesktopFile(KURL(m_popupPath.path), TDEGlobalSettings::desktopPath() ) );
+ TDEDesktopFile* df = new TDEDesktopFile( newDesktopFile(KURL(m_popupPath.path), TDEGlobalSettings::desktopPath() ) );
df->writeEntry("GenericName", m_popupPath.description);
df->writeEntry( "Icon", m_popupPath.icon );
df->writePathEntry( "URL", m_popupPath.path );
@@ -2997,7 +2997,7 @@ void KMenu::slotContextMenu(int selected)
case AddMenuToDesktop: {
accept();
- KDesktopFile *df = new KDesktopFile( newDesktopFile(KURL("programs:/"+m_popupPath.menuPath),TDEGlobalSettings::desktopPath()));
+ TDEDesktopFile *df = new TDEDesktopFile( newDesktopFile(KURL("programs:/"+m_popupPath.menuPath),TDEGlobalSettings::desktopPath()));
df->writeEntry( "Icon", m_popupPath.icon );
df->writePathEntry( "URL", "programs:/"+m_popupPath.menuPath );
df->writeEntry( "Name", m_popupPath.title );
@@ -3025,14 +3025,14 @@ void KMenu::slotContextMenu(int selected)
TQStringList::Iterator it;
for (it = favs.begin(); it != favs.end(); ++it) {
if ((*it)[0]=='/') {
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==m_popupPath.path)
break;
}
}
if (it==favs.end()) {
TQString file = KickerLib::newDesktopFile(m_popupPath.path);
- KDesktopFile df(file);
+ TDEDesktopFile df(file);
df.writeEntry("Encoding", "UTF-8");
df.writeEntry("Type","Link");
df.writeEntry("Name", m_popupPath.title);
@@ -3067,7 +3067,7 @@ void KMenu::slotContextMenu(int selected)
else {
for (TQStringList::Iterator it = favs.begin(); it != favs.end(); ++it) {
if ((*it)[0]=='/') {
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==m_popupPath.path) {
TQFile::remove((*it));
favs.erase(it);
@@ -3311,7 +3311,7 @@ void KMenu::searchActionClicked(TQListViewItem* item)
list << "kurisearchfilter" << "kuriikwsfilter";
if( !KURIFilter::self()->filterURI(data, list) ) {
- KDesktopFile file("searchproviders/google.desktop", true, "services");
+ TDEDesktopFile file("searchproviders/google.desktop", true, "services");
data.setData(file.readEntry("Query").replace("\\{@}", m_kcommand->currentText()));
}
@@ -3420,7 +3420,7 @@ void KMenu::slotFavoritesMoved( TQListViewItem* item, TQListViewItem* /*afterFir
{
if ((*it)[0]=='/')
{
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==kitem->path())
{
addFav = *it;
@@ -3445,7 +3445,7 @@ void KMenu::slotFavoritesMoved( TQListViewItem* item, TQListViewItem* /*afterFir
{
if ((*it)[0]=='/' && !kafterNow->service())
{
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==kafterNow->path())
{
kdDebug() << "insert after " << kafterNow->path() << endl;
@@ -3615,7 +3615,7 @@ void KMenu::slotFavDropped(TQDropEvent * ev, TQListViewItem *after )
{
TQString uri = item.m_path;
if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
- KDesktopFile df(uri,true);
+ TDEDesktopFile df(uri,true);
uri=df.readURL();
}
@@ -3624,7 +3624,7 @@ void KMenu::slotFavDropped(TQDropEvent * ev, TQListViewItem *after )
{
if ((*it)[0]=='/')
{
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==uri)
break;
}
@@ -3632,7 +3632,7 @@ void KMenu::slotFavDropped(TQDropEvent * ev, TQListViewItem *after )
if (it==favs.end())
{
TQString file = KickerLib::newDesktopFile(uri);
- KDesktopFile df(file);
+ TDEDesktopFile df(file);
df.writeEntry("Encoding", "UTF-8");
df.writeEntry("Type","Link");
df.writeEntry("Name", item.m_title);
@@ -3666,7 +3666,7 @@ void KMenu::slotFavDropped(TQDropEvent * ev, TQListViewItem *after )
{
if ((*it)[0]=='/')
{
- KDesktopFile df((*it),true);
+ TDEDesktopFile df((*it),true);
if (df.readURL().replace("file://",TQString())==text)
break;
}
@@ -3677,7 +3677,7 @@ void KMenu::slotFavDropped(TQDropEvent * ev, TQListViewItem *after )
KURL kurl(text);
TQString file = KickerLib::newDesktopFile(text);
- KDesktopFile df(file);
+ TDEDesktopFile df(file);
df.writeEntry("Encoding", "UTF-8");
df.writeEntry("Type","Link");
df.writeEntry("Name", item->name());
diff --git a/kicker/kicker/ui/service_mnu.cpp b/kicker/kicker/ui/service_mnu.cpp
index f18816d69..59d63e533 100644
--- a/kicker/kicker/ui/service_mnu.cpp
+++ b/kicker/kicker/ui/service_mnu.cpp
@@ -33,7 +33,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tdeapplication.h>
#include <tdestandarddirs.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdeglobalsettings.h>
#include <kiconloader.h>
#include <tdelocale.h>
@@ -672,7 +672,7 @@ void PanelServiceMenu::slotContextMenu(int selected)
KURL src,dest;
TDEIO::CopyJob *job;
- KDesktopFile *df;
+ TDEDesktopFile *df;
switch (selected) {
case AddItemToDesktop:
@@ -718,7 +718,7 @@ void PanelServiceMenu::slotContextMenu(int selected)
dest.setPath( TDEGlobalSettings::desktopPath() );
dest.setFileName( g->caption() );
- df = new KDesktopFile( dest.path() );
+ df = new TDEDesktopFile( dest.path() );
df->writeEntry( "Icon", g->icon() );
df->writePathEntry( "URL", "programs:/"+g->name() );
df->writeEntry( "Name", g->caption() );
diff --git a/kicker/libkicker/appletinfo.cpp b/kicker/libkicker/appletinfo.cpp
index 73a13749f..0e8b70994 100644
--- a/kicker/libkicker/appletinfo.cpp
+++ b/kicker/libkicker/appletinfo.cpp
@@ -22,7 +22,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************************************/
#include <tqfileinfo.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdeapplication.h>
#include "appletinfo.h"
@@ -53,7 +53,7 @@ AppletInfo::AppletInfo( const TQString& deskFile, const TQString& configFile, co
break;
}
- KDesktopFile df(m_desktopFile, true, resource);
+ TDEDesktopFile df(m_desktopFile, true, resource);
// set the appletssimple attributes
setName(df.readName());
diff --git a/kicker/menuext/recentdocs/recentdocsmenu.cpp b/kicker/menuext/recentdocs/recentdocsmenu.cpp
index 65834db13..df583f3f3 100644
--- a/kicker/menuext/recentdocs/recentdocsmenu.cpp
+++ b/kicker/menuext/recentdocs/recentdocsmenu.cpp
@@ -29,7 +29,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <kiconloader.h>
#include <kmimetype.h>
#include <tdelocale.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <tdeglobalsettings.h>
#include <tdeapplication.h>
#include <kurldrag.h>
@@ -67,7 +67,7 @@ void RecentDocsMenu::initialize() {
char alreadyPresentInMenu;
TQStringList previousEntries;
for (TQStringList::ConstIterator it = _fileList.begin(); it != _fileList.end(); ++it) {
- KDesktopFile f(*it, true /* read only */);
+ TDEDesktopFile f(*it, true /* read only */);
// Make sure this entry is not already present in the menu
alreadyPresentInMenu = 0;
@@ -128,7 +128,7 @@ void RecentDocsMenu::mouseMoveEvent(TQMouseEvent* e) {
if (id < 0)
return;
- KDesktopFile f(_fileList[id], true /* read only */);
+ TDEDesktopFile f(_fileList[id], true /* read only */);
KURL url ( f.readURL() );
diff --git a/kicker/menuext/remote/remotemenu.cpp b/kicker/menuext/remote/remotemenu.cpp
index c01c7aa24..b9556a15a 100644
--- a/kicker/menuext/remote/remotemenu.cpp
+++ b/kicker/menuext/remote/remotemenu.cpp
@@ -24,7 +24,7 @@
#include <tdestandarddirs.h>
#include <krun.h>
#include <kiconloader.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kservice.h>
#include <tqpixmap.h>
@@ -97,7 +97,7 @@ void RemoteMenu::initialize()
{
names_found.append(*name);
TQString filename = *dirpath+*name;
- KDesktopFile desktop(filename);
+ TDEDesktopFile desktop(filename);
id = insertItem(SmallIcon(desktop.readIcon()), desktop.readName());
m_desktopMap[id] = filename;
}
diff --git a/kicker/menuext/tom/tom.cpp b/kicker/menuext/tom/tom.cpp
index bbae60622..5f42bd0f0 100644
--- a/kicker/menuext/tom/tom.cpp
+++ b/kicker/menuext/tom/tom.cpp
@@ -237,7 +237,7 @@ void TOM::initializeRecentDocs()
* TODO: make the number of visible items configurable?
*/
- KDesktopFile f(*it, true /* read only */);
+ TDEDesktopFile f(*it, true /* read only */);
m_recentDocsMenu->insertItem(DesktopIcon(f.readIcon(), TDEIcon::SizeMedium),
f.readName().replace('&', "&&"), id);
++id;