From a7573fea30dd6775d4ca17341970a6eb7c833e48 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Sun, 13 Jul 2025 19:43:41 +0900
Subject: Use TDEDesktopFile

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 kiosktool/kcms/autostart/kcmautostart.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/kiosktool/kcms/autostart/kcmautostart.cpp b/kiosktool/kcms/autostart/kcmautostart.cpp
index 03da985..6a075e8 100644
--- a/kiosktool/kcms/autostart/kcmautostart.cpp
+++ b/kiosktool/kcms/autostart/kcmautostart.cpp
@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA.
 
 #include <tdeaboutdata.h>
 #include <tdeapplication.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
 #include <kdialog.h>
 #include <kgenericfactory.h>
 #include <tdelistview.h>
@@ -110,9 +110,9 @@ void AutoStartConfig::load() {
 
     for ( TQStringList::ConstIterator it = files.begin(); it != files.end(); it++ )
     {
-        if ( KDesktopFile::isDesktopFile( TQFileInfo( *it ).fileName() ) )
+        if ( TDEDesktopFile::isDesktopFile( TQFileInfo( *it ).fileName() ) )
         {
-            KDesktopFile file( TQFileInfo( *it ).fileName(), true, "autostart" );
+            TDEDesktopFile file( TQFileInfo( *it ).fileName(), true, "autostart" );
             TQString name = file.readName();
             if ( !name.isEmpty() )
             {
@@ -132,16 +132,16 @@ void AutoStartConfig::save()
     TQListViewItemIterator it( _lvStartup );
     while ( it.current() )
     {
-        if ( KDesktopFile::isDesktopFile( it.current()->text( 3 ) ) )
+        if ( TDEDesktopFile::isDesktopFile( it.current()->text( 3 ) ) )
         {
             // Determine whether we need to change the file on a readonly desktop file
             // by giving a full path first
             TQString path = it.current()->text( 3 );
-            KDesktopFile file( path, true, "services" );
+            TDEDesktopFile file( path, true, "services" );
             bool shouldBeHidden = !( static_cast<TQCheckListItem *>( it.current() )->isOn() );
             if ( file.readBoolEntry( "Hidden", false ) != shouldBeHidden )
             {
-                KDesktopFile outFile( TQFileInfo( path ).fileName(), false, "autostart" );
+                TDEDesktopFile outFile( TQFileInfo( path ).fileName(), false, "autostart" );
                 kdDebug() << "************** Writing out " << path << endl;
                 outFile.writeEntry( "Hidden", shouldBeHidden );
                 outFile.sync();
-- 
cgit v1.2.3

