diff options
Diffstat (limited to 'lanbrowsing/kcmlisa/kcmlisa.cpp')
-rw-r--r-- | lanbrowsing/kcmlisa/kcmlisa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lanbrowsing/kcmlisa/kcmlisa.cpp b/lanbrowsing/kcmlisa/kcmlisa.cpp index d977c597..c5892395 100644 --- a/lanbrowsing/kcmlisa/kcmlisa.cpp +++ b/lanbrowsing/kcmlisa/kcmlisa.cpp @@ -289,8 +289,8 @@ void LisaSettings::save() confStream<<"PingNames = "<<writeStuff.latin1()<<"\n"; tmp.close(); TQString suCommand=TQString("cp '%1' '%2'; chmod 644 '%3'; rm -f '%4'").arg(m_tmpFilename).arg(m_configFilename).arg(m_configFilename).arg(m_tmpFilename); - KProcess *proc = new KProcess(); - connect(proc, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(saveDone(KProcess *))); + TDEProcess *proc = new TDEProcess(); + connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(saveDone(TDEProcess *))); *proc<<"tdesu"<<"-c"<<suCommand; TDEApplication::setOverrideCursor(TQt::waitCursor); setEnabled(false); @@ -373,7 +373,7 @@ void LisaSettings::autoSetup() return; } -void LisaSettings::saveDone(KProcess *proc) +void LisaSettings::saveDone(TDEProcess *proc) { unlink(TQFile::encodeName(m_tmpFilename)); TDEApplication::restoreOverrideCursor(); |