diff options
Diffstat (limited to 'src/newfirstrunwizard.ui.h')
-rw-r--r-- | src/newfirstrunwizard.ui.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/newfirstrunwizard.ui.h b/src/newfirstrunwizard.ui.h index a62d680..26a8fd3 100644 --- a/src/newfirstrunwizard.ui.h +++ b/src/newfirstrunwizard.ui.h @@ -27,7 +27,7 @@ #include <tdeapplication.h> #include <kstandarddirs.h> #include <kurl.h> -#include <kprocio.h> +#include <tdeprocio.h> #include <kdebug.h> #include <dcopref.h> #include <tdeconfig.h> @@ -45,7 +45,7 @@ TorClient* client; -KProcIO *whichproc; +TDEProcIO *whichproc; bool torRunning; bool privoxyRunning; TQString tor; @@ -144,15 +144,15 @@ FirstRunWizard::init() helpButton()->hide(); - whichproc = new KProcIO(); + whichproc = new TDEProcIO(); whichproc->setUseShell(TRUE); TQString whichCommand="ps -C tor;ps -C privoxy"; *whichproc<<whichCommand; - connect( whichproc, TQ_SIGNAL(readReady(KProcIO * )), - TQ_SLOT(processWhich(KProcIO * )) ); - whichproc->start(KProcIO::NotifyOnExit,TRUE); + connect( whichproc, TQ_SIGNAL(readReady(TDEProcIO * )), + TQ_SLOT(processWhich(TDEProcIO * )) ); + whichproc->start(TDEProcIO::NotifyOnExit,TRUE); } @@ -199,7 +199,7 @@ void FirstRunWizard::torStartsManually_toggled( bool state) setAppropriate ( TestingTor , !state ); } -void FirstRunWizard::processWhich(KProcIO *whichproc) +void FirstRunWizard::processWhich(TDEProcIO *whichproc) { TQString item = ""; int pos; @@ -600,22 +600,22 @@ void FirstRunWizard::rootifyNetstat() TQString newnetstat = TQString(netstat).replace("netstat","torknetstat"); - KProcIO *catproc = new KProcIO(); + TDEProcIO *catproc = new TDEProcIO(); catproc->setUseShell(TRUE); TQString whichCommand= TQString("tdesu -t -c 'cp %1 %2;chmod u+s %3'").arg(netstat).arg(newnetstat).arg(newnetstat); *catproc<<whichCommand; - catproc->start(KProcIO::NotifyOnExit,TRUE); + catproc->start(TDEProcIO::NotifyOnExit,TRUE); } void FirstRunWizard::sighupTor(const TQString& text) { - KProcIO *catproc = new KProcIO(); + TDEProcIO *catproc = new TDEProcIO(); catproc->setUseShell(TRUE); TQString whichCommand= TQString("killall -s HUP %1").arg(text); *catproc<<whichCommand; - catproc->start(KProcIO::NotifyOnExit,TRUE); + catproc->start(TDEProcIO::NotifyOnExit,TRUE); } @@ -645,12 +645,12 @@ void FirstRunWizard::appendControlDirective(const TQString& text) }else{ TQString directory = KURL(text).directory(); - KProcIO *catproc = new KProcIO(); + TDEProcIO *catproc = new TDEProcIO(); catproc->setUseShell(TRUE); TQString whichCommand= TQString("tdesu -c \"sh -c 'mkdir -p %1;printf \\\"ControlPort 9051\\n\\\"" " >> %2;killall -s HUP tor'\"").arg(directory).arg(text); *catproc<<whichCommand; - catproc->start(KProcIO::NotifyOnExit,TRUE); + catproc->start(TDEProcIO::NotifyOnExit,TRUE); //-c "sh -c 'printf \"ControlPort 9051\n\" >> /etc/tor/torrc'" } @@ -758,14 +758,14 @@ void FirstRunWizard::appendPrivoxyConfig(const TQString& text) }else{ - KProcIO *catproc = new KProcIO(); + TDEProcIO *catproc = new TDEProcIO(); catproc->setUseShell(TRUE); TQString whichCommand= TQString("tdesu -c \"sh -c 'printf \\\"%1\\\"" " >> %2;killall -s HUP privoxy'\"") .arg(privoxyConf) .arg(text); *catproc<<whichCommand; - catproc->start(KProcIO::NotifyOnExit,TRUE); + catproc->start(TDEProcIO::NotifyOnExit,TRUE); } |