From c48e769eb275917717e2b55eb869f7e559293ac8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:48:31 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- filesharing/simple/groupconfigdlg.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'filesharing/simple/groupconfigdlg.cpp') 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 & 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 { -- cgit v1.2.1