summaryrefslogtreecommitdiffstats
path: root/kiosktool/kcms/autostart/kcmautostart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kiosktool/kcms/autostart/kcmautostart.cpp')
-rw-r--r--kiosktool/kcms/autostart/kcmautostart.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kiosktool/kcms/autostart/kcmautostart.cpp b/kiosktool/kcms/autostart/kcmautostart.cpp
index e8bb8aa..6a075e8 100644
--- a/kiosktool/kcms/autostart/kcmautostart.cpp
+++ b/kiosktool/kcms/autostart/kcmautostart.cpp
@@ -28,13 +28,13 @@ 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>
#include <tdemessagebox.h>
#include <kservice.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <dcopclient.h>
#include <dcopref.h>
@@ -110,14 +110,14 @@ 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() )
{
CheckListItem *clitem = new CheckListItem( _lvStartup, TQString() );
- connect( clitem, TQT_SIGNAL( changed( TQCheckListItem * ) ), TQT_SLOT( slotItemChecked( TQCheckListItem * ) ) );
+ connect( clitem, TQ_SIGNAL( changed( TQCheckListItem * ) ), TQ_SLOT( slotItemChecked( TQCheckListItem * ) ) );
clitem->setText( 1, name );
clitem->setText( 2, file.readComment() );
clitem->setText( 3, *it );
@@ -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();
@@ -150,7 +150,7 @@ void AutoStartConfig::save()
++it;
}
- //TQTimer::singleShot(0, this, TQT_SLOT(slotServiceRunningToggled()));
+ //TQTimer::singleShot(0, this, TQ_SLOT(slotServiceRunningToggled()));
}
void AutoStartConfig::defaults()