Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 38332b217c
commit bc6bcbf49f

@ -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;
}

@ -33,7 +33,7 @@
#include <tqpushbutton.h>
#include <tqcombobox.h>
class autostart: public KCModule
class autostart: public TDECModule
{
Q_OBJECT

Loading…
Cancel
Save