|
|
|
@ -94,7 +94,7 @@ void setStartOn(int start) {
|
|
|
|
|
path = ksd->localtdedir()+"env/";
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
KIO::file_move(fileName, KURL( path + fileName.fileName() ));
|
|
|
|
|
TDEIO::file_move(fileName, KURL( path + fileName.fileName() ));
|
|
|
|
|
fileName = path + fileName.fileName();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -111,7 +111,7 @@ typedef KGenericFactory<autostart, TQWidget> autostartFactory;
|
|
|
|
|
K_EXPORT_COMPONENT_FACTORY( kcm_autostart, autostartFactory("kcmautostart"))
|
|
|
|
|
|
|
|
|
|
autostart::autostart(TQWidget *parent, const char *name, const TQStringList&)
|
|
|
|
|
: KCModule(parent, name), myAboutData(0)
|
|
|
|
|
: TDECModule(parent, name), myAboutData(0)
|
|
|
|
|
{
|
|
|
|
|
TQGridLayout * AutostartConfigLayout = new TQGridLayout( this, 1, 1, 11, 6, "AutostartConfigLayout");
|
|
|
|
|
|
|
|
|
@ -281,7 +281,7 @@ void autostart::removeCMD() {
|
|
|
|
|
if (!listCMD->selectedItem())
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
KIO::del(((desktop *)listCMD->selectedItem())->fileName);
|
|
|
|
|
TDEIO::del(((desktop *)listCMD->selectedItem())->fileName);
|
|
|
|
|
|
|
|
|
|
listCMD->takeItem( listCMD->selectedItem() );
|
|
|
|
|
kdDebug() << "Deleting file" << endl;
|
|
|
|
@ -339,7 +339,7 @@ void autostart::save()
|
|
|
|
|
|
|
|
|
|
int autostart::buttons()
|
|
|
|
|
{
|
|
|
|
|
return KCModule::Apply|KCModule::Help;
|
|
|
|
|
return TDECModule::Apply|TDECModule::Help;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|