diff options
Diffstat (limited to 'lanbrowsing/kcmlisa')
-rw-r--r-- | lanbrowsing/kcmlisa/kcmlisa.cpp | 6 | ||||
-rw-r--r-- | lanbrowsing/kcmlisa/kcmlisa.h | 4 |
2 files changed, 5 insertions, 5 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(); diff --git a/lanbrowsing/kcmlisa/kcmlisa.h b/lanbrowsing/kcmlisa/kcmlisa.h index 5ee12b1c..51815906 100644 --- a/lanbrowsing/kcmlisa/kcmlisa.h +++ b/lanbrowsing/kcmlisa/kcmlisa.h @@ -28,7 +28,7 @@ class TQPushButton; class TQCheckBox; class TQSpinBox; class TQPushButton; -class KProcess; +class TDEProcess; class KDialogBase; class KRestrictedLine; class KEditListBox; @@ -48,7 +48,7 @@ class LisaSettings:public KCModule protected slots: void slotChanged(); void autoSetup(); - void saveDone(KProcess *); // called after the tdesud returns (on save) + void saveDone(TDEProcess *); // called after the tdesud returns (on save) void suggestSettings(); protected: KConfig m_config; |