diff options
Diffstat (limited to 'vcs/cvsservice/integrator/integratordlg.cpp')
-rw-r--r-- | vcs/cvsservice/integrator/integratordlg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcs/cvsservice/integrator/integratordlg.cpp b/vcs/cvsservice/integrator/integratordlg.cpp index 42ddff6e..6df262b0 100644 --- a/vcs/cvsservice/integrator/integratordlg.cpp +++ b/vcs/cvsservice/integrator/integratordlg.cpp @@ -74,10 +74,10 @@ void IntegratorDlg::init_clicked() if (dlg.exec() == TQDialog::Accepted) { TQString url = initDlg->location->url(); - KProcess *proc = new KProcess(); + TDEProcess *proc = new TDEProcess(); *proc << "cvs"; *proc << "-d" << url << "init"; - proc->start(KProcess::Block); + proc->start(TDEProcess::Block); if (!proc->normalExit()) KMessageBox::error(this, i18n("cvs init did not exit normally. Please check if cvs is installed and works correctly."), i18n("Init CVS Repository")); else if (proc->exitStatus() != 0) @@ -118,13 +118,13 @@ void IntegratorDlg::accept() if (!createModule->isChecked()) return; - KProcess *proc = new KProcess(); + TDEProcess *proc = new TDEProcess(); proc->setWorkingDirectory(m_projectLocation); *proc << "cvs"; *proc << "-d" << repository->currentText() << "import" << "-m" << TQString("\"%1\"").arg(comment->text()) << module->text() << vendorTag->text() << releaseTag->text(); - proc->start(KProcess::Block); + proc->start(TDEProcess::Block); if (!proc->normalExit()) KMessageBox::error(this, i18n("cvs import did not exit normally. Please check if cvs is installed and works correctly."), i18n("Init CVS Repository")); else if (proc->exitStatus() != 0) @@ -138,17 +138,17 @@ void IntegratorDlg::accept() kdDebug() << "Up is: " << up << endl; //delete sources in project dir - KProcess *rmproc = new KProcess(); + TDEProcess *rmproc = new TDEProcess(); *rmproc << "rm"; *rmproc << "-f" << "-r" << m_projectLocation; - rmproc->start(KProcess::Block); + rmproc->start(TDEProcess::Block); //checkout sources from cvs - KProcess *coproc = new KProcess(); + TDEProcess *coproc = new TDEProcess(); coproc->setWorkingDirectory(up); *coproc << "cvs"; *coproc << "-d" << repository->currentText() << "checkout" << "-d" << m_projectName << module->text(); - coproc->start(KProcess::Block); + coproc->start(TDEProcess::Block); } /* TQCString appId; |