summaryrefslogtreecommitdiffstats
path: root/filesharing/simple/groupconfigdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/simple/groupconfigdlg.cpp')
-rw-r--r--filesharing/simple/groupconfigdlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/filesharing/simple/groupconfigdlg.cpp b/filesharing/simple/groupconfigdlg.cpp
index a57d0f79..86173f2b 100644
--- a/filesharing/simple/groupconfigdlg.cpp
+++ b/filesharing/simple/groupconfigdlg.cpp
@@ -222,9 +222,9 @@ void GroupConfigDlg::slotOk() {
}
bool userMod(const TQString & user, const TQValueList<KUserGroup> & groups) {
- KProcess proc;
+ TDEProcess proc;
proc << "usermod" << "-G" << groupListToString(groups) << user;
- return proc.start(KProcess::Block) && proc.normalExit();
+ return proc.start(TDEProcess::Block) && proc.normalExit();
}
void GroupConfigDlg::slotRemoveUser() {
@@ -381,9 +381,9 @@ bool GroupConfigDlg::deleteGroup(const TQString & s) {
return false;
}
- KProcess proc;
+ TDEProcess proc;
proc << "groupdel" << s;
- bool result = proc.start(KProcess::Block) && proc.normalExit();
+ bool result = proc.start(TDEProcess::Block) && proc.normalExit();
if (!result) {
KMessageBox::sorry(this,i18n("Deleting group '%1' failed.").arg(s));
}
@@ -402,9 +402,9 @@ bool GroupConfigDlg::createFileShareGroup(const TQString & s) {
return false;
//debug("CreateFileShareGroup: "+s);
- KProcess proc;
+ TDEProcess proc;
proc << "groupadd" << s;
- bool result = proc.start(KProcess::Block) && proc.normalExit();
+ bool result = proc.start(TDEProcess::Block) && proc.normalExit();
if (!result) {
KMessageBox::sorry(this,i18n("Creation of group '%1' failed.").arg(s));
} else {